Run and Compile fillezilla server source code

Moderator: Project members

Message
Author
User avatar
botg
Site Admin
Posts: 31886
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Run and Compile fillezilla server source code

#16 Post by botg » 2015-10-06 19:19

Samer wrote:I just use the source code from the installation of filezilla server , how can I get the source code from the trunk is there any command for that . Thanks a lot
You can fetch it with any Subversion client using the URL I posted in my previous post.

Samer
503 Bad sequence of commands
Posts: 18
Joined: 2015-09-29 03:48
First name: Samer
Last name: khamaiseh

Re: Run and Compile fillezilla server source code

#17 Post by Samer » 2015-10-07 04:32

Dear Mr Tim
for the openssl there are building with static library and with DLL which one I need ? other question please what you mean by "ZlibStatReleaseWithoutAsm"

Thanks a lot

User avatar
botg
Site Admin
Posts: 31886
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Run and Compile fillezilla server source code

#18 Post by botg » 2015-10-07 06:15

for the openssl there are building with static library and with DLL which one I need ?
I build OpenSSL DLLs with the static multithreaded runtime library. That's the runtime using the /MT compiler option.
other question please what you mean by "ZlibStatReleaseWithoutAsm"
Zlib built as static library in Release configuration, built without using inline assembly. It's one of the configurations offered by the Visual Studio project files for Zlib.

Samer
503 Bad sequence of commands
Posts: 18
Joined: 2015-09-29 03:48
First name: Samer
Last name: khamaiseh

Re: Run and Compile fillezilla server source code

#19 Post by Samer » 2015-10-07 19:12

Thanks a lot for your respond , Dear Mr Tim . I have Question please according to this site there are two building steps for opessl " http://p-nand-q.com/programming/windows ... _2013.html " one DDL building and one static library I have to do both or what ? because I do not understand what you said in the last post , which version I have to use 32 or 64 bit ? thanks a lot

User avatar
botg
Site Admin
Posts: 31886
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Run and Compile fillezilla server source code

#20 Post by botg » 2015-10-08 16:48

You'll need the DLL, but built against the static runtime. For the latter it should suffice to replace the runtime flag in the makefile with /MT using your favorite text editor.

Samer
503 Bad sequence of commands
Posts: 18
Joined: 2015-09-29 03:48
First name: Samer
Last name: khamaiseh

Re: Run and Compile fillezilla server source code

#21 Post by Samer » 2015-10-09 07:30

Thanks a lot for your last response, you mean I have to use Building the 32-bit Release DLL for Openssl and then make sure the filezilla server in the VS runtime is MT ?
thanks a lot

User avatar
botg
Site Admin
Posts: 31886
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Run and Compile fillezilla server source code

#22 Post by botg » 2015-10-09 07:58

Almost, you also need to make sure the OpenSSL DLLs are built with /MT.

frjd
500 Command not understood
Posts: 2
Joined: 2019-03-08 11:54

Re: Run and Compile fillezilla server source code

#23 Post by frjd » 2019-03-08 11:59

What version/source do you use for Openssl? I have tried a few versions now but all give compile errors.

It would be nice if all the right dependencies (zlib, openssl) also was on the project svn.

frjd
500 Command not understood
Posts: 2
Joined: 2019-03-08 11:54

Re: Run and Compile fillezilla server source code

#24 Post by frjd » 2019-03-08 12:35

Got one step further.

Found "Updated OpenSSL to 1.0.2k" in https://filezilla-project.org/versions.php?type=server
Got: https://ftp.openssl.org/source/old/1.0.2/ And extracted the needed .h files.

Now it seems to compile, but I now need the filezillalib.lib

Trying to compile I now have more missing files.

#include <nettle/aes.h>
#include <nettle/ctr.h>
#include <nettle/curve25519.h>
#include <nettle/gcm.h>
#include <nettle/pbkdf2.h>
#include <nettle/sha2.h>
#include <nettle/version.h>

I got nettle and now I get these errors:

1>s:\programmer\filezillalib\trunk\lib\version.cpp(1): fatal error C1083: Cannot open include file: 'libfilezilla/version.hpp': No such file or directory
1>s:\programmer\filezillalib\trunk\lib\encryption.cpp(15): fatal error C1083: Cannot open include file: 'nettle/version.h': No such file or directory

Both files are missing but a .in version exist. If I rename these to the "right" name (dont know if thats the right way? why are they called .in) I get new compiler errors.

1>s:\programmer\filezillalib\trunk\lib\version.cpp(11): error C2018: unknown character '0x40'
1>s:\programmer\filezillalib\trunk\lib\version.cpp(11): error C2065: 'PACKAGE_VERSION_MAJOR': undeclared identifier
1>s:\programmer\filezillalib\trunk\lib\version.cpp(11): error C2065: 'PACKAGE_VERSION_MINOR': undeclared identifier
1>s:\programmer\filezillalib\trunk\lib\version.cpp(11): error C2065: 'PACKAGE_VERSION_MICRO': undeclared identifier
1>s:\programmer\filezillalib\trunk\lib\version.cpp(11): error C2065: 'PACKAGE_VERSION_NANO': undeclared identifier
1>s:\programmer\filezillalib\trunk\nettle\version.h(49): error C2018: unknown character '0x40' (compiling source file encryption.cpp)
1>s:\programmer\filezillalib\trunk\lib\encryption.cpp(17): error C2018: unknown character '0x40'
1>s:\programmer\filezillalib\trunk\lib\encryption.cpp(242): error C2018: unknown character '0x40'
1>Done building project "libfilezilla.vcxproj" -- FAILED.

Post Reply