Thanks for your advice, Dr Gerrit. Yes, I found the missed linking path and
add it to the link.txt file. Right now it can work well. My
Rock version is Rock Cluster 5.3.

Lei

On Wed, Sep 28, 2011 at 9:39 PM, Gerrit Voß <vo...@vossg.org> wrote:

>
> Hi,
>
> On Wed, 2011-09-28 at 16:31 -0500, Fan, Lei wrote:
> > Hi all:
> >      I just finished installing OpenSG2 in a rock cluster. The
> installation
> > part has been finished and has no troubles. But When I came to compile
> the
> > tutorial programs, I got the following error:
> >
> >  /usr/local/lib64/debug/libOSGSystem.so: undefined reference to
> > `cudaThreadExit'
> > collect2: ld returned 1 exit status
> >
> > I've no idea about this error. Any one has some idea about this issue?
> May
> > the source code has some kind of cuda stuff?
>
> yes, the GL interoperability of cuda requires this call to be within the
> context handling part of OpenSG (Window/Window tasks).
>
> > But if that is the case, why I can successful build and install the whole
> library? Thanks.
>
> that most likely is a bug in the CMake setup for the tutorials (I'll
> have a look). The system lib builds because cmake detects cuda and links
> the correct libraries, the tutorial cmake setup seems to miss this part.
> Shared libraries are also less sensitive against missing symbols, you
> have to force missing symbol detection during linking, by default it is
> not checked.
> Normally I would expect the linker to pick up this transitive
> dependency as long as it could find dependent libs within the
> LD_LIBRARY_PATH, could you post the complete output.
>
> Which rocks version are you using so I can try it in the same
> environment.
>
> kind regards
>  gerrit
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________
> Opensg-users mailing list
> Opensg-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensg-users
>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to