Hi,

thanks for the quick reply. after installing the current cuda-library, and 
disabling CgFx  in ccmake, i got it compiled.

regards,
keyan


On 9 May 2011, at 01:23, Gerrit Voß wrote:

> 
> Hi,
> 
> On Sun, 2011-05-08 at 15:10 +0200, Keyan wrote:
>> Hi,
>> 
>> I am trying to compile openSG on mac os x, using cmake with Unix Makefiles, 
>> as well as with the Xcode generator. I have the most current git download, 
>> but after hitting make, or while compiling with Xcode, i get the following 
>> message:
>> 
>> ld: warning: in /usr/local/cuda/lib/libcudart.dylib, file was built for i386 
>> which is not the architecture being linked (x86_64)
>> Undefined symbols:
> 
> that looks like the problem.
> 
>>  "_cudaThreadExit", referenced from:
>>      OSG::WindowDrawTask::execute(OSG::HardwareContext*, OSG::DrawEnv*)   in 
>> OSGWindowDrawTask.cpp.o
>> ld: symbol(s) not found
>> collect2: ld returned 1 exit status
>> make[2]: *** [bin/libOSGSystem.2.0.0.dylib] Error 1
>> make[1]: *** [Build/OSGSystem/CMakeFiles/OSGSystem.dir/all] Error 2
>> make: *** [all] Error 2
>> 
>> googling for _cudeThreadExit did not help.
> 
> The problem seems that you only have the 32 bit version of cuda
> installed. This one picked up by cmake but can not be used when
> building the libraries. 
> 
> Either uninstall cuda, also install the 64bit version, or disable cuda
> from cmake.
> 
> kind regards
>  gerrit
> 
> 
> 
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network 
> management toolset available today.  Delivers lowest initial 
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Opensg-users mailing list
> Opensg-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensg-users


------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to