VS2015 for linux开发远程调试编译错误
一曲闲赋 2017-07-07 05:18:27 1>------ 已启动生成: 项目: dispatch, 配置: Debug x64 ------
1> Validating architecture
1> Validating sources
1> Copying sources remotely to '10.8.226.125'
1> Starting remote build
1> Compiling sources:
1> Linking objects
1> /root/projects/myProjects/obj/x64/Debug/dispatch_application.o: In function `DispatchApplication::initConfig()':
1> /root/projects/myProjects/dispatch_application.cpp:35: undefined reference to `AppConfig::init(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
1> /root/projects/myProjects/obj/x64/Debug/dispatch_application.o: In function `DispatchApplication::initLog()':
1> /root/projects/myProjects/dispatch_application.cpp:45: undefined reference to `AppLogger::instance()'
1> /root/projects/myProjects/dispatch_application.cpp:45: undefined reference to `AppLogger::open(int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int)'
....
此处省略
....
1> /root/projects/rule_env/XValue.h:383: undefined reference to `_ZN8rule_env6XValue12toStringImplB5cxx11EiPKv'
1> /root/projects/myProjects/obj/x64/Debug/qos_dispatch_main.o: In function `main':
1> /root/projects/myProjects/qos_dispatch_main.cpp:12: undefined reference to `_Z14bin_parent_dirB5cxx11Pc'
1> collect2: error: ld returned 1 exit status
1>
1>D:\wsCode\code_git\dispatcher\dispatch\obj\x64\Debug\dispatch_application.o: In function `DispatchApplication: : error :
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Application Type\Linux\1.0\Linux.targets(264,5): error : 路径中具有非法字符。
========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========