Page 1 of 1

Error in configure command in FileZilla compilation on Windows

Posted: 2020-04-23 17:57
by test
Hi!

I am compiling FileZilla on another Windows system as per the webpage https://wiki.filezilla-project.org/Comp ... er_Windows updated on 5 April 2020.

I have successfully compiled all the dependencies.

On running ./configure --with-pugixml=builtin command, the following error is obtained:

Code: Select all

configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
checking for pkg-config... /mingw64/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libfilezilla >= 0.17.1... yes
checking for wx-config... no
configure: error:
        wxWidgets must be installed on your system
        but either the wx-config script couldn't be found or
        no compatible wxWidgets configuration has been installed.

        Compatible wxWidgets configurations are the unicode builds
        of wxGTK, wxMac and wxMSW.

        Please check that wx-config is in path, the directory
        where wxWidgets libraries are installed (returned by
        'wx-config --libs' command) is in LD_LIBRARY_PATH or
        equivalent variable and wxWidgets version is 3.0.4 or above.
Kindly help
Thanks

Re: Error in configure command in FileZilla compilation on Windows

Posted: 2020-04-24 07:27
by botg
Looks like wxWidgets didn't get compiled and installed.

Re: Error in configure command in FileZilla compilation on Windows

Posted: 2020-04-25 06:10
by test
Hi!

The configure command worked successfully. Thanks!

But now, when I execute the make command , I get this error:

Code: Select all

local_recursive_operation.cpp: In member function 'void CLocalRecursiveOperation::entry()':
local_recursive_operation.cpp:200:93: error: no matching function for call to 'fz::local_filesys::get_next_file(fz::native_string&, bool&, bool&, int64_t*, fz::datetime*, int*)'
  200 |     while (fs.get_next_file(name, isLink, isDir, &entry.size, &entry.time, &entry.attributes)) {
      |                                                                                             ^
In file included from local_recursive_operation.cpp:4:
C:/msys64/home/....../prefix/include/libfilezilla/local_filesys.hpp:106:7: note: candidate: 'bool fz::local_filesys::get_next_file(fz::native_string&)'
  106 |  bool get_next_file(native_string& name);
      |       ^~~~~~~~~~~~~
C:/msys64/home/....../prefix/include/libfilezilla/local_filesys.hpp:106:7: note:   candidate expects 1 argument, 6 provided
C:/msys64/home/....../prefix/include/libfilezilla/local_filesys.hpp:117:7: note: candidate: 'bool fz::local_filesys::get_next_file(fz::native_string&, bool&, fz::local_filesys::type&, int64_t*, fz::datetime*, int*)'
  117 |  bool get_next_file(native_string& name, bool &is_link, type & t, int64_t* size, datetime* modification_time, int* mode);
      |       ^~~~~~~~~~~~~
C:/msys64/home/....../prefix/include/libfilezilla/local_filesys.hpp:117:64: note:   no known conversion for argument 3 from 'bool' to 'fz::local_filesys::type&'
  117 |  bool get_next_file(native_string& name, bool &is_link, type & t, int64_t* size, datetime* modification_time, int* mode);
      |                                                         ~~~~~~~^
make[4]: *** [Makefile:1818: filezilla-local_recursive_operation.o] Error 1
make[4]: Leaving directory '/home/....../filezilla/src/interface'
make[3]: *** [Makefile:3058: all-recursive] Error 1
make[3]: Leaving directory '/home/....../filezilla/src/interface'
make[2]: *** [Makefile:959: all] Error 2
make[2]: Leaving directory '/home/....../filezilla/src/interface'
make[1]: *** [Makefile:433: all-recursive] Error 1
make[1]: Leaving directory '/home/....../filezilla/src'
make: *** [Makefile:614: all-recursive] Error 1

Re: Error in configure command in FileZilla compilation on Windows

Posted: 2020-04-27 08:25
by botg
There has been an incompatible API change in the latest version of libfilezilla. You can either use the previous version of libfilezilla, or update your version of FileZilla to the latest release candidate.