Author Topic: Code Blocks & wxWidgets  (Read 3748 times)

Offline Atton

  • Single posting newcomer
  • *
  • Posts: 3
Code Blocks & wxWidgets
« on: January 31, 2015, 02:45:49 pm »
I am not sure how this is going to be received and I am pretty sure, one of the mods is going to be like "dis boi be a noob" then hits the lock hammer. But I have a really really simple question how can I install or get my hands on a release, of wxwigets that does not require installing half a million programs just to compile it. In short all I really want to do is install wxWidgets so that it actually works without include errors or any of that, just something that I can make GUI with. Now to make a few things clear I have tried to install wxWidgets I've tried to make it work and I have done some looking up, but I seem to head into error after error. So really does anyone have a link to a working release of sort of wxWidgets that I can use without having to build a custom compiler to compile it.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Code Blocks & wxWidgets
« Reply #1 on: January 31, 2015, 03:05:13 pm »
Sorry to say (and to get out the big [not yet lock-]hammer):

Your post is absolutely useless without any information about your OS,compiler, the version of C::B you use/want to build,the version of wxWidgets etc.

This wiki-article might be helpful anyway: http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef

Offline Atton

  • Single posting newcomer
  • *
  • Posts: 3
Re: Code Blocks & wxWidgets
« Reply #2 on: February 01, 2015, 06:18:40 am »
Sorry to say (and to get out the big [not yet lock-]hammer):

Your post is absolutely useless without any information about your OS,compiler, the version of C::B you use/want to build,the version of wxWidgets etc.

This wiki-article might be helpful anyway: http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef
My apologies for not providing anywhere near enough information but I will try to write up the story.
I'll try to draw up sort of a idea of what I am trying to do, I run a some what modern system with windows 7 64bit. I most often use VS2012 Cross Tools Compiler for most things. I used the following command line to try to compile wx widgets with the "VS2012 x86 Native Tools Command Prompt"
Quote
     
The recommended command to use for MSVC is:

nmake -f makefile.vc BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1
Quote
I get errors like "wx/setup.h: No such file or directory"
Above is the error I get pretty much all of the time, even if I tried older releases of wxWidgets. I went through the wizard and selected the GNU compiler and the directory of the wxWidgets which I built wx in.
I followed this video with the sole exemption of using the VS2012 compiler which seems to work for building wxWidgets.
https://www.youtube.com/watch?v=FgAaiBg4wEE
Thanks for not locking the topic out right and sorry for not putting in more effort the first time.
Also I use code blocks 13:12 the very latest from what I know.

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: Code Blocks & wxWidgets
« Reply #3 on: February 01, 2015, 10:13:41 am »
This all has absolutely NOTHING to do with c::b.... You are failing to compile wxWidgets with a Visual Studio Compiler....
A better place to ask such questions is https://forums.wxwidgets.org/
or the mailing list of wxWidgets...

[Edit:] After reading a second time it seems that you are trying to compile a wxWidgets program in c::b. If this is the case please read this: http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F


[Edit2:] I think you have forget to add the lib/XXXX/YYYY path to the search paths for the compiler (XXXX and YYYY depends of your compiler and build version, probably it is lib/vcc_dll/mswu )

greetings

Offline Atton

  • Single posting newcomer
  • *
  • Posts: 3
Re: Code Blocks & wxWidgets
« Reply #4 on: February 01, 2015, 12:34:40 pm »
Something tells me I am better off figuring this out myself.