Error compiling the latest filezilla on windows system

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
yangjian1851
500 Command not understood
Posts: 2
Joined: 2023-06-30 02:06
First name: yj
Last name: yj

Error compiling the latest filezilla on windows system

#1 Post by yangjian1851 » 2023-06-30 02:34

The following error message is displayed when the latest filezilla is compiled:

Administrator@HWL-2020 MINGW64 ~/filezilla
# make
Making all in locales
make[1]: Entering directory '/home/Administrator/filezilla/locales'
/home/Administrator/prefix/bin/wxrc -g -e ./../src/interface/resources/xrc/*.xrc > "resources.h~" || exit 1
make[1]: *** [Makefile:586: resources.h] Error 1
make[1]: Leaving directory '/home/Administrator/filezilla/locales'
make: *** [Makefile:636: all-recursive] Error 1

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

Re: Error compiling the latest filezilla on windows system

#2 Post by botg » 2023-06-30 06:56

Looks like you do not have a working wxrc. Make sure wxWidgets is installed correctly and the tool is usable.

yangjian1851
500 Command not understood
Posts: 2
Joined: 2023-06-30 02:06
First name: yj
Last name: yj

Compile successful, link error

#3 Post by yangjian1851 » 2023-07-05 09:48

I directly opened the FileZilla.sln file in vs2019 to compile, and the link error was as follows:
1>engine.lib(filetransfer.obj) : error LNK2001: 无法解析的外部符号 "public: enum fz::aio_result __cdecl fz::writer_base::finalize(class fz::event_handler &)" (?finalize@writer_base@fz@@QEAA?AW4aio_result@2@AEAVevent_handler@2@@Z)
1>engine.lib(filetransfer.obj) : error LNK2001: 无法解析的外部符号 "public: enum fz::aio_result __cdecl fz::writer_base::add_buffer(class fz::buffer_lease &&,class fz::event_handler &)" (?add_buffer@writer_base@fz@@QEAA?AW4aio_result@2@$$QEAVbuffer_lease@2@AEAVevent_handler@2@@Z)
1>engine.lib(filetransfer.obj) : error LNK2001: 无法解析的外部符号 "public: class fz::writer_factory_holder & __cdecl fz::writer_factory_holder::operator=(class fz::writer_factory_holder const &)" (??4writer_factory_holder@fz@@QEAAAEAV01@AEBV01@@Z)
1>engine.lib(filetransfer.obj) : error LNK2001: 无法解析的外部符号 "public: class fz::reader_factory_holder & __cdecl fz::reader_factory_holder::operator=(class fz::reader_factory_holder const &)" (??4reader_factory_holder@fz@@QEAAAEAV01@AEBV01@@Z)
1>..\bin\FileZilla.exe : fatal error LNK1120: 33 个无法解析的外部命令


The static library libfilezilla.lib is also compiled with vs2019, and the static library libfilezilla.lib is associated with libgnutls-30.lib; libhogweed-6.lib; The libnettle-8.lib library is generated by the tool dlltool

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

Re: Error compiling the latest filezilla on windows system

#4 Post by botg » 2023-07-05 18:06

Don't use Visual Studio. The only officially sanctioned way to compile FileZilla is through autotools-based build system.

Post Reply