Not an OSG question actually; I believe newer gcc linker enforces
stricter rules about linking,
a workaround is to replace -lOpenThreads with -l/usr/lib/OpenThreads.so
or whereever you have installed your .so file.

/Per

On 1 February 2012 12:35, Alberto Luaces <[email protected]> wrote:
> "Hobbes Pierre" writes:
>
>> /usr/bin/ld: note: 'OpenThreads::Atomic::operator--()' is defined in
>> DSO /home/kati/Downloads/OpenSceneGraph-3.0.1/lib/libOpenThreads.so.12
>> so try adding it to the linker command line
>
> It seems they are not linking with OpenThreads, but the linker says they
> should. I have inspected their Makefile, and I would add -lOpenThreads
> to the list of libraries listed under the LIBS variable.
>
> --
> Alberto
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to