Run and Compile fillezilla server source code

Moderator: Project members

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

Run and Compile fillezilla server source code

#1 Post by Samer » 2015-09-29 03:51

Dear All
can anybody help me to compile and run fillezilla server source code by using visual studio . I really need help in that

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

Re: Run and Compile fillezilla server source code

#2 Post by botg » 2015-09-29 10:54

Just setup the paths to the dependencies in Dependencies.props, then open the solution and build it. Make sure both FZ and all dependencies are built using the same runtime library.

After that's done you can build the installer using NSIS Unicode.

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

#3 Post by Samer » 2015-10-04 01:15

I am still new in this area , I tried to compile and run fillzilla server by using visual studio 2015 trial version , I did everything booster and zlib but the problem when I tried to build it told me Enable to start FZS.exe program . can anyone give me the steps to build and run the fillzilla server by using visual studio please I really need help .

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

#4 Post by Samer » 2015-10-04 03:50

Thanks for your response , can you please explain the steps to compile it and run it by Using VS2015 , I used the steps that mentioned in here "viewtopic.php?t=7493" but with no luck . please help

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

Re: Run and Compile fillezilla server source code

#5 Post by botg » 2015-10-04 07:18

Don't follow the old instructions, they are severely outdated and no longer valid.

Compile OpenSSL and zlib (make sure to select the same runtime FZS eventually uses, otherwise things won't link together) and set the paths in Dependencies.props, that's all you need to do to prepare compilation of FileZilla Server with Visual Studio 2015.

User avatar
boco
Contributor
Posts: 26913
Joined: 2006-05-01 03:28
Location: Germany

Re: Run and Compile fillezilla server source code

#6 Post by boco » 2015-10-04 14:38

Do you mean Trial of VS (which could be limited and asking to activate) or the Community Edition of VS (which is not a Trial)?
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

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

#7 Post by Samer » 2015-10-05 00:22

Thanks a lot for your response , actually I look to the code to find Dependencies.prop but I did not find it I find "Dependencies.props.example" , my question first I have to compile zlib by using VS2015 and then compile openssl and then import FZ source code to VS and try to build it . can you please describe to me what kind of updates I have to make in Dependencies.prop can you please tell me in that , in addition when I tried to import the latest version of source code to the VS2015 the modules FZI and services and GFT cannot be loaded can you please help me in that . I really need your help I am ready for everything . thanks a lot

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

#8 Post by Samer » 2015-10-05 03:42

Dear All
After I import the the latest version of the filezilla server source code into VS2013 Trial version , " I changed from 2015 to 2013" I got many errors in different classes the main errors is " #include <stdafx.h> " cannot open source file in addition I got many compiliation errors such as
1-IntelliSense: identifier "StyleUnderline" is undefined e:\FileZilla Server\source\interface\misc\HyperLink.cpp FileZilla Server Interface
2- IntelliSense: explicit type is missing ('int' assumed) e:\FileZilla Server\source\interface\misc\HyperLink.cpp 60 1 FileZilla Server Interface and others in different class can you please tell me how to solve these issues .

thanks a lot

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

Re: Run and Compile fillezilla server source code

#9 Post by botg » 2015-10-05 07:57

You can't use VS 2013 anymore, FZS requires VS 2015.
import FZ source code to VS and try to build it
You don't need to import it. There's already a solution file in the source.
can you please describe to me what kind of updates I have to make in Dependencies.prop
There are five example paths in Dependencies.props(.example) which you need to replace with the real paths. That's all.

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

#10 Post by Samer » 2015-10-05 18:52

Thanks a lot for your response then I will install VS 2015 trail version, but I have question please what about the compilation errors appeared in the classes like this , ignore these errors or what .
1- #include <stdafx.h> " cannot open source file in addition
2-IntelliSense: identifier "StyleUnderline" is undefined e:\FileZilla Server\source\interface\misc\HyperLink.cpp FileZilla Server Interface
3- IntelliSense: explicit type is missing ('int' assumed) e:\FileZilla Server\source\interface\misc\HyperLink.cpp and others ..

thanks a lot

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

Re: Run and Compile fillezilla server source code

#11 Post by botg » 2015-10-05 22:04

They are probably the result of not using VS 2015.

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

#12 Post by Samer » 2015-10-05 23:35

Thanks a lot for your response , but I actually these errors appeared also in the VS 2015 professional can you help me in that

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

#13 Post by Samer » 2015-10-06 03:16

Dear Mr Tim

I really appreciated your answers , and I really need your help , I have question please after open the solution on the VS 2015 professional seems everything is ok but when I compile the solution I got the following error
" Severity Code Description Project File Line
Error (active) cannot open source file "stdafx.h" FileZilla Server Interface e:\FileZilla ServerNew\source\interface\misc\HyperLink.cpp 13 "

Can you please help me in this

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

Re: Run and Compile fillezilla server source code

#14 Post by botg » 2015-10-06 07:09

Which version of FileZilla Server are you trying to compile?

Have you yet tried the latest revision from the SVN repository? (https://svn.filezilla-project.org/svn/F ... ver/trunk/)

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

#15 Post by Samer » 2015-10-06 18:08

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

Post Reply