Author Topic: C::B 16.01 with wxWidgets 3.1.0: No success, parameters USE_XRC=1 and VENDOR=cb  (Read 2953 times)

cbguy

  • Guest
A very first hello,

since uncountable hours I'm trying to get Codeblocks 16.01 with wxWidgets 3.1.0 working.
Really frustrating. Too many different instructions with command lines.

What is the meaning of parameters USE_XRC=1 and VENDOR=cb?
Are these parameters needed?

My last try (using the CodeBlocks MINGW setup)
Code
mingw32-make -f makefile.gcc BUILD=release SHARED=0 MONOLITHIC=0 UNICODE=1 CXXFLAGS="-fno-keep-inline-dllexport -std=gnu++11" USE_XRC=1 >Log__2016-09-23__BR-S0-M0-U1-inline-gnu++11-X1__3-1-0a.txt 2>&1

I created the simple default wxWidgets project (Release build) and got the follwing project error:
../mingw32/bin/ld.exe: cannot find -lwxmsw31u


Any hints?


I'm using the modified wxWidgets project wizard script (option 2):
Using codeblocks with wxWidgets 3.1 - wxWidgets Discussion Forum
https://forums.wxwidgets.org/viewtopic.php?f=20&t=42301


Many thanks and greetings
cbguy

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
What is the meaning of parameters USE_XRC=1 and VENDOR=cb?
Are these parameters needed?
Probably you're looking at instructions describing how to build wxwidgets for use in the cb project to build cb itself.
These instructions are not suitable for general wxwidgets development with cb.
You just need to follow regular instructions describing how to build wx and then choose the correct options in the wxwidgets wizard.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]