problem building on CentOS 6

General support questions
Posts: 1
Joined: 2013/05/06 23:07:08

problem building on CentOS 6

Postby Scholtes » 2013/05/06 23:27:52

I have been able to install a working Linux console version of Truecrypt 7.1 on CentOS 6.3. I would like to build same from source.
I wanted to use CodeLite for my IDE, so I built wxWidgets 2.9.4 in /usr/src/wxWidgets (Codelite doesn't build with wxWidgets 2.8.12).
I downloaded the Truecrypt 7.1a Linux source.

After doing the following:
# su
$ cd /usr/src
$ mkdir pkcs11
$ cd pkcs11
$ wget*.h
$ export PKCS11_INC=/usr/local/src/truecrypt/pkcs/
$ cd ~/Documents/unz/Truecrypt-7.1a-source
$ make NOGUI=1 WX_ROOT=/usr/src/wxWidgets wxbuild

...I get some basic C++ compile errors:
Compiling CommandLineInterface.cpp
CommandLineInterface.cpp: In constructor ‘TrueCrypt::CommandLineInterface::CommandLineInterface(wxCmdLineParser&, TrueCrypt::UserInterfaceType::Enum)’:
CommandLineInterface.cpp:383: error: call of overloaded ‘FilesystemPath(wxString&)’ is ambiguous
/home/mike/Documents/unz/truecrypt-7.1a-source/Platform/FilesystemPath.h:38: note: candidates are: TrueCrypt::FilesystemPath::FilesystemPath(const wchar_t*)
/home/mike/Documents/unz/truecrypt-7.1a-source/Platform/FilesystemPath.h:36: note: TrueCrypt::FilesystemPath::FilesystemPath(const char*)
CommandLineInterface.cpp:474: error: call of overloaded ‘FilesystemPath(wxString)’ is ambiguous

I saw in the forum some guy got the same error in 2008 building on a non-supported dist. I really need to get this building.
All advice welcome.

Posts: 15
Joined: 2009/04/02 16:51:28
Location: France

problem building on CentOS 6

Postby CrayXMP » 2013/05/07 03:56:35

I really need to get this building.

Maybe you should try this package first: realcrypt on RPM Fusion ?
Except for the name, this is Truecrypt :
It does not differ from truecrypt in any other respect; in particular, no code relating to actual encryption or decryption is modified.