you were right, an older version was still installed to /usr/lib, so make instclean had no effect. But also version 1.1 didn't compile due to another problem: some libraries try to link against libungif.
Is there a way to deactivate libungif-support? Due to conflicts with giflib libungif is not supported by gentoo. Gentoo users maybe have to reinstall giflib after installing libungif because of some confilicting headers.
bye,
Frans
2006/8/5, Robert Osfield <[EMAIL PROTECTED]>:
Hi Frans,
Is there an out of data OSG libs on your machine?
Robert.
On 8/4/06, Frans Fürst <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> today I migrated to osg-1.1 and I didn't realize any error messages
> while compiling and installing (Gentoo i32). Later I tried to link an
> own exectuable and got lots of undefined references. After rearranging
> libraries and object files didn't help I tried to recompile
> examples/osgprerender (because it makes use of CameraNode) to see what's
> the right linking order. But I got the same linker errors:
>
> g++ -O2 -L/usr/X11R6/lib -L../../../lib/Linux32 osgprerender.o \
> -lstdc++ -losgProducer -lProducer -losgText -losgGA -losgDB \
> -losgUtil -losg -lGLU -lGL -lXi -lXmu -lX11 -lOpenThreads \
> -o osgprerender
>
> osgprerender.o: In function `createPreRenderSubGraph(osg::Node*, \
> unsigned, unsigned, osg::CameraNode::RenderTargetImplementation, \
> bool, bool, bool)':
>
> osgprerender.cpp:(.text+0x6af): undefined reference to \
> `osg::Geometry::setColorBinding(osg::Geometry::AttributeBinding)' \
>
> osgprerender.cpp:(.text+0x863): undefined reference to \
> `osg::CameraNode::CameraNode[in-charge]()'
>
> [and some more]
>
> Did I make a stupid mistake or is something going wrong? What should I do?
>
> thx
>
> Frans
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
>
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
