truecrypt 7.1a
在过去的两天里,我一直在尝试在 Debian Jessie 8.1.0 AMD64 上进行编译。我wxGTK2.8.12
有源代码,因为 Debian Jessie 只有 v3.0 软件包。这是一个问题,因为wxwidgets3.0
已保护wxstandardpaths
,因此您必须使用wxstandardpaths::get
并truecrypt
使用wxstandardpaths
inapplication.cpp
例如,它会在编译时返回错误。
我不知道如何解决这个问题,所以我wxgtk2.8.12
使用 truecrypt 编译选项转到选项 2 编译源,# make WX_ROOT=/usr/src/truecrypt-7.1a-source/wxGTK-2.8.12 wxbuild.
然后我就完成了# make WXSTATIC=1
,我在下面遇到了这个错误。即使我自己编译和安装,wxwidgets-2.8.12
我也会收到此错误。也许这是个x11lib
问题?
^ 链接 truecrypt
/usr/bin/ld: /usr/src/truecrypt-7.1a-source/wxrelease/lib/libwx_gtk2u_core-2.8.a(corelib_utilsx11.o): undefined reference to symbol 'XGetWindowAttributes' //usr/lib/x86_64-linux-gnu/libX11.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Main.make:107: recipe for target 'truecrypt' failed make[1]: *** [truecrypt] Error 1 Makefile:268: recipe for target 'all' failed make: *** [all] Error 2