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.
Asked
Active
Viewed 1,069 times
4
-
The first thing I notice when I look at the `encfs4win` project page you linked is "*I’m trying to port EncFS project to Windows…. hope this Git repo could help me (and others) to get it done*". In other words, it doesn't seem to be working yet. If this description is accurate it's no wonder you can't compile it. – syam Sep 24 '13 at 22:29
-
@syam He has binaries on the [project homepage](http://members.ferrara.linux.it/freddy77/encfs.html) which I now also linked in my post. That suggests that there is some way to compile it from source to executable, and I thought it should be hidden in the GIT project somewhere. – Jesko Hüttenhain Sep 24 '13 at 22:37
-
Looks that I was wrong then, my bad. The git repo's description seems to be misleading indeed compared to the project home page. – syam Sep 24 '13 at 22:48
1 Answers
0
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.

Community
- 1
- 1

KrisWebDev
- 9,342
- 4
- 39
- 59