看板 EE_DSnP 關於我們 聯絡資訊
我make 32 make 64後再make都有同樣問題...... /usr/bin/ld: i386:x86-64 architecture of input file `../../lib/libcmd.a(cmdReader.o)' is incompatible with i386 output ../../lib/libcmd.a(cmdReader.o): In function `CmdParser::addHistory()': cmdReader.cpp:(.text+0x19e): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned long)' ../../lib/libcmd.a(cmdReader.o): In function `CmdParser::moveToHistory(int)': cmdReader.cpp:(.text+0x9c4): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned long)' collect2: ld returned 1 exit status make[1]: *** [../../bin/modCalc] Error 1 make: *** [main] Error 2 有強者能幫忙解惑嗎? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.244.51
wmin0:make 32 or 64後有先make clean嗎 10/31 03:10
OckhamsRazor:感謝> < 10/31 11:29