Search found 12 matches

by rexdf
2015-05-03 10:31
Forum: FileZilla and FileZilla Server Development
Topic: Why is the filezilla.exe sometimes in src/interface folder?
Replies: 13
Views: 6583

Re: Why is the filezilla.exe sometimes in src/interface folder?

New wiki page: https://wiki.filezilla-project.org/FileZilla_Wiki:Build_Filezilla_on_msys2 Build as https://wiki.filezilla-project.org/Compiling_FileZilla_3_under_Windows will fail. We need to patch two files. checking for whether we need -stdlib=libc++... no checking for whether we can include <unor...
by rexdf
2015-05-03 08:59
Forum: FileZilla and FileZilla Server Development
Topic: Why is the filezilla.exe sometimes in src/interface folder?
Replies: 13
Views: 6583

Re: Why is the filezilla.exe sometimes in src/interface folder?

Done. -static-libgcc -Wl,-Bstatic -lstdc++ -lpthread -Wl,-Bdynamic can remove dependency on libwinpthread-1.dll. Now my build on msys2 has no extra dll dependency. Can I make a wiki page? http://i.rexdf.org/images/filezilla_my.png PS: Why is the toolbar icon a bit different from offical build? http:...
by rexdf
2015-05-03 07:19
Forum: FileZilla and FileZilla Server Development
Topic: Why is the filezilla.exe sometimes in src/interface folder?
Replies: 13
Views: 6583

Re: Why is the filezilla.exe sometimes in src/interface folder?

-static-libstdc++ bring in the LIBWINPTHREAD-1.DLL. // mutex example #include <iostream> // std::cout #include <thread> // std::thread #include <mutex> // std::mutex std::mutex mtx; // mutex for critical section void print_block (int n, char c) { // critical section (exclusive access to std::cout si...
by rexdf
2015-05-02 17:02
Forum: FileZilla and FileZilla Server Development
Topic: Why is the filezilla.exe sometimes in src/interface folder?
Replies: 13
Views: 6583

Re: Why is the filezilla.exe sometimes in src/interface folder?

Now my build has only one libwinpthread-1.dll needed. ( I think gnutls bring in it.) If I filezilla cannot find libwinpthread-1.dll, it complains about `Program cannot start as normal 0xc000007b. Click Ok to close program.` It is a bit different from libpng16-16.dll libtasn1-6.dll etc which will tel...
by rexdf
2015-05-02 12:18
Forum: FileZilla and FileZilla Server Development
Topic: Why is the filezilla.exe sometimes in src/interface folder?
Replies: 13
Views: 6583

Re: Why is the filezilla.exe sometimes in src/interface folder?

I built win32 thread according to wiki page before.

But the msys2 with Thread model: posix can build filezilla and it seems to work quite well(I mean that if I copy libwinpthread-1.dll with filezilla, I can start filezilla and upload & download via ftp). Is it instability?
by rexdf
2015-05-02 11:03
Forum: FileZilla and FileZilla Server Development
Topic: Why is the filezilla.exe sometimes in src/interface folder?
Replies: 13
Views: 6583

Re: Why is the filezilla.exe sometimes in src/interface folder?

My build sript is here https://github.com/rexdf/build_filezilla_on_msys2/blob/master/build.sh . $ libtool --version libtool (GNU libtool) 2.4.6 Written by Gordon Matzigkeit, 1996 Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is ...
by rexdf
2015-05-02 06:51
Forum: FileZilla and FileZilla Server Development
Topic: Why is the filezilla.exe sometimes in src/interface folder?
Replies: 13
Views: 6583

Why is the filezilla.exe sometimes in src/interface folder?

I don't know why sometimes my building filezilla.exe is in src/interface but not src/interface/.libs. And the directory src/interface/.libs is empty. So both striping and Compiling the installer script failed

But I copy and strip manually filezilla.exe. It can start as normal.

What's wrong?
by rexdf
2015-04-28 18:54
Forum: FileZilla and FileZilla Server Development
Topic: How can I link against libwx_baseu_net-3.0-i686-w64-mingw32.a?
Replies: 1
Views: 1969

How can I link against libwx_baseu_net-3.0-i686-w64-mingw32.a?

I use the following code to build wx3 and get an HOST_SUFFIX for wx3 library. pushd wx3 ./configure --host=i686-w64-mingw32 --prefix=${PRE_BUILD_PATH} --enable-static --disable-shared --enable-unicode CPPFLAGS="-I${PRE_BUILD_PATH}/include" LDFLAGS="-L${PRE_BUILD_PATH}/lib" make make install popd rm ...
by rexdf
2015-04-28 16:58
Forum: FileZilla and FileZilla Server Development
Topic: Cannot locate _ZNKSt8_detail20_Prime_rehash_policy11_M_next_bktEj on filezilla.exe
Replies: 1
Views: 2127

Cannot locate _ZNKSt8_detail20_Prime_rehash_policy11_M_next_bktEj on filezilla.exe

Another problem is `Cannot locate _ZNKSt8_detail20_Prime_rehash_policy11_M_next_bktEj on filezilla.exe`.

It depends on mingw/bin/libstdc++-6.dll.

Can I make filezilla a static one?
by rexdf
2015-04-28 16:29
Forum: FileZilla and FileZilla Server Development
Topic: cc1plus.exe has stopped working
Replies: 2
Views: 3345

Re: cc1plus.exe has stopped working

Thanks, it worked like a charm.
by rexdf
2015-04-27 06:53
Forum: FileZilla and FileZilla Server Development
Topic: cc1plus.exe has stopped working
Replies: 2
Views: 3345

cc1plus.exe has stopped working

make[4]: Entering directory `/home/myname/filezilla/src/interface' g++ -DHAVE_CONFIG_H -I. -I../../src/include -I./../include -I/usr/local/lib/wx/ include/msw-unicode-static-3.0 -I/usr/local/include/wx-3.0 -D_FILE_OFFSET_BITS=6 4 -D__WXMSW__ -ID:/msys/local/include -fpch-preprocess -g -O2 -Wall -g ...