为知笔记吧 关注:8,026贴子:56,520
  • 22回复贴,共1

Ubuntu 16.04 编译失败!!!!

只看楼主收藏回复

QT编译最后一步链接出错, 咋办?


为什么超过100万的华人留学生都选择UAKA来充值微信,支付包,苹果手游呢? 新用户送10美金,限量100份!
2018-01-23 04:22 广告
按照博客上的教程进行编译 , 用的链接上下载的QT5.7 , 从git上clone的代码.但是编译失败,总是报这个错误 .


[ 98%] Building CXX object src/CMakeFiles/WizNote.dir/WizPositionDelegate.cpp.o
[ 98%] Building CXX object src/CMakeFiles/WizNote.dir/main.cpp.o
[100%] Building CXX object src/CMakeFiles/WizNote.dir/WizInitBizCertDialog.cpp.o
In file included from /home/lab712/Desktop/Development/WizTeam/WizQTClient/lib/cryptopp/rsa.h:9:0,
from /home/lab712/Desktop/Development/WizTeam/WizQTClient/src/share/WizEnc.h:5,
from /home/lab712/Desktop/Development/WizTeam/WizQTClient/src/WizInitBizCertDialog.cpp:8:
/home/lab712/Desktop/Development/WizTeam/WizQTClient/lib/cryptopp/pubkey.h: In member function 'CryptoPP::PK_MessageAccumulator* CryptoPP::DL_SignerImpl<SCHEME_OPTIONS>::NewSignatureAccumulator(CryptoPP::RandomNumberGenerator&) const':
/home/lab712/Desktop/Development/WizTeam/WizQTClient/lib/cryptopp/pubkey.h:1343:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr<PK_MessageAccumulatorBase> p(new PK_MessageAccumulatorImpl<CPP_TYPENAME SCHEME_OPTIONS::HashFunction>);
^
In file included from /usr/include/c++/5/memory:81:0,
from /home/lab712/Desktop/Development/WizTeam/WizQTClient/src/sync/WizJSONServerBase.h:4,
from /home/lab712/Desktop/Development/WizTeam/WizQTClient/src/sync/WizKMServer.h:5,
from /home/lab712/Desktop/Development/WizTeam/WizQTClient/src/WizInitBizCertDialog.cpp:4:
/usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
[100%] Building CXX object src/CMakeFiles/WizNote.dir/qrc_wiznote.cpp.o
[100%] Building CXX object src/CMakeFiles/WizNote.dir/WizNote_automoc.cpp.o
[100%] Linking CXX executable ../bin/WizNote
/usr/bin/ld: CMakeFiles/WizNote.dir/share/WizMd5.cpp.o: undefined reference to symbol '_ZNSt13runtime_errorC1EPKc@@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]: *** [bin/WizNote] Error 1
make[1]: *** [src/CMakeFiles/WizNote.dir/all] Error 2
make: *** [all] Error 2
src/CMakeFiles/WizNote.dir/build.make:4153: recipe for target 'bin/WizNote' failed
CMakeFiles/Makefile2:1172: recipe for target 'src/CMakeFiles/WizNote.dir/all' failed
Makefile:127: recipe for target 'all' failed
17:22:07: The process "/usr/bin/cmake" exited with code 2.
Error while building/deploying project Project (kit: Desktop Qt 5.7.0 GCC 64bit)
When executing step "Make"
17:22:07: Elapsed time: 06:18.


回复
举报|2楼2017-03-07 09:59


    回复
    举报|3楼2017-03-07 10:00
      问微信客服 , 发邮件
      都没人给解决 , 快要要倒闭了吗?


      代码都放出来了, 为啥不出个安装包呢?


      收起回复
      举报|4楼2017-03-07 10:02
        哎,我到是装好了,可是输不了中文,还得折腾,这两天都用不了,还浪费我不少时间,换用虚拟机换win平台了。


        收起回复
        举报|5楼2017-03-07 14:03
          收起回复
          举报|6楼2017-03-07 22:04
            我也是各种报错。。。付费了也很无语,不知道还有什么笔记也有linux平台的


            收起回复
            举报|7楼2017-03-08 15:23
              来贴个Linux不用编译的解决办法.


              1. 下载QT5.7安装好
              2. 到这里 https://www.archlinux.org/packages/community/x86_64/wiznote/ 下载已经编译好的Wiznote
              3. 把/Qt5.7.0/5.7/gcc_64/lib 加入环境变量里
              4. 就可以运行了


              搞不懂为知笔记官方怎么想的,就是不给编译好的安装包,源码编译这么多错误,搞的怎么恶心.
              不知道好多人就是因为有linux版才用wiz的吗?










              回复
              举报|9楼2017-03-13 20:11
                WizNote的输入法问题解决:


                问题是QT5.7里没有这个东西:
                /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so

                安装QT5的fcitx然后把上面那个文件复制到下面两个位置:
                /opt/Qt5.7.0/5.7/gcc_64/plugins/platforminputcontexts/

                /opt/Qt5.7.0/Tools/QtCreator/lib/Qt/plugins/platforminputcontexts/


                QT5.8现在有bug不管用




                最后再次警告一下为知笔记.
                别让我再遇到任何bug,我见一次一次







                收费了还做这么差


                回复
                举报|10楼2017-03-13 20:14
                  来贴个Linux不用编译的解决办法.


                  1. 下载QT5.7安装好
                  2. 到这里 https://www.archlinux.org/packages/community/x86_64/wiznote/ 下载已经编译好的Wiznote
                  3. 把/Qt5.7.0/5.7/gcc_64/lib 加入环境变量里
                  4. 就可以运行了


                  搞不懂为知笔记官方怎么想的,就是不给编译好的安装包,源码编译这么多错误,搞的怎么恶心.
                  不知道好多人就是因为有linux版才用wiz的吗?


                  收起回复
                  举报|11楼2017-03-13 20:18
                    大皇帝页游新区入口,三国SLG战争页游,点击领取礼包,新服送首冲高返利! 酷玩吧为您推荐!!!
                    2018-01-23 04:22 广告
                    百度还吞我贴?


                    拿贴吧做论坛我也是服了.....




                    收起回复
                    举报|12楼2017-03-13 20:21
                      回复
                      举报|13楼2017-07-26 20:35
                        绿色版 2.5.8 下载地址:https://url.wiz.cn/u/Wizlinux ,添加可执行权限双击运行即可。


                        回复
                        举报|14楼2018-01-15 15:44