I'll give that a try...
CD

Mick wrote:
> Hi Conan,
> 
> my first guess is that the Cmake-Scripts did not find Cuda on your system. 
> Cuda 4.0 is not a problem in general. Thus try to build osgCompute again from 
> scratch and take a look at the advanced variable "CUDA_RUNTIME_LIBRARY". If 
> it is not available correctly you will have to set it manually to your 
> cudart-library (this may be the case on 64-Bit machines since we still have 
> to adapt the FindCuda script for Cmake).
> 
> Good luck!
> 
> 
> 
> 
> sholmes wrote:
> > Hi,
> > 
> > I am in a bind, and need to add some cuda to my OSG app quickly, as in by 
> > the end of hte day.  I had hoped to use osgComputer/Cuda, but I am having 
> > problems getting it to build on my machine.  I suspect it is due to my 
> > using CUDA 4.0.  ...so... I am trying to add it "manually" through the code 
> > as needed.  My first, seemingly insurmountable hurdle, is that I can seem 
> > to set the cuda device to use...  If I call cudaGLSetGLDevice  before I 
> > instantiate the viewer, I get an error stating the all cuda capable devices 
> > are busy or unavailable... I thought perhaps this was a graphics context 
> > issue, so I moved this call to after I instantiate the viewer.  If I call 
> > cudaGLSetGLDevice after I instantiate the viewer, I get an error stating 
> > that setting the device when a process is active is not allowed.
> > 
> > What is the proper way/place to call cudaGLSetGLDevice in OSG?
> > 
> > CD
> > 
> > Thank you!
> > 
> > Cheers,
> > Conan
> 
> 
> Best regards,
> Mick


------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=43219#43219





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to