Author Topic: C::B's wxWidgets project?  (Read 2178 times)

Arbol One

  • Guest
C::B's wxWidgets project?
« on: May 09, 2015, 05:09:20 am »
I posted a question to wxWidgets mailing list, and it seems to be a Code::Blocks' problem, so I was referred to you.
Thanks for any help in advance.

On Fri, 8 May 2015 18:34:47 -0400 Developer wrote:

D> In my Win8.1, using MinGW-64 – GCC version 4.9.2
D> <x86_64-win32-seh-rev2>, I built wxWidgets 3.0.2 like this:
D> ----------------------------
D> mingw32-make -f makefile.gcc CXXFLAGS="-std=gnu++11 -m64" CFG=64
D> CPP="gcc -E -D_M_AMD64" DEBUG_FLAG=0 BUILD=debug UNICODE=1 MONOLITHIC=1
D> USE_OPENGL=1 RUNTIME_LIBS=static USE_RTTI=0 USE_EXCEPTIONS=1 2>build.txt

 You specify BUILD=debug here...

D> But then a Message Box pops up saying
D>
D> ---------------------------
D> Warning
D> ---------------------------
D> A matching Release configuration cannot be found in the wxWidgets directory you specified.
D> This means that Release target of your project will not build.

... yet seem to be surprised by this warning which is, of course, to be
expected as you didn't build the release configuration.

 Also, I don't use C::B myself so I don't how it deals with this, but if
you used CFG=64 option for make, you should somehow tell C::B about it, I'd
be surprised if it could find it on its own (but maybe it's smarter than I
think).

D> A problem caused the program to stop working correctly.

 This is a bug in C::B, it shouldn't crash in any case and you should
report it to its developers.

 Regards,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: C::B's wxWidgets project?
« Reply #1 on: May 09, 2015, 09:48:43 am »
About building wxWidgets for C::B:
http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef

I'm not sure about the other problem. Do you try to build C::B 64-bit on windows or a wxWidgets 64-bit project ?

And please use code-tags, if you post code or log output (the button with the "#" ).