From: Lars B. <lar...@go...> - 2008-01-22 21:40:07
|
Hi, I got an error while buiding visual-4.beta24 on my Gentoo amd64 system (core2 duo). The relevant part of build.log is: ./core/util/icososphere.cpp: In function 'float* cvisual::<unnamed>::avgptr(float*, float*)': ./core/util/icososphere.cpp:71: error: cast from 'float*' to 'int' loses precision I'm not a C++ expert but I think it is due to the different size of pointers on 64bit architectures. For me the attached patch worked. Maybe, there is a much better way to do it, but now it builds fine and the examples are working. I still get some strange 'segmentation fault's after a while or when closing the window. But those I got even more often with visual-3.2.9 and they may be due to the new ati driver which is not really stable. Now that I can test it, I have to say that I really like it. It was always a cool thing to make 3D animation with just a few lines. But now it looks even better and there are no more confusions with numpy vs. Numeric. Greetings, Lars |