Compiling FileZilla Server Using Visual Studio 2005
Posted: 2008-07-25 09:19
Hi.
I'm trying to build the FileZilla server using Visual Studio 2005 but are running into some problems.
1. When I first try to built the server it complains that it cannot find zlib.h
This obviously tells me that I need to build zlib. I have downloaded the zlib source and compiled it. I have also moved the zlib header files into the main FileZilla source directory.
2. When I next try to build the server it complains that it cannot find various files for the boot regex module.
This obviously tells me that I need to build boost. To temporarily test things I have commented out all code that refers to the regex module.
3. When I next try to build the server it complains that it cannot find zlib.lib
This makes sense I have not placed the library into the source directory. However, the problem I have is that when I build zlib it does not create a zlib.lib library. I have tried building both the static and dll versions but none of the libraries are called zlib.lib. I have tried renaming 'zlibstat.lib', 'zlibwapi.dll' and 'zlibwapi.lib' but none of these seem to work.
So. My first questions are:
a) What should I be building (static or dynamic)?
b) What file should I rename to zlib.lib?
4. Building Boost
Although this is off-topic. Does anybody have any experience building boost under Visual Studio as when I open the boost project? When I open the project and Visual Studio tries to update it I just get an error stating that the project is corrupted.
Any help would be greatly appreciated.
Regards,
Kev.
I'm trying to build the FileZilla server using Visual Studio 2005 but are running into some problems.
1. When I first try to built the server it complains that it cannot find zlib.h
This obviously tells me that I need to build zlib. I have downloaded the zlib source and compiled it. I have also moved the zlib header files into the main FileZilla source directory.
2. When I next try to build the server it complains that it cannot find various files for the boot regex module.
This obviously tells me that I need to build boost. To temporarily test things I have commented out all code that refers to the regex module.
3. When I next try to build the server it complains that it cannot find zlib.lib
This makes sense I have not placed the library into the source directory. However, the problem I have is that when I build zlib it does not create a zlib.lib library. I have tried building both the static and dll versions but none of the libraries are called zlib.lib. I have tried renaming 'zlibstat.lib', 'zlibwapi.dll' and 'zlibwapi.lib' but none of these seem to work.
So. My first questions are:
a) What should I be building (static or dynamic)?
b) What file should I rename to zlib.lib?
4. Building Boost
Although this is off-topic. Does anybody have any experience building boost under Visual Studio as when I open the boost project? When I open the project and Visual Studio tries to update it I just get an error stating that the project is corrupted.
Any help would be greatly appreciated.
Regards,
Kev.