So to build just x64 run
scons var_arch="x64"
perfect. i should have RTFM. sadly, now, i'm encountering some linker problems
(attached file). there are also some warnings about -rpath not set.
regards,
simon
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld:
warning: libOSGWindow.so, needed by
build.linux/instlinks/lib/debug64/libOSGUtil.so, not found (try using -rpath or
-rpath-link)
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld:
warning: libOSGText.so, needed by
build.linux/instlinks/lib/debug64/libOSGUtil.so, not found (try using -rpath or
-rpath-link)
build.linux/type-debug--arch-x64/Source/System/Statistics/Foregrounds/testStatisticsRender.o:
In function `main':
Source/System/Statistics/Foregrounds/testStatisticsRender.cpp:224: undefined
reference to
`osg::ViewportBase::addForeground(osg::FCPtr<osg::FCPtr<osg::FieldContainerPtr,
osg::AttachmentContainer>, osg::Foreground> const&)'
build.linux/type-debug--arch-x64/Source/System/Statistics/Foregrounds/testStatisticsRender.o:
In function `osg::PassiveWindowBase::getClassType()':
build.linux/instlinks/include/OpenSG/OSGPassiveWindowBase.inl:58: undefined
reference to `osg::PassiveWindowBase::_type'
build.linux/type-debug--arch-x64/Source/System/Statistics/Foregrounds/testStatisticsRender.o:
In function `osg::FCPtr<osg::FCPtr<osg::FCPtr<osg::FieldContainerPtr,
osg::AttachmentContainer>, osg::Window>, osg::PassiveWindow>
osg::cast_dynamic<osg::FCPtr<osg::FCPtr<osg::FCPtr<osg::FieldContainerPtr,
osg::AttachmentContainer>, osg::Window>, osg::PassiveWindow>
>(osg::FieldContainerPtr)':
build.linux/instlinks/include/OpenSG/OSGContainerPtrFuncs.inl:467: undefined
reference to `typeinfo for osg::PassiveWindow'
build.linux/instlinks/lib/debug64/libOSGGroup.so: undefined reference to
`typeinfo for osg::Background'
build.linux/instlinks/lib/debug64/libOSGSystem.so: undefined reference to
`osg::Foreground::Foreground()'
build.linux/instlinks/lib/debug64/libOSGSystem.so: undefined reference to
`osg::Foreground::changed(unsigned long, unsigned int)'
build.linux/instlinks/lib/debug64/libOSGDrawable.so: undefined reference to
`osg::Window::registerGLObject(boost::function<void ()(osg::DrawEnv*, unsigned
int), std::allocator<void> >, unsigned int)'
build.linux/instlinks/lib/debug64/libOSGSystem.so: undefined reference to
`typeinfo for osg::Foreground'
build.linux/instlinks/lib/debug64/libOSGUtil.so: undefined reference to
`osg::SolidBackgroundBase::_type'
build.linux/instlinks/lib/debug64/libOSGRenderTraversal.so: undefined reference
to `typeinfo for osg::MatrixCamera'
build.linux/instlinks/lib/debug64/libOSGState.so: undefined reference to
`osg::Window::getConstantValuev(unsigned int)'
build.linux/instlinks/lib/debug64/libOSGState.so: undefined reference to
`osg::Window::reinitializeGLObject(unsigned int)'
build.linux/instlinks/lib/debug64/libOSGSystem.so: undefined reference to
`osg::Foreground::Foreground(osg::Foreground const&)'
build.linux/instlinks/lib/debug64/libOSGUtil.so: undefined reference to
`osg::ImageForegroundBase::pushToImages(osg::FCPtr<osg::FCPtr<osg::FieldContainerPtr,
osg::AttachmentContainer>, osg::Image> const&)'
build.linux/instlinks/lib/debug64/libOSGUtil.so: undefined reference to
`osg::Viewport::getParent() const'
build.linux/instlinks/lib/debug64/libOSGUtil.so: undefined reference to
`osg::ViewportBase::_type'
build.linux/instlinks/lib/debug64/libOSGSystem.so: undefined reference to
`osg::ForegroundBase::resolveLinks()'
build.linux/instlinks/lib/debug64/libOSGUtil.so: undefined reference to
`osg::PerspectiveCameraBase::_type'
build.linux/instlinks/lib/debug64/libOSGUtil.so: undefined reference to
`osg::TextTXFFace::createFromStream(std::basic_istream<char,
std::char_traits<char> >&, std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, osg::TextFace::Style)'
build.linux/instlinks/lib/debug64/libOSGUtil.so: undefined reference to
`osg::WindowBase::addPort(osg::FCPtr<osg::FCPtr<osg::FieldContainerPtr,
osg::AttachmentContainer>, osg::Viewport> const&)'
build.linux/instlinks/lib/debug64/libOSGSystem.so: undefined reference to
`osg::ForegroundBase::getBinSize(unsigned long)'
build.linux/instlinks/lib/debug64/libOSGUtil.so: undefined reference to
`typeinfo for osg::SolidBackground'
build.linux/instlinks/lib/debug64/libOSGRenderTraversal.so: undefined reference
to `osg::TextureBufferBase::_type'
build.linux/instlinks/lib/debug64/libOSGSystem.so: undefined reference to
`osg::Foreground::~Foreground()'
build.linux/instlinks/lib/debug64/libOSGSystem.so: undefined reference to
`osg::Window::registerFunction(char const*, int)'
build.linux/instlinks/lib/debug64/libOSGSystem.so: undefined reference to
`osg::Foreground::initMethod(osg::TypeBase::InitPhase)'
build.linux/instlinks/lib/debug64/libOSGRenderTraversal.so: undefined reference
to `osg::FrameBufferObjectBase::_type'
build.linux/instlinks/lib/debug64/libOSGDrawable.so: undefined reference to
`osg::Window::validateGLObject(unsigned int, osg::DrawEnv*)'
build.linux/instlinks/lib/debug64/libOSGRenderTraversal.so: undefined reference
to `typeinfo for osg::TextureBuffer'
build.linux/instlinks/lib/debug64/libOSGUtil.so: undefined reference to
`typeinfo for osg::PerspectiveCamera'
build.linux/instlinks/lib/debug64/libOSGUtil.so: undefined reference to
`osg::TextTXFFace::getTXFGlyph(int)'
build.linux/instlinks/lib/debug64/libOSGSystem.so: undefined reference to
`osg::Window::registerExtension(char const*)'
build.linux/instlinks/lib/debug64/libOSGRenderTraversal.so: undefined reference
to `osg::MatrixCameraBase::_type'
build.linux/instlinks/lib/debug64/libOSGDrawable.so: undefined reference to
`osg::Window::_glObjects'
build.linux/instlinks/lib/debug64/libOSGUtil.so: undefined reference to
`osg::WindowBase::getMFPort() const'
build.linux/instlinks/lib/debug64/libOSGState.so: undefined reference to
`osg::Window::unknownConstant'
build.linux/instlinks/lib/debug64/libOSGUtil.so: undefined reference to
`osg::Camera::calcViewRay(osg::Line&, int, int, osg::Viewport const&)'
build.linux/instlinks/lib/debug64/libOSGSystem.so: undefined reference to
`osg::Foreground::dump(unsigned int, unsigned long) const'
build.linux/instlinks/lib/debug64/libOSGGroup.so: undefined reference to
`typeinfo for osg::FrameBufferObject'
build.linux/instlinks/lib/debug64/libOSGState.so: undefined reference to
`osg::Window::registerConstant(unsigned int)'
build.linux/instlinks/lib/debug64/libOSGUtil.so: undefined reference to
`osg::ImageForegroundBase::_type'
build.linux/instlinks/lib/debug64/libOSGSystem.so: undefined reference to
`osg::ForegroundBase::copyFromBin(osg::ExceptionBinaryDataHandler&, unsigned
long)'
build.linux/instlinks/lib/debug64/libOSGGroup.so: undefined reference to
`typeinfo for osg::Camera'
build.linux/instlinks/lib/debug64/libOSGUtil.so: undefined reference to
`typeinfo for osg::Viewport'
build.linux/instlinks/lib/debug64/libOSGUtil.so: undefined reference to
`typeinfo for osg::ImageForeground'
build.linux/instlinks/lib/debug64/libOSGDrawable.so: undefined reference to
`osg::Window::destroyGLObject(unsigned int, unsigned int)'
build.linux/instlinks/lib/debug64/libOSGDrawable.so: undefined reference to
`osg::Window::refreshGLObject(unsigned int)'
build.linux/instlinks/lib/debug64/libOSGSystem.so: undefined reference to
`osg::Window::_registeredFunctions'
build.linux/instlinks/lib/debug64/libOSGSystem.so: undefined reference to
`osg::ForegroundBase::copyToBin(osg::ExceptionBinaryDataHandler&, unsigned
long)'
collect2: ld returned 1 exit status
scons: *** [build.linux/type-debug--arch-x64/test/testStatisticsRender] Error 1
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld:
warning: libOSGWindow.so, needed by build.linux/instlinks/lib64/libOSGUtil.so,
not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld:
warning: libOSGText.so, needed by build.linux/instlinks/lib64/libOSGUtil.so,
not found (try using -rpath or -rpath-link)
build.linux/type-optimized--arch-x64/Source/System/Statistics/Foregrounds/testStatisticsRender.o:
In function `main':
testStatisticsRender.cpp:(.text+0x26c): undefined reference to
`osg::PassiveWindowBase::_type'
testStatisticsRender.cpp:(.text+0x289): undefined reference to
`osg::PassiveWindowBase::_type'
testStatisticsRender.cpp:(.text+0x2e1): undefined reference to `typeinfo for
osg::PassiveWindow'
testStatisticsRender.cpp:(.text+0x82d): undefined reference to
`osg::ViewportBase::addForeground(osg::FCPtr<osg::FCPtr<osg::FieldContainerPtr,
osg::AttachmentContainer>, osg::Foreground> const&)'
build.linux/instlinks/lib64/libOSGGroup.so: undefined reference to `typeinfo
for osg::Background'
build.linux/instlinks/lib64/libOSGSystem.so: undefined reference to
`osg::Foreground::Foreground()'
build.linux/instlinks/lib64/libOSGSystem.so: undefined reference to
`osg::Foreground::changed(unsigned long, unsigned int)'
build.linux/instlinks/lib64/libOSGDrawable.so: undefined reference to
`osg::Window::registerGLObject(boost::function<void ()(osg::DrawEnv*, unsigned
int), std::allocator<void> >, unsigned int)'
build.linux/instlinks/lib64/libOSGSystem.so: undefined reference to `typeinfo
for osg::Foreground'
build.linux/instlinks/lib64/libOSGUtil.so: undefined reference to
`osg::SolidBackgroundBase::_type'
build.linux/instlinks/lib64/libOSGRenderTraversal.so: undefined reference to
`typeinfo for osg::MatrixCamera'
build.linux/instlinks/lib64/libOSGState.so: undefined reference to
`osg::Window::getConstantValuev(unsigned int)'
build.linux/instlinks/lib64/libOSGState.so: undefined reference to
`osg::Window::reinitializeGLObject(unsigned int)'
build.linux/instlinks/lib64/libOSGSystem.so: undefined reference to
`osg::Foreground::Foreground(osg::Foreground const&)'
build.linux/instlinks/lib64/libOSGUtil.so: undefined reference to
`osg::ImageForegroundBase::pushToImages(osg::FCPtr<osg::FCPtr<osg::FieldContainerPtr,
osg::AttachmentContainer>, osg::Image> const&)'
build.linux/instlinks/lib64/libOSGUtil.so: undefined reference to
`osg::Viewport::getParent() const'
build.linux/instlinks/lib64/libOSGUtil.so: undefined reference to
`osg::ViewportBase::_type'
build.linux/instlinks/lib64/libOSGSystem.so: undefined reference to
`osg::ForegroundBase::resolveLinks()'
build.linux/instlinks/lib64/libOSGUtil.so: undefined reference to
`osg::PerspectiveCameraBase::_type'
build.linux/instlinks/lib64/libOSGUtil.so: undefined reference to
`osg::TextTXFFace::createFromStream(std::basic_istream<char,
std::char_traits<char> >&, std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, osg::TextFace::Style)'
build.linux/instlinks/lib64/libOSGUtil.so: undefined reference to
`osg::WindowBase::addPort(osg::FCPtr<osg::FCPtr<osg::FieldContainerPtr,
osg::AttachmentContainer>, osg::Viewport> const&)'
build.linux/instlinks/lib64/libOSGSystem.so: undefined reference to
`osg::ForegroundBase::getBinSize(unsigned long)'
build.linux/instlinks/lib64/libOSGUtil.so: undefined reference to `typeinfo for
osg::SolidBackground'
build.linux/instlinks/lib64/libOSGRenderTraversal.so: undefined reference to
`osg::TextureBufferBase::_type'
build.linux/instlinks/lib64/libOSGSystem.so: undefined reference to
`osg::Foreground::~Foreground()'
build.linux/instlinks/lib64/libOSGSystem.so: undefined reference to
`osg::Window::registerFunction(char const*, int)'
build.linux/instlinks/lib64/libOSGSystem.so: undefined reference to
`osg::Foreground::initMethod(osg::TypeBase::InitPhase)'
build.linux/instlinks/lib64/libOSGRenderTraversal.so: undefined reference to
`osg::FrameBufferObjectBase::_type'
build.linux/instlinks/lib64/libOSGDrawable.so: undefined reference to
`osg::Window::validateGLObject(unsigned int, osg::DrawEnv*)'
build.linux/instlinks/lib64/libOSGRenderTraversal.so: undefined reference to
`typeinfo for osg::TextureBuffer'
build.linux/instlinks/lib64/libOSGUtil.so: undefined reference to `typeinfo for
osg::PerspectiveCamera'
build.linux/instlinks/lib64/libOSGUtil.so: undefined reference to
`osg::TextTXFFace::getTXFGlyph(int)'
build.linux/instlinks/lib64/libOSGSystem.so: undefined reference to
`osg::Window::registerExtension(char const*)'
build.linux/instlinks/lib64/libOSGRenderTraversal.so: undefined reference to
`osg::MatrixCameraBase::_type'
build.linux/instlinks/lib64/libOSGDrawable.so: undefined reference to
`osg::Window::_glObjects'
build.linux/instlinks/lib64/libOSGUtil.so: undefined reference to
`osg::WindowBase::getMFPort() const'
build.linux/instlinks/lib64/libOSGState.so: undefined reference to
`osg::Window::unknownConstant'
build.linux/instlinks/lib64/libOSGUtil.so: undefined reference to
`osg::Camera::calcViewRay(osg::Line&, int, int, osg::Viewport const&)'
build.linux/instlinks/lib64/libOSGSystem.so: undefined reference to
`osg::Foreground::dump(unsigned int, unsigned long) const'
build.linux/instlinks/lib64/libOSGGroup.so: undefined reference to `typeinfo
for osg::FrameBufferObject'
build.linux/instlinks/lib64/libOSGState.so: undefined reference to
`osg::Window::registerConstant(unsigned int)'
build.linux/instlinks/lib64/libOSGUtil.so: undefined reference to
`osg::ImageForegroundBase::_type'
build.linux/instlinks/lib64/libOSGSystem.so: undefined reference to
`osg::ForegroundBase::copyFromBin(osg::ExceptionBinaryDataHandler&, unsigned
long)'
build.linux/instlinks/lib64/libOSGGroup.so: undefined reference to `typeinfo
for osg::Camera'
build.linux/instlinks/lib64/libOSGUtil.so: undefined reference to `typeinfo for
osg::Viewport'
build.linux/instlinks/lib64/libOSGUtil.so: undefined reference to `typeinfo for
osg::ImageForeground'
build.linux/instlinks/lib64/libOSGDrawable.so: undefined reference to
`osg::Window::destroyGLObject(unsigned int, unsigned int)'
build.linux/instlinks/lib64/libOSGDrawable.so: undefined reference to
`osg::Window::refreshGLObject(unsigned int)'
build.linux/instlinks/lib64/libOSGSystem.so: undefined reference to
`osg::Window::_registeredFunctions'
build.linux/instlinks/lib64/libOSGSystem.so: undefined reference to
`osg::ForegroundBase::copyToBin(osg::ExceptionBinaryDataHandler&, unsigned
long)'
collect2: ld returned 1 exit status
scons: *** [build.linux/type-optimized--arch-x64/test/testStatisticsRender]
Error 1
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users