nvta
September 11, 2009, 6:11pm
1
To compile the examples with gcc 4.4 i have had to comment the following three lines in /usr/local/cuda/include/math_functions.h
extern host device int __signbit(double) __THROW;
extern host device int __signbitf(float) __THROW;
extern host device int __signbitl(long double) __THROW;
So far, it just works. Is this fix correct or would it lead to really weird problems?
OS: opensuse 11.2M6
cudadriver_2.3_linux_64_190.18.run
cudasdk_2.3_linux.run
cudatoolkit_2.3_linux_64_suse11.1.run
jsnark
September 13, 2009, 9:11pm
2
I tried this and it mostly works for me too, except 16 of the examples fail to compile with the error:
/usr/bin/ld: cannot find -lglut
Where can I get a 64 bit version of this library?
jsnark
September 14, 2009, 3:13pm
4
Freeglut did the trick. Thanx.
Works very well for me (RHEL 5.3, 64-bits).
If you installed the GCC 4.4.x by yourself (for getting access to openmp External Image ), do not forget to have the corresponding libstdc++ libraries into your LD_LIBRARY_PATH, else you will get into troubles !!!
Thanks !