Hello opensg-user list,

wenn i try to compile the source code with g++ on my Linux Debian Etch
machine, i get some errors. I tried version 1.8.0 (scons/make) and
1.6.0(make) and i get everytime the same error.

List of my debian packages: libxmu-dev libxmu-headers bison bison-doc
libjpeg62-dev libtiff4-dev libpng12-dev flex freeglut3 freeglut3-dbg
freeglut3-dev glut-doc fakeroot dh-make build-essential


Regards,
Klaus

flex 2.5.33


 g++ -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --with-tune=i686
--enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

bison (GNU Bison) 2.3


[EMAIL PROTECTED]:~/OpenSG1.8.0alpha/OpenSG$ ./scons
scons: Reading SConscript files ...
Detected environment: linux-gcc
scons: done reading SConscript files.
scons: Building targets ...
g++ -ansi -use_readonly_const -ftemplate-depth-100 -fPIC -O2 -fPIC
-DOSG_WITH_GLUT -DOSG_WITH_JPG -DOSG_WITH_TIF -DOSG_WITH_PNG
-DOSG_WITH_GIF -D_GNU_SOURCE -D_OSG_HAVE_CONFIGURED_H_ -DOSG_BUILD_DLL
-DOSG_COMPILESYSTEMLIB -IBuild/linux-gcc/Source/Base
-ISource/System/Action -ISource/System/Action/DrawAction
-ISource/System/Action/IntersectAction
-ISource/System/Action/RenderAction -ISource/System/Cluster/Base
-ISource/System/Cluster/Server
-ISource/System/Cluster/Window/BalancedMultiWindow
-ISource/System/Cluster/Window/Base
-ISource/System/Cluster/Window/MultiDisplay
-ISource/System/Cluster/Window/SortFirst
-ISource/System/Cluster/Window/SortLast -ISource/System/FieldContainer
-ISource/System/FieldContainer/Impl -ISource/System/FileIO/3DS
-ISource/System/FileIO/Base -ISource/System/FileIO/BIN
-ISource/System/FileIO/DXF -ISource/System/FileIO/OBJ
-ISource/System/FileIO/OFF -ISource/System/FileIO/OSG
-ISource/System/FileIO/RAW -ISource/System/FileIO/ScanParseSkel
-ISource/System/FileIO/STL -ISource/System/FileIO/WRL
-ISource/System/GraphOp -ISource/System/Image -ISource/System/Material
-ISource/System/NodeCores/Drawables/Base
-ISource/System/NodeCores/Drawables/Geometry
-ISource/System/NodeCores/Drawables/Misc
-ISource/System/NodeCores/Drawables/Nurbs
-ISource/System/NodeCores/Drawables/Nurbs/Internal
-ISource/System/NodeCores/Drawables/Particles
-ISource/System/NodeCores/Drawables/VolRen
-ISource/System/NodeCores/Groups/Base
-ISource/System/NodeCores/Groups/Light
-ISource/System/NodeCores/Groups/Misc -ISource/System/RenderingBackend
-ISource/System/Statistics -ISource/System/State -ISource/System/Text
-ISource/System/Window -ISource/Experimental/NativeFileIO
-ISource/Experimental/NewAction
-ISource/Experimental/NewAction/ActorCodeGen
-ISource/Experimental/NewAction/Actors -ISource/Experimental/Text
-ISource/Experimental/ShadowMapViewport
-ISource/Experimental/ShadowViewport -ISource/Experimental/SHL
-ISource/Experimental/WebInterface -ISource/Experimental/Manipulators
-ISource/Base/Base -ISource/Base/Field -ISource/Base/Functors
-ISource/Base/Network/Base -ISource/Base/Network/Socket
-ISource/Base/StringConversion -ISource/Base/Xml
-IBuild/linux-gcc/Source/System/FileIO/ScanParseSkel -c -o
Build/linux-gcc/Source/System/opt/OSGDATImageFileType.os
Source/System/Image/OSGDATImageFileType.cpp
Source/Base/Base/OSGFileSystem.inl: In function 'osg::Char8*
osg::Directory::getCurrent()':
Source/Base/Base/OSGFileSystem.inl:210: error: 'getcwd' was not declared
in this scope
Source/Base/Base/OSGFileSystem.inl: In function 'bool
osg::Directory::setCurrent(const osg::Char8*)':
Source/Base/Base/OSGFileSystem.inl:238: error: 'chdir' was not declared
in this scope
scons: *** [Build/linux-gcc/Source/System/opt/OSGDATImageFileType.os]
Error 1
scons: building terminated because of errors.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to