Something else. Even after installing wxWidgets 3.0.1, I can't issue the configure command for Filezilla because it says the requested build 3.0.1 can't be found as I'm still on 2.8. The latest lib packages I can find online are also 2.8.botg wrote:That's odd. In particular the nettle-dev package is for Linux and not cross-compiled for Windows.- For installing GnuTLS, I needed the nettle-dev package.
Howto: Compiling FileZilla 3 under Windows
Moderator: Project members
Re: Howto: Compiling FileZilla 3 under Windows
Re: Howto: Compiling FileZilla 3 under Windows
If it helps it all, I was able to solve the compiler hanging problems (under Windows) by getting rid of precompiled headers (I forget the configure option, but it was obvious when you look for it). There are other problems, though (to be detailed in another post).
Re: Howto: Compiling FileZilla 3 under Windows
I'm compiling in Linux for Windows. The wxWidgets that installs is not 3.0.1 in the compiler's eyes, its 2.8 for some reason, and its keeping me from compiling Filezilla.kenh wrote:If it helps it all, I was able to solve the compiler hanging problems (under Windows) by getting rid of precompiled headers (I forget the configure option, but it was obvious when you look for it). There are other problems, though (to be detailed in another post).
Re: Howto: Compiling FileZilla 3 under Windows
See https://wiki.filezilla-project.org/Cros ... _GNU/Linux for cross-compilation instructions.FileGamer wrote: I'm compiling in Linux for Windows. The wxWidgets that installs is not 3.0.1 in the compiler's eyes, its 2.8 for some reason, and its keeping me from compiling Filezilla.
Re: Howto: Compiling FileZilla 3 under Windows
Yes, that's the article I've been following. The problem comes up following those instructions. It just so happened that me talking about compiling in Linux poured into this topic from other posts I had here. Technically, it is for Windows, so I kept posting in this topic. Any idea how to fix this wxWidgets error?botg wrote:See https://wiki.filezilla-project.org/Cros ... _GNU/Linux for cross-compilation instructions.FileGamer wrote: I'm compiling in Linux for Windows. The wxWidgets that installs is not 3.0.1 in the compiler's eyes, its 2.8 for some reason, and its keeping me from compiling Filezilla.
Re: Howto: Compiling FileZilla 3 under Windows
You're either not cross-compiling or you have downloaded and compiled and installed the wrong wx version.
Re: Howto: Compiling FileZilla 3 under Windows
I installed right from the cross compiling wiki page which was 3.0.1.botg wrote:You're either not cross-compiling or you have downloaded and compiled and installed the wrong wx version.
Re: Howto: Compiling FileZilla 3 under Windows
When wxWidgets 3.0.1 installs, it sets the compatibility to 'yes' for wxWidgets 2.8. The Filezilla code requires 3.0.1 and above. This is the problem we're running into.FileGamer wrote:I installed right from the cross compiling wiki page which was 3.0.1.botg wrote:You're either not cross-compiling or you have downloaded and compiled and installed the wrong wx version.
Re: Howto: Compiling FileZilla 3 under Windows
The wxWidgets that installs is not 3.0.1 in the compiler's eyes, its 2.8 for some reason
While it has some 2.8 compatibility, it still reports itself as 3.0.1. If at some other place 2.8 is being detected, it means that the 3.0.1 version has not been installed correctly.When wxWidgets 3.0.1 installs, it sets the compatibility to 'yes' for wxWidgets 2.8. The Filezilla code requires 3.0.1 and above. This is the problem we're running into.
Re: Howto: Compiling FileZilla 3 under Windows
Well, I followed what the wiki article says. How do I go about installing 3.0.1 "correctly" then?botg wrote:The wxWidgets that installs is not 3.0.1 in the compiler's eyes, its 2.8 for some reasonWhile it has some 2.8 compatibility, it still reports itself as 3.0.1. If at some other place 2.8 is being detected, it means that the 3.0.1 version has not been installed correctly.When wxWidgets 3.0.1 installs, it sets the compatibility to 'yes' for wxWidgets 2.8. The Filezilla code requires 3.0.1 and above. This is the problem we're running into.
Re: Howto: Compiling FileZilla 3 under Windows
What's the output of the following three commands:
Code: Select all
which wx-config
wx-config --list
wx-config --cppflags
Re: Howto: Compiling FileZilla 3 under Windows
which wx-config:botg wrote:What's the output of the following three commands:
Code: Select all
which wx-config wx-config --list wx-config --cppflags
/usr/bin/wx-config
wx-config --list:
Default config is gtk2-unicode-release-2.8
Default config will be used for output
Alternate matches:
base-unicode-release-2.8
wx-config --cppflags:
-I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__
Re: Howto: Compiling FileZilla 3 under Windows
Yup. You didn't compile and install wx 3 correctly. In fact it doesn't seem to be there at all. Have you even setup your environment variables?
Re: Howto: Compiling FileZilla 3 under Windows
I did whatever the wiki article says to do. Alright, well how do i uninstall whatever wx is there and install the correct wx 3?botg wrote:Yup. You didn't compile and install wx 3 correctly. In fact it doesn't seem to be there at all. Have you even setup your environment variables?
Re: Howto: Compiling FileZilla 3 under Windows
Let's start with your environment first.
Do you have the PATH, CPPFLAGS, LDFLAGS and PKG_CONFIG_PATH variables set as mentioned in the guide? Note that these variables need to be set anew if you ever close the shell.
Do you have the PATH, CPPFLAGS, LDFLAGS and PKG_CONFIG_PATH variables set as mentioned in the guide? Note that these variables need to be set anew if you ever close the shell.