Search found 258 matches

by stahta01
Mon Jul 15, 2019 11:12 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets 3.0.4 on Cygwin
Replies: 27
Views: 330

Re: Compiling wxWidgets 3.0.4 on Cygwin

If you are still trying to build wxX11 see https://trac.wxwidgets.org/ticket/16813

Edit adding configure option --enable-monolithic should avoid this build error.

Tim S.
by stahta01
Sun Jul 14, 2019 12:19 am
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets 3.0.4 on Cygwin
Replies: 27
Views: 330

Re: Compiling wxWidgets 3.0.4 on Cygwin

According to wxWidgets docs that I have read in the past 24 hour. Cygwin (Native GCC) should be able to build three wx toolkits wxGTK wxX11 wxMotif Once, I get all three of them to build using Cygwin 32 bit. I will create the updated documentation and do a Pull Request. By then, I will likely know i...
by stahta01
Sat Jul 13, 2019 5:15 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets 3.0.4 on Cygwin
Replies: 27
Views: 330

Re: Compiling wxWidgets 3.0.4 on Cygwin

Maybe it's time to ask on the mailing list / Google group where you can reach the core developers: https://groups.google.com/forum/#!forum/wx-users Noop, I would not ask there; till I fail to make progress. Already got the OP fix and the same fix works on wx 3.0 git branch. Edit: I am one of the fe...
by stahta01
Sat Jul 13, 2019 4:58 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets 3.0.4 on Cygwin
Replies: 27
Views: 330

Re: Compiling wxWidgets 3.0.4 on Cygwin

wxWidgets git master needed the below command to build wx base library; still building core and the other libs. Edit: Just error-ed out with new error building wx core lib. The error looks to be 64 bit only issue. CPPFLAGS='-D_GNU_SOURCE' \ ../configure --with-gtk --enable-debug --enable-unicode --w...
by stahta01
Sat Jul 13, 2019 6:45 am
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets 3.0.4 on Cygwin
Replies: 27
Views: 330

Re: Compiling wxWidgets 3.0.4 on Cygwin

Code: Select all

CPPFLAGS='-D_XOPEN_SOURCE=500 -D_DEFAULT_SOURCE'  ../configure --with-gtk --enable-debug --enable-unicode --with-opengl
I think I have gotten your problem fixed; too tired to test it to be sure.

The above should work with "--with-gtk" replaced with "--with-x11"

Tim S.
by stahta01
Sat Jul 13, 2019 3:33 am
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets 3.0.4 on Cygwin
Replies: 27
Views: 330

Re: Compiling wxWidgets 3.0.4 on Cygwin

Looking at Cygwin headers "sys/features.h" and "pthread.h" I think that _XOPEN_SOURCE=500 is needed.

Edit: Add old wiki page that needs updated; if, I can find out how to build wxWidgets under Cygwin.
https://wiki.wxwidgets.org/Cygwin

Tim S.
by stahta01
Sat Jul 13, 2019 1:26 am
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets 3.0.4 on Cygwin
Replies: 27
Views: 330

Re: Compiling wxWidgets 3.0.4 on Cygwin

Cygwin 64 bit had build issues for wxX11; I suggest you try wxGTK instead. No idea whether 64 bit or 32 bit would be better. Edit: Added example build command. Edit2: Add --disable-precomp-headers ../configure --with-gtk --enable-debug --enable-unicode --with-opengl --disable-precomp-headers Edit: A...
by stahta01
Sat Jul 13, 2019 12:55 am
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets 3.0.4 on Cygwin
Replies: 27
Views: 330

Re: Compiling wxWidgets 3.0.4 on Cygwin

official Cygwin package for 3.0.3 that was built with --with-x11
False, there is a official Cygwin package for 3.0.3 that was built with GTK that uses x11.

Tim S.
by stahta01
Fri Jul 12, 2019 4:42 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets 3.0.4 on Cygwin
Replies: 27
Views: 330

Re: Compiling wxWidgets 3.0.4 on Cygwin

What OpenGL libs did you install in Cygwin?

Edit: I am trying mesa library
by stahta01
Fri Jul 12, 2019 4:34 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets 3.0.4 on Cygwin
Replies: 27
Views: 330

Re: Compiling wxWidgets 3.0.4 on Cygwin

What do you get at this stage before typing make? Configured wxWidgets 3.0.4 for `x86_64-unknown-cygwin' Which GUI toolkit should wxWidgets use? x11 Should wxWidgets be compiled into single library? no Should wxWidgets be linked as a shared library? yes Should wxWidgets support Unicode? yes (using w...
by stahta01
Wed Jun 12, 2019 2:38 am
Forum: Compiler / Linking / IDE Related
Topic: Is it possible to copy elements from one wxFrame to another in CodeBlock?
Replies: 1
Views: 73

Re: Is it possible to copy elements from one wxFrame to another in CodeBlock?

No idea on the answer; but, I am amazed that so many off topic Code::Blocks questions are asked on this website. And, how many off topic C or C++ programming questions are asked on the Code::Blocks website. I suggest asking the wxSmith and Code::Blocks questions on the Code::Blocks website. Please d...
by stahta01
Tue May 28, 2019 5:29 am
Forum: Compiler / Linking / IDE Related
Topic: Code:Blocks + Gcc skeleton application = 50+ depreciated warnings?
Replies: 10
Views: 279

Re: Code:Blocks + Gcc skeleton application = 50+ depreciated warnings?

If you wish your code to work with wxWidgets 3.2 and above you need to take them seriously.
Note: wxWidgets 3.2 does not exist at this time.

Tim S.
by stahta01
Tue Apr 02, 2019 8:27 pm
Forum: Compiler / Linking / IDE Related
Topic: [solved] Failing to build wxWidgets using MSYS2
Replies: 9
Views: 308

Re: Failing to build wxWidgets using MSYS2

Micheus wrote:
Tue Apr 02, 2019 7:05 pm
stahta01 wrote:
Tue Apr 02, 2019 7:01 pm
When using MSys2, you can build via configure/make.
You can use wxMSW or wxGTK. Note: wxGTK is not yet stable.
The wxMSW is OK for me. I'm going to give it a try.

Thanks.
If building using configure/make instead of pacman packages; read msys2-msw.md under docs/msw

Tim S.
by stahta01
Tue Apr 02, 2019 7:01 pm
Forum: Compiler / Linking / IDE Related
Topic: [solved] Failing to build wxWidgets using MSYS2
Replies: 9
Views: 308

Re: Failing to build wxWidgets using MSYS2

When using MSys2, you can build via configure/make.
You can use wxMSW or wxGTK. Note: wxGTK is not yet stable.

Tim S.
by stahta01
Fri Mar 15, 2019 4:08 pm
Forum: Compiler / Linking / IDE Related
Topic: wxwidget not installing properly
Replies: 3
Views: 172

Re: wxwidget not installing properly

Hi, Also as a suggestion - tsake out "MONOLITHIC = 1". While still supported, it may (or may not) give issues in the future. Thank you. Warning on Windows you need to delete all the files that were built when changing the value of MONOLITHIC. So, before changing MONOLITHIC do an clean and I would d...