參考連接:http://blog.csdn.net/yuxiaohen/article/details/9709013 spa
main.cpp:(.text+0x49): undefined reference to `boost::system::generic_category()'
main.cpp:(.text+0x53): undefined reference to `boost::system::generic_category()'
main.cpp:(.text+0x5d): undefined reference to `boost::system::system_category()'.net
解決方法:blog
-lboost
ci
-lboost_system get
-lboost_filesystemfile