WizTeam / WizQTClient

为知笔记跨平台客户端
Other
2.63k stars 810 forks source link

编译2.5.6出错 DSO missing from command line #495

Open l0o0 opened 6 years ago

l0o0 commented 6 years ago
[ 78%] Linking CXX executable WizNote
/usr/bin/ld: CMakeFiles/WizNote.dir/share/jsoncpp/jsoncpp.cpp.o: undefined reference to symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc@@GLIBCXX_3.4.21'
//usr/lib/x86_64-linux-gnu/libstdc++.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [src/WizNote] Error 1
make[1]: *** [src/CMakeFiles/WizNote.dir/all] Error 2
make: *** [all] Error 2
src/CMakeFiles/WizNote.dir/build.make:4177: recipe for target 'src/WizNote' failed
CMakeFiles/Makefile2:254: recipe for target 'src/CMakeFiles/WizNote.dir/all' failed
Makefile:127: recipe for target 'all' failed
00:31:15: 进程"/usr/bin/cmake"退出,退出代码 2 。
Error while building/deploying project Project (kit: Desktop Qt 5.7.0 GCC 64bit)
When executing step "Make"

之前没有编译过其他版本。

MENG2010 commented 6 years ago

2.5.5 & 2.5.3 work fine.