Cuda
From Ghoulwiki
Revision as of 23:59, 28 November 2009 by Ghoulsblade (talk | contribs)
troubleshooting
- compiling cuda samples : error message "... cannot be declared weak" : gcc-4.4 is not supported,
- http://carlosscheidegger.wordpress.com/2009/11/16/cuda-2-3-on-ubuntu-9-10/
- add “–compiler-bindir=/usr/bin/gcc-4.3″ to NVCCFLAGS in your makefiles
- cuda/shared/common.mk
- cuda//C/common/common.mk
- running example : segfault
- cuda driver not installed ?
- try : make emu=1
- error : /usr/bin/ld: cannot find -lglut
- solution : apt-get install libglut3-dev
- error (during launch) : error while loading shared libraries: libcudart.so.2: cannot open shared object file: No such file or directory
- solution : /etc/ld.so.conf
- add line : /usr/local/cuda/lib
- start /sbin/ldconfig