Menu

Build on linux - missing #include <unistd.h> in GDirList.h

Help
Anonymous
2012-11-26
2012-11-26
  • Anonymous

    Anonymous - 2012-11-26

    Using Ubuntu 12.10 and g++ 4.7.2 I was unable to build waffle because of an error in GDirList (getcwd, chdir, etc not defined). These functions are defined in direct.h under Windows. To solve this problem on Linux, just add "#include <unistd.h>" on top of your GDirList.h !</unistd.h>

     
  • Mike Gashler

    Mike Gashler - 2012-11-26

    Thanks! I added this line to GDirList.cpp, and pushed it into our git repository.

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.