Re: [osg-users] [osgCompute] trunk compile

2011-10-05 Thread Bart Postma
I also made a comment on the 'gl - GL' and the '#include cstring' in my post at http://forum.openscenegraph.org/viewtopic.php?t=9112 The reply of one of the developers is: The most recent test we did is with OSG Library 3.1.0 (developer version). It runs with no problems. Also, I had to

Re: [osg-users] [osgCompute] trunk compile

2011-10-05 Thread Mick Keller
Hi JP, thanks a lot for the diff. We will include it into the source soon. The problem with the FindCuda-script is that we actually just tested it with 32 Bit machines. We need to take a closer look at this. Thank you! Best regards, Mick SVT Group --

Re: [osg-users] [osgCompute] trunk compile

2011-10-05 Thread Mick Keller
Code: $ svn diff Index: src/osgCuda/Computation.cpp === --- src/osgCuda/Computation.cpp (revision 426) +++ src/osgCuda/Computation.cpp (working copy) @@ -1,4 +1,4 @@ -#include osg/gl +#include osg/GL #include cuda_runtime.h #include

Re: [osg-users] [osgCompute] trunk compile

2011-10-05 Thread J.P. Delport
Hi, On 05/10/2011 14:04, Mick Keller wrote: ...I just committed the changes to the trunk. Thank you. The FindCuda-script has not been updated yet. Best regards, Mick thanks. Tt appears that the latest CMake versions (at least 2.8.5 that I have on Debian Sid) includes a FindCUDA script as

[osg-users] [osgCompute] trunk compile

2011-10-03 Thread J.P. Delport
Hi, 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