Hi,
Art Tevs wrote:
Hi J.P.,
thanks. Changes merged and submitted to svn. I've changed also
FOUND_CUDART to search also in lib64 path. You can check if it works
for you.
problem is that I have
/usr/local/cuda/lib64
and
/usr/local/cuda/lib
both installed by cuda 64 bit toolkit. So cmake still finds
/usr/local/cuda/lib which is 32-bit and I get:
Linking CXX shared module ../../../lib/osgppu_cudakernel.so
/usr/local/cuda/lib/libcudart.so: could not read symbols: File in wrong
format
I'm not sure if cmake can know which one lib64/lib is appropriate? If I
change the search order in FindCuda, lib64 before lib, it works, but I'm
not sure this is the right way.
rgds
jp
cheers, art
--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean. MailScanner thanks Transtec Computers for their support.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org