[HW3] HW3 抓下來在什麼都沒寫的情況下應該可以 - TopicsExpress



          

[HW3] HW3 抓下來在什麼都沒寫的情況下應該可以 compile 才對?但是我試圖 compile 的時候出現這個錯誤,有人也有遇到嗎? Checking cmd... ... 略 ... > building gnCalc... Undefined symbols for architecture x86_64: GNum::_base, referenced from: GNum::getBase() in libcalc.a(calcCmd.o) GNum::setBase(int) in libcalc.a(calcCmd.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [../../bin/gnCalc] Error 1 make: *** [main] Error 2 附上我的 gcc 版本 Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn) Target: x86_64-apple-darwin14.0.0 Thread model: posix
Posted on: Sat, 25 Oct 2014 04:33:21 +0000

Trending Topics



Recently Viewed Topics




© 2015