Hi Arun,
rehmanrulz wrote: > > I have been trying to compile osgCompute and osgCuda and have been facing > linking problems. I have provided links to all directories as far as I know. > Please find the log below. Any help would be greatly appreciated. > your project (osgCuda) does not link to cudart.lib. This causes your problems. Actually the cmake script FindCuda.cmake (located in CMakeModules/cuda) should ensure that your nvcc is found. Once it is found the script sets libs and includes automatically. (I'm wondering that cmake has generated you a project while not finding the proper lib). You can also set the environment variables CUDA_BIN_PATH, CUDA_INC_PATH and CUDA_LIB_PATH to the correct folders of your system (this is actually done automatically during the cuda installation). Please check the setting of your CUDA_RUNTIME_LIBRARY variable (in advanced view of cmake). This should fix your problem. Best regards, Mick ------------------------ SVT Group ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=18250#18250 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

