Author Topic: WxWidgets 2.8 and Code::Blocks 10.5 not working?? Please help  (Read 15687 times)

Offline noobscratcher

  • Multiple posting newcomer
  • *
  • Posts: 14
okay dudes im a novice in c++ but linking up libraries has always been a issue for me so i need some guidance iv been trying for like 3weeks to get WxWidgets 2.8+ to get Working With CODE::BLOCKS and for some reason it keeps coming up with errors like


Wx setup.h not found and stuff in that area also can not define certain bits of wx functions most likely due to wx setup.h

if someone could explain to me in full english terms how to get it too work i would love you for the rest of my life and tell people about this forum forever too! :D and if for some reason you cant talk in english terms please explain the meaning of the terms in english :)


and please dont link me to Wxwiki please lol been trying that for ages none of the tutorials work from my experience

also if possible could you explain to me how you worked out how to do it if so :) because i want to be able to fix these problems myself :D
« Last Edit: July 12, 2011, 10:55:03 am by noobscratcher »
The Door Closes to all noobs
but noobs arnt always dumb :)

Offline pebri86

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: WxWidgets 2.8 and Code::Blocks 10.5 not working?? Please help
« Reply #1 on: July 12, 2011, 12:41:27 pm »
are u make the project with the wizard?

Offline noobscratcher

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: WxWidgets 2.8 and Code::Blocks 10.5 not working?? Please help
« Reply #2 on: July 12, 2011, 12:50:34 pm »
Yes i have tried the wizard! :D but alas it fails to execute the program it makes
« Last Edit: July 12, 2011, 01:01:09 pm by noobscratcher »
The Door Closes to all noobs
but noobs arnt always dumb :)

Offline pebri86

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: WxWidgets 2.8 and Code::Blocks 10.5 not working?? Please help
« Reply #3 on: July 12, 2011, 01:03:51 pm »
I just make a new wxwidgets project with File > New > Projects and choosing wxWidgets Project
and insert this include file:
Quote
#include <wx/setup.h>

it worked perfectly for me..

can u post a segment of your code?

Offline noobscratcher

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: WxWidgets 2.8 and Code::Blocks 10.5 not working?? Please help
« Reply #4 on: July 12, 2011, 01:08:18 pm »
iv just used the standard gui code that came with the wxwidget project to see if it works fine and it doesnt execute it just posts errors

and im shore you already can see the code by just making a simply wxprject in code::blocks



C:\wxWidgets-2.8.12\include\wx\platform.h|196|error: wx/setup.h: No such file or directory|
The Door Closes to all noobs
but noobs arnt always dumb :)

Offline pebri86

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: WxWidgets 2.8 and Code::Blocks 10.5 not working?? Please help
« Reply #5 on: July 12, 2011, 01:19:16 pm »
I see.. i'm not sure if this working for you

just copy setup.h from ..\wxWidgets-2.8.12\lib\gcc_lib\mswu\wx to ..\wxWidgets-2.8.12\include\wx

i've the same problem while compile inno setup plugin.. and that solution worked for me..

Offline noobscratcher

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: WxWidgets 2.8 and Code::Blocks 10.5 not working?? Please help
« Reply #6 on: July 12, 2011, 01:25:13 pm »
i dont even have that file in my wxwidgets lib folder maybe i have a bad install could you link me to your own wxwidgets download if possible?
The Door Closes to all noobs
but noobs arnt always dumb :)

Offline pebri86

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: WxWidgets 2.8 and Code::Blocks 10.5 not working?? Please help
« Reply #7 on: July 12, 2011, 01:34:53 pm »
are you build your own wxWidgets library from source?

i just download from http://www.wxwindows.org/downloads/

if you use windows take wxMSW or wxGTK if u use linux

build from that source and you will have your complete library of wxWidgets..

Offline noobscratcher

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: WxWidgets 2.8 and Code::Blocks 10.5 not working?? Please help
« Reply #8 on: July 12, 2011, 01:35:54 pm »
Okay illl try that if it dont work ill be back terminator style :P
The Door Closes to all noobs
but noobs arnt always dumb :)

Offline pebri86

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: WxWidgets 2.8 and Code::Blocks 10.5 not working?? Please help
« Reply #9 on: July 12, 2011, 01:39:06 pm »
Okay illl try that if it dont work ill be back terminator style :P

how these terminator style work? :lol:

good luck...

Offline noobscratcher

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: WxWidgets 2.8 and Code::Blocks 10.5 not working?? Please help
« Reply #10 on: July 12, 2011, 01:42:42 pm »
Terminator :D haha the qoute 'ill be back!'  


and um i got a screenshot of my Lib folder prehaps this could help you in figuring this all out



this is the knew downloaded lib folder ! :D
The Door Closes to all noobs
but noobs arnt always dumb :)

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: WxWidgets 2.8 and Code::Blocks 10.5 not working?? Please help
« Reply #11 on: July 12, 2011, 01:51:47 pm »
This wiki-article http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef should help to compile wxWidgets from source.
wxWidgets does not provide precompiled binaries for windows !

Offline noobscratcher

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: WxWidgets 2.8 and Code::Blocks 10.5 not working?? Please help
« Reply #12 on: July 12, 2011, 01:53:02 pm »
it would be awesome if someone could take that tutorial and explain it all in detail for me so i know exactly why i have to do all that really effort intensive stuff! :D plus half of that dont make sense when it should be as simple as adding a few files to folder??? i think that tutorial is abit pathetic in that way not bashing it :) just saying

the meaning of it should be explained! :)

please o' please let there be someone out there who can explain the tutorial in detail and in english terms this is so important for me
« Last Edit: July 12, 2011, 02:07:21 pm by noobscratcher »
The Door Closes to all noobs
but noobs arnt always dumb :)

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: WxWidgets 2.8 and Code::Blocks 10.5 not working?? Please help
« Reply #13 on: July 12, 2011, 02:11:05 pm »
[...]
why i have to do all that really effort intensive stuff!
[...]
in english terms
[...]
As I wrote:
wxWidgets does not provide precompiled binaries for windows !
And the whole page is in english or do you talk about another wiki-page (except for the chinese version) ?

Offline noobscratcher

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: WxWidgets 2.8 and Code::Blocks 10.5 not working?? Please help
« Reply #14 on: July 12, 2011, 02:13:58 pm »
ahhh right so i have to compile manually? OMG! you gotta be kidding

right any easyer to understand tutorial about this which is full proof? :)

all becuase they dont explain what it all means

for me to learn things it helps if i have the meaning of everything in my head sorry to make it so difficult
« Last Edit: July 12, 2011, 02:43:55 pm by noobscratcher »
The Door Closes to all noobs
but noobs arnt always dumb :)