Search found 16 matches

by hamishmb
Thu Sep 05, 2019 2:14 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets 3.0.4 on Cygwin
Replies: 30
Views: 711

Re: Compiling wxWidgets 3.0.4 on Cygwin

Ignore this, there was a dependency issue where libEGL-devel needed to be installed after the package update.
by hamishmb
Thu Sep 05, 2019 10:18 am
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets 3.0.4 on Cygwin
Replies: 30
Views: 711

Re: Compiling wxWidgets 3.0.4 on Cygwin

So, I've now had some time to mess about with this again. I was just getting to make a cygport file, but after the upgrade I just did to cygwin, the openGL libraries aren't being found any more. I have no idea why, because they're all still there, but the build options that were working before have ...
by hamishmb
Tue Aug 06, 2019 8:30 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets 3.0.4 on Cygwin
Replies: 30
Views: 711

Re: Compiling wxWidgets 3.0.4 on Cygwin

Excellent, thanks again for all the help. This has been on the backburner for a while, but hopefully I'll have some time to work on this again soon.

It did build for GTK2 and GTK3 though, so I think you've resolved my problem :)
by hamishmb
Sat Jul 13, 2019 9:28 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets 3.0.4 on Cygwin
Replies: 30
Views: 711

Re: Compiling wxWidgets 3.0.4 on Cygwin

Looks like it worked - successfully compiled. I will try the demos when I have some more time :). I'll probably stick to 32-bit builds, because they'll work on 64-bit Windows, but not vice-versa. Thank you so much, I've been messing with this for a really long time and you figured it out really quic...
by hamishmb
Sat Jul 13, 2019 10:37 am
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets 3.0.4 on Cygwin
Replies: 30
Views: 711

Re: Compiling wxWidgets 3.0.4 on Cygwin

Hmm, I checked the arguments in the cygport file, but yes I want to build against GTK anyway, so that's cool. I sort of assumed that --with-gtk implies --with-x11, but maybe not.

I can't check this right now, but it sounds promising! Thank you so much, I will check when I get home :)
by hamishmb
Fri Jul 12, 2019 6:13 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets 3.0.4 on Cygwin
Replies: 30
Views: 711

Re: Compiling wxWidgets 3.0.4 on Cygwin

Are you sure you need X11? Are you sure this worked with wx 3.0.3? If yes, you may want to open a ticket at http://trac.wxwidgets.org This is probably a configuration that hardly anyone ever tests, so it's possible that it becomes broken unnoticed. Yeah, there is an official Cygwin package for 3.0....
by hamishmb
Fri Jul 12, 2019 3:22 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets 3.0.4 on Cygwin
Replies: 30
Views: 711

Re: Compiling wxWidgets 3.0.4 on Cygwin

Regardless, I'm pretty sure I need to compile with the --with-x11 flag in order to do what I need to do, which immediately takes me back to the pthread_setconcurrency error. I'm assuming somewhere in the header files or configure script it's assuming it's building for Windows, rather than a Unix-lik...
by hamishmb
Fri Jul 12, 2019 3:08 pm
Forum: Compiler / Linking / IDE Related
Topic: Cygwin error (undefined reference to `_IID_IPersistFile')
Replies: 6
Views: 3251

Re: Cygwin error (undefined reference to `_IID_IPersistFile')

Oops, I posted this in the wrong place, I meant to post it at viewtopic.php?f=19&t=46091&p=192688#p192688

I think I do, and I tried linking against them explicitly with "-lGLU" in the LDFLAGS variable, but it made no difference.
by hamishmb
Fri Jul 12, 2019 3:07 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets 3.0.4 on Cygwin
Replies: 30
Views: 711

Re: Compiling wxWidgets 3.0.4 on Cygwin

Oops, posted this in the wrong place. Okay, so using these options helped: CPPFLAGS='-w -fpermissive -D__USE_W32_SOCKETS' LDFLAGS='-L /lib/w32api/' ./configure --enable-debug But it now gets stuck a little bit later: g++ -shared -o /home/Hamish/wxwidgets-build/wxWidgets-3.0.4/lib/cygwxmsw30u_gl_gcc_...
by hamishmb
Fri Jul 12, 2019 2:00 pm
Forum: Compiler / Linking / IDE Related
Topic: Cygwin error (undefined reference to `_IID_IPersistFile')
Replies: 6
Views: 3251

Re: Cygwin error (undefined reference to `_IID_IPersistFile')

Okay, so using these options helped: CPPFLAGS='-w -fpermissive -D__USE_W32_SOCKETS' LDFLAGS='-L /lib/w32api/' ./configure --enable-debug But it now gets stuck a little bit later: g++ -shared -o /home/Hamish/wxwidgets-build/wxWidgets-3.0.4/lib/cygwxmsw30u_gl_gcc_custom-0.dll gldll_version_rc.o gldll_...
by hamishmb
Fri Jul 12, 2019 12:59 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets 3.0.4 on Cygwin
Replies: 30
Views: 711

Re: Compiling wxWidgets 3.0.4 on Cygwin

Okay, that got pretty far I think. It fails at (I think) the end with: g++ -shared -o /home/Hamish/wxwidgets-build/wxWidgets-3.0.4/lib/cygwxbase30u_gcc_custom-0.dll basedll_version_rc.o basedll_any.o basedll_appbase.o basedll_arcall.o basedll_arcfind.o basedll_archive.o basedll_arrstr.o basedll_base...
by hamishmb
Fri Jul 12, 2019 12:53 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets 3.0.4 on Cygwin
Replies: 30
Views: 711

Re: Compiling wxWidgets 3.0.4 on Cygwin

That's newer than wxWidgets 3.0.4, which sometimes causes issues. Thanks, good to know. I might be able to use an older compiler, but I'll see if this works - still building. Compiling in Cygwin in a VM is dead slow :lol: Can you try with wxWidgets 3.1.2 or the latest version from GIT? I would sugg...
by hamishmb
Fri Jul 12, 2019 12:36 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets 3.0.4 on Cygwin
Replies: 30
Views: 711

Re: Compiling wxWidgets 3.0.4 on Cygwin

I'm using cygwin because I'm attempting to port my Linux/macOS-based GUI to Windows, and it also has dependencies that must be run in cygwin (GNU ddrescue), so I figure running the whole lot in Cygwin is probably the way to go. I want to build this to build wxPython for Python 3 under Cygwin - that ...
by hamishmb
Fri Jul 12, 2019 10:56 am
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets 3.0.4 on Cygwin
Replies: 30
Views: 711

Re: Compiling wxWidgets 3.0.4 on Cygwin

CORRECTION: I tried each of these options with ./configure: ../configure --with-x11 --enable-debug --enable-unicode --with-opengl ../configure --with-x11 --enable-debug --enable-unicode --with-opengl --with-libjpeg=builtin --with-regex=builtin --with-tiff=builtin --enable-xrc --disable-precomp-heade...
by hamishmb
Fri Jul 12, 2019 10:46 am
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets 3.0.4 on Cygwin
Replies: 30
Views: 711

Re: Compiling wxWidgets 3.0.4 on Cygwin

Hi, I did use configure. Here are the steps I followed: Unpack the source for wxwidgets 3.0.4. Make a build dir for the base (trying a minimal build first). (mkdir base && cd base) Run "../configure --enable-compat26 --enable-optimise --enable-shared --enable-unicode --disable-gui --disable-rpath --...