Search found 4421 matches

by ONEEYEMAN
Fri Oct 23, 2020 9:28 pm
Forum: Compiler / Linking / IDE Related
Topic: wx-config gives wrong include path
Replies: 7
Views: 64

Re: wx-config gives wrong include path

Hi, Something is a miss here wxWidgets is compiled in a release mode, while you application is using debug mode. Are you trying to compile by hand? Please make sure you use an appropriate wx-config version with --cxxflags/--libs options. Check that you have only one wx-config on the system and it is...
by ONEEYEMAN
Fri Oct 23, 2020 8:07 pm
Forum: Compiler / Linking / IDE Related
Topic: wx-config gives wrong include path
Replies: 7
Views: 64

Re: wx-config gives wrong include path

Hi, You didn't set any C{XX}/LD-FLAFS? BTW, you should be using "wx-config -cxxflags" for c++ code, and not "wx-config --cflags". This will give more accurate values as cxxflags is for c++, while cflags is for c code. Also, what command is executed while building wx samples and your code? And I pres...
by ONEEYEMAN
Fri Oct 23, 2020 7:53 pm
Forum: Compiler / Linking / IDE Related
Topic: wx-config gives wrong include path
Replies: 7
Views: 64

Re: wx-config gives wrong include path

Hi,
What was the exact configure command you used?

Thank you.
by ONEEYEMAN
Fri Oct 23, 2020 3:21 pm
Forum: Platform Related Issues
Topic: Building 64 bit library on Unix with configure.
Replies: 7
Views: 105

Re: Building 64 bit library on Unix with configure.

Tim,
I am setting it through CXXFLAGS variable.

You know any other way?

Thank you.

P.s. do you have solaris compiler installed?
by ONEEYEMAN
Fri Oct 23, 2020 8:12 am
Forum: Platform Related Issues
Topic: Building 64 bit library on Unix with configure.
Replies: 7
Views: 105

Re: Building 64 bit library on Unix with configure.

Tim, I just tried to build 64-bit of the 3.1.3 version. It went further but stops with another problem: /export/home/igor/wxWidgets-3.1.3/buildSol/bk-deps CC -c -o coredll_paletteg.o -D__WXGTK__ -DWXBUILDING -I../src/regex -DWXUSINGDLL -DWXMAKINGDLL_CORE -DwxUSE_BASE=0 -KPIC -DPIC -D_FILE_OFFSET_BIT...
by ONEEYEMAN
Thu Oct 22, 2020 8:18 pm
Forum: C++ Development
Topic: Third-party / Alternate rich text editor
Replies: 1
Views: 49

Re: Third-party / Alternate rich text editor

Hi,
For the font changing - did you try the "richtext" sample?
For integrating another editor - what do you have in mind?

Thank you.
by ONEEYEMAN
Wed Oct 21, 2020 7:28 pm
Forum: Compiler / Linking / IDE Related
Topic: Failed compile on wxWidgets 3.1.4 using mingw.
Replies: 12
Views: 192

Re: Failed compile on wxWidgets 3.1.4 using mingw.

PB,
Those option is very weird.
The last fixes for monolithic build was for CMake, right?

Thank you.
by ONEEYEMAN
Wed Oct 21, 2020 6:38 pm
Forum: Compiler / Linking / IDE Related
Topic: Failed compile on wxWidgets 3.1.4 using mingw.
Replies: 12
Views: 192

Re: Failed compile on wxWidgets 3.1.4 using mingw.

Hi,
Please DO NOT modify the build file.
Use command line arguments to compile the library.

Also - is there a reason you want to use "MONOLITHIC=1 UNICODE=0"?
You will have many problems with 1st and 2nd is almost deprecated.

So please explain their usage.

Thank you.
by ONEEYEMAN
Wed Oct 21, 2020 6:33 pm
Forum: Compiler / Linking / IDE Related
Topic: wxwidget compilation and installation
Replies: 3
Views: 93

Re: wxwidget compilation and installation

Hi,
Why do you want to use "CMake-crap"?
wxWidgets can be compiled directly with MinGW out of the box.

And then just create a new project inside C::B as appropriate.
There are multiple posts here on this forum that explain how to do the C::B with wxWidgets and MinGW.

Thank you.
by ONEEYEMAN
Wed Oct 21, 2020 4:25 pm
Forum: Compiler / Linking / IDE Related
Topic: Need help with using `wxMediaCtrl`.
Replies: 17
Views: 268

Re: Need help with using `wxMediaCtrl`.

Hi, Before we going any further let me tell you - you absolutely need to have the knowledge of the language you are using - in this case it is C++. You can't expect people here to teach it to you - this is not a c++ school. Please find a local college where you can learn the language, then come back...
by ONEEYEMAN
Wed Oct 21, 2020 6:37 am
Forum: Platform Related Issues
Topic: Building 64 bit library on Unix with configure.
Replies: 7
Views: 105

Re: Building 64 bit library on Unix with configure.

Hi, Tim,
I'm not using gcc - trying with Solaris compiler.

Turns out that switching off regex library works.

Hopefully this will generate a good binary.

BTW, with a recent standard this library becomes obsolete - regular expressions are now part of the standard...

Thank you.
by ONEEYEMAN
Wed Oct 21, 2020 5:02 am
Forum: Compiler / Linking / IDE Related
Topic: Need help with using `wxMediaCtrl`.
Replies: 17
Views: 268

Re: Need help with using `wxMediaCtrl`.

Hi,
You can't handle EVT_MEDIA event in the wxButton.
Try to handle it in the media player you made.

And check the documentation of what event is handled by what class.

Thank you.
by ONEEYEMAN
Wed Oct 21, 2020 4:15 am
Forum: Platform Related Issues
Topic: Building 64 bit library on Unix with configure.
Replies: 7
Views: 105

Building 64 bit library on Unix with configure.

Hi, ALL, Building wx-3.1.4 as 64-bit library with "good old configure" gives following: [email protected]:~/wxWidgets/buildSol$ CFLAGS="-m64" CXXFLAGS="-m64 -std=c++11" LDFLAGS="-m64" ../configure --enable-debug --with-gtk=3 && make checking build system type... i386-pc-solaris2.11 checking host system t...
by ONEEYEMAN
Tue Oct 20, 2020 9:40 pm
Forum: Compiler / Linking / IDE Related
Topic: Need help with using `wxMediaCtrl`.
Replies: 17
Views: 268

Re: Need help with using `wxMediaCtrl`.

Hi,
Try to compile the sample and see if it works.

I gave an instruction on how to do that for both cases - self-compiled and installed from the repository.

Thank you.
by ONEEYEMAN
Tue Oct 20, 2020 7:28 pm
Forum: Compiler / Linking / IDE Related
Topic: Need help with using `wxMediaCtrl`.
Replies: 17
Views: 268

Re: Need help with using `wxMediaCtrl`.

Hi, I tried building example here - https://github.com/wxWidgets/wxWidgets/blob/master/samples/mediaplayer/mediaplayer.cpp I tried using `gcc` ❯ g++ wx.cpp In file included from wx.cpp:40: /usr/include/wx-3.0/wx/wxprec.h:12:10: fatal error: wx/defs.h: No such file or directory 12 | #include "wx/defs...