linuxg++truecryptlibfuse

Building TrueCrypt from source on Linux - Error: fuse: bad mount point / invalid characters encountered


When building TrueCrypt 7.1a from source code on Linux, the following errors occur:

The following software and versions are used:

To comply with libfuse, I have change FuseService.cpp follows:

How can the errors be resolved?


Solution

  • libfuse is fed with erroneous input data in Process.cpp. The problem is solved by replacing the legacy/internal foreach construct in lines 55-58 with a valid C++ statement:

    for (list<string>::const_iterator it = arguments.begin(); it != arguments.end(); it++)
    {
        args[argIndex++] = const_cast <char*> (it->c_str());
    }