看板 EE_DSnP 關於我們 聯絡資訊
++篇數...囧 我用了一個怪方法去解決 就是去把hw3的cmd 兩個檔案給拷貝過來 但還在測試中 不知道是不是可以完美連結上去... -- 測了一陣子 好像可以 只是開頭變成mcalc 雖然程式還有一堆bug要修..囧 不知道有沒有人有同樣問題 ※ 引述《ckaha (★閃亮數學推理★)》之銘言: : 教授我又來占文章篇數了 囧 : 當我全部除錯完畢之後 又出現同樣的編譯錯誤 : 我不管是用64 bit 還是 32bit 都一樣.... : ../../lib/libcmd.a(cmdParser.o)(.text+0x38e): In function : `CmdExec::lexSingleOption(std::basic_string<char, std::char_traits<char>, : std::allocator<char> > const&, std::basic_string<char, : std::char_traits<char>, std::allocator<char> >&, bool) const': : : undefined reference to `std::basic_string<char, std::char_traits<char>, : std::allocator<char> >::_Rep::_S_empty_rep_storage' : ※ 引述《ckaha (★閃亮數學推理★)》之銘言: : : 謝謝老師撥空 : : 我的是在 國高的電腦上面去跑的 : : 2.6.5-7.244-smp GNU/Linux : : bash 2.05b.0(1)-release : : gcc-3.3.3-43.41 /usr/bin/g++ : : make-3.80-184.1 /usr/bin/make -- Every thing can be wrong unless you can proof it is true. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 125.225.146.40