I just compiled osgCompute trunk with the latest OSG trunk and Cuda 4.0
on a 64-bit machine with gcc/g++ 4.4.
I had to make some minor changes, I think the diff below should be OK to
notice them. gl->GL for case sensitive Linux and cstring or string.h is
needed for memcpy.
Also, I had to manually set the path to the cudart library to point to
lib64 (/usr/local/cuda/lib64/libcudart.so) on my machine instead of lib.
I think this probably needs to be fixed in FindCUDA, but I can't look at
$ svn diff
--- src/osgCuda/Computation.cpp (revision 426)
+++ src/osgCuda/Computation.cpp (working copy)
@@ -1,4 +1,4 @@
--- examples/osgGeometryDemo/src/Warp.cpp (revision 426)
+++ examples/osgGeometryDemo/src/Warp.cpp (working copy)
@@ -12,6 +12,7 @@
* The full license is in LICENSE file included with this distribution.
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.
Post generated by Mail2Forum