看板 EE_DSnP 關於我們 聯絡資訊
/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)' 一按下 make 就會產生這個東西 = = 請問一下這個問題是出在哪??? 感謝! -- 理所當然的某項事物,卻會以某天為區隔,從此變得不再理所當然。 恩田陸 夜間遠足 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 123.192.76.241
goodword:有沒有 make 32 or make 64 10/26 10:44
victoret:好像 make clean 再 make 就好了 sorry... 10/26 10:48
victoret:不過之前試了幾次好像只有這次有用... 10/26 10:49
alextan:切換32或64位元作業系統時binary檔好像要完全重新編譯才行 10/26 13:53