0
我試圖編譯這個SourceForge的項目在Ubuntu 11.10 64:http://vmb.sourceforge.net/GCC拋出:未定義的引用`_getcwd」
Linux users have to compile the devices from sources.
Either obtained from cvs (see: http://sourceforge.net/projects/vmb/) or as a tgz file.
The sources come with Makefiles. If you have make and gcc, just execute make in the top source directory.
所以我下載了名爲.tar.gz,untared它,並運行「使「從/ src目錄。
但產量說:
/vmb/src/opt/option.c:528: undefined reference to `_getcwd'
我想這是一個錯誤或丟失庫。原來的項目似乎來自Visual Studio。
我該如何解決這個問題?