User forums > Help

Problem compiling wxWidgets to use in codeblocks

<< < (2/2)

stahta01:
I suggest also posting your problem on https://forums.wxwidgets.org/.

Tim S.

Nucleorion:
Based en MinGW32

MINGWBASEDIR=C:\MinGW
gcc version 4.9.3 (GCC)
gcc version 4.9.3 (GCC)
GNU gdb (GDB) 7.6.1
GNU ld (GNU Binutils) 2.25.1
GNU windres (GNU Binutils) 2.25.1
GNU dlltool (GNU Binutils) 2.25.1
GNU Make 3.82.90
#define __MINGW32_VERSION           3022001L
 *   __W32API_VERSION = 1,000,000 * major + 1,000 * minor + patch
#define __W32API_VERSION           3018001L


Thanks for Help. I see link of wxwidgets :)

stahta01:
I do NOT have that Compiler or W32API_VERSION; so, I have no way to help you.

Likely there is a bug in the W32API_VERSION code or in the Compiler.

It is strongly suggested that you use a Compiler that is known to build wxWidgets the first few times you try to build wxWidgets.

Tim S.

Nucleorion:
Which compiler should I use in windows 7 64 bit for code::blocks? I don't know any

Nucleorion:
It seems that I have already solved it.

I have other IDES linked to the installation of MinGW and I think the problem is coming. As I do not want to ignore the other IDES I have done the following:

I downloaded the version of code blocks that includes minGW
I have installed codeblocks-16.01mingw-setup.exe and wxWidgets-3.0.2 on another computer and have compiled using these lines without problems using the minGW that comes with codeblocks:

First one line and then the other


--- Code: ---mingw32-make -f makefile.gcc BUILD=debug SHARED=1 MONOLITHIC=1 UNICODE=1 CXXFLAGS=-std=gnu++11

mingw32-make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1 CXXFLAGS=-std=gnu++11
--- End code ---

After proving that it worked on the other computer I copied the folder wxWidgets-3.0.2 compiled and I pasted it on the computer that has more IDES and gave me the errors.

And the last step with which I have managed to compile the welcome window: In the codeblocks go to Settings > Compiler > Toolchain executables > and in Compiler's installation directory I've put the path of minGW that comes with codeblocks C: \ CodeBlocks \ MinGW

Following this tutorial base
Youtube.com/watch?v=vmobZRIlBMU

Navigation

[0] Message Index

[*] Previous page

Go to full version