Hi Klaus,

Klaus Schwarzkopf wrote:
> 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.
> 
...
> 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

That is surprising, as those functions should be part of unistd.h, which is 
included.

Can you tell us where those functions are Debian? man 3 getcwd and man 2 chdir 
should tell you at the top.

Thanks

        Dirk

-------------------------------------------------------------------------
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