Search found 269 matches

by stahta01
Sat Jul 13, 2019 6:45 am
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets 3.0.4 on Cygwin
Replies: 30
Views: 762

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: 30
Views: 762

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: 30
Views: 762

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: 30
Views: 762

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: 30
Views: 762

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: 30
Views: 762

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: 108

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: 11
Views: 445

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: 471

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: 471

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: 236

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...
by stahta01
Tue Mar 05, 2019 4:25 pm
Forum: Compiler / Linking / IDE Related
Topic: compiling wxWidgets on windows 10 with cygwin
Replies: 3
Views: 360

Re: compiling wxWidgets on windows 10 with cygwin

What Cygwin GCC are you using? Include 32 or 64 bit information.

With that I can see if I can duplicate the problem.

Edit: I also need the configure command used?

Tim S.
by stahta01
Thu Jan 24, 2019 3:39 am
Forum: Compiler / Linking / IDE Related
Topic: g++: error: c:/wxBuild/lib/libwx_mswu-3.1.a: No such file or directory
Replies: 12
Views: 354

Re: g++: error: c:/wxBuild/lib/libwx_mswu-3.1.a: No such file or directory

I will guess the wxWidgets build failed; if it did the cause was likely the "--enable-monolithic" option.
It takes a lot of memory to create an monolithic build of wxWidgets and it can often fail because of memory or command line too long issues.

Tim S.
by stahta01
Tue Jan 22, 2019 5:45 pm
Forum: Compiler / Linking / IDE Related
Topic: g++: error: c:/wxBuild/lib/libwx_mswu-3.1.a: No such file or directory
Replies: 12
Views: 354

Re: g++: error: c:/wxBuild/lib/libwx_mswu-3.1.a: No such file or directory

No. I don't use CygWin. No need to run configure??? I'll double check the procedure and let you know. Thanks again!!! If you did not use CygWin, MSys2, or MSys? Then the configure should not have worked without the use of an Unix like environment. Are you using a Unix like environment; if yes, whic...