我simpleChat.C文件所做的更改刪除「我精神分裂...」按鈕編譯simpleChat.C。 simplechat example從wt in Ubuntu。從wt的實施例的錯誤
,並試圖用命令編譯它:
sudo g++ -o simplechat simpleChat.C -lwthttp -lwt
錯誤:
/usr/bin/ld: /tmp/ccHOujNG.o: undefined reference to symbol '_ZN5boost6system15system_categoryEv' /usr/lib/x86_64-linux-gnu/libboost_system.so.1.55.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status
還加入-lboost_signals
這個錯誤後,使同樣的錯誤
,它消除了早期./simplechat可執行由於其覆蓋並無法完成..
我能夠成功編譯&用相同的命令執行hello.c。
任何類型的幫助reffering我我如何能成功地編譯simpleChat.C將是偉大的..