Domanda

I am trying to compile the encfs port for windows (also see the git project). To be more precise, I have tried to compile it with MSYS, with Cygwin and with MSVC 2010. I had no success with either of these, each suffering from completely different problems. Before I give a complete rundown of any of these three quests and the issues involved, I wanted to ask if someone compiled this program successfully and could provide a step-by-step guide on how to compile encfs4win from source, assuming that we start with a completely vanilla windows 7.

È stato utile?

Soluzione

I have forked the original project to EncFS4win Reloaded. This allows 1-step build in Visual Studio 2015: just do encfs\encfs\encfs.sln > Build > Build Solution.

Libraries are pre-built, but you can also re-build in 1-step dokany and rlog. I also provide updated binaries.

This project solves all issues I've struggled with using the original (non Reloaded) project (fredy77) and forks (rustyx), including:

  • Missing libraries (especially rustyx fork): check you have dokan-dev/dokany, Win32 OpenSSL, Boost C++, rlog corresponding to the dependency paths
  • Unclear build instructions for Boost and Win32 OpenSLL: Do you really need to build these? The official sites provide pre-built libraries (and also build instructions, if you have time to loose or are paranoïd).
  • Update encfs > encfs1 properties > C/C++ > Additional Include Directories
  • Update encfs > encfs1 properties > Linker > Additional Library Directories
  • Update encfs > encfs1 properties > Linker > Input > Additional Dependencies
  • Timespec issue in VS2015, in several projects
  • And be careful about Debug vs Release builds and libraries.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top