Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: noobscratcher on July 12, 2011, 10:35:51 am
-
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
-
are u make the project with the wizard?
-
Yes i have tried the wizard! :D but alas it fails to execute the program it makes
-
I just make a new wxwidgets project with File > New > Projects and choosing wxWidgets Project
and insert this include file:
#include <wx/setup.h>
it worked perfectly for me..
can u post a segment of your code?
-
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|
-
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..
-
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?
-
are you build your own wxWidgets library from source?
i just download from http://www.wxwindows.org/downloads/ (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..
-
Okay illl try that if it dont work ill be back terminator style :P
-
Okay illl try that if it dont work ill be back terminator style :P
how these terminator style work? :lol:
good luck...
-
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
(http://oi53.tinypic.com/2pzkadh.jpg)
this is the knew downloaded lib folder ! :D
-
This wiki-article http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef (http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef) should help to compile wxWidgets from source.
wxWidgets does not provide precompiled binaries for windows !
-
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
-
[...]
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) ?
-
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
-
it's look like you should build your library first...
This wiki-article http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef (http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef) should help to compile wxWidgets from source.
wxWidgets does not provide precompiled binaries for windows !
that wiki describes very clearly or you can see install.txt how to build under ..\wxWidgets-2.8.11\docs\msw
but there's a prebuilt wxwidgets for windows called wxPack, visit http://wxpack.sourceforge.net/ (http://wxpack.sourceforge.net/)
-
ahh ha and what does this do? :)
okay ill have alook at code::blocks one
-
and what a suprise the tutorial is outdated :P ahhhhh i love the good old problems of c++ :P
now what do i do i did everything it said and i get the same thing
i cant not build or debug which is annoying
and i dont have a global variable on my wxwidgets projects its all C:/ locations
these images below shows the idea of my configuration and also the problems im having
(http://oi52.tinypic.com/16c575c.jpg)
(http://oi53.tinypic.com/k4c6py.jpg)
-
u should build wxwidgets library with debug version too if you wish to build your code with debug configuration...:)
-
kk :) but i cant build anything haha :P errors everywhere
3weeks this problem has been a persistent Fork and Cup!
this is horrific at the very least :(((
-
Why do you think it's (http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef) outdated ?
Because you are not able to work with it ?
Everything necessary is described there !
The tutorial works fine with wx2.8 and actual compilers (at least the part about compiling wxWidgets, I never used wxPack and will never do so).
-
please teach me in english terms not nerd language :) because i cant understand half of what it says thats the problem with tutorials for programming half of it is in nerd and people who just want to create a GUI have to learn aload of extra crap just because its a balancing act of speak normal or speak nerd cant someone just come out and speak it in clear normal english terms infact when i make my program im gunna teach others how to get through these ridicoulous tutorials step by step explaining each meaning too them with your guidance ill be one step there! :)
and i followed the tutorial with wxpack,etc and it didnt work for some reason it keeps bringing up the same errors as always
i would love it also if someone could tell me the structure of installing wxwidgets into Code::Blocks or any IDE that actually allows me to do it without learning extra stuff that i dont really think is nessecary because the developers at wxwidgets were being lazy imo but then you could say im being lazy by not understanding well no its more that i dont understand the meaning of it 'all' hence all :P
-
kk :) but i cant build anything haha :P errors everywhere
3weeks this problem has been a persistent Fork and Cup!
please teach me in english terms not nerd language :) because i cant understand half of what it says thats the problem with tutorials for programming half of it is in nerd and people who just want to create a GUI have to learn aload of extra crap just because its a balancing act of speak normal or speak nerd cant someone just come out and speak it in clear normal english terms infact when i make my program im gunna teach others how to get through these ridicoulous tutorials step by step explaining each meaning too them with your guidance ill be one step there! :)
and i followed the tutorial with wxpack,etc and it didnt work for some reason it keeps bringing up the same errors as always
If you are not able to build wxWidgets with the tutorial in our wiki, you should do something different, and not try to be a programmer.
It's really quite simple.
I close this topic now, because it violates our forum rules.
It's not about using Code::Blocks or setup Code::Blocks !!
i would love it also if someone could tell me the structure of installing wxwidgets into Code::Blocks or any IDE that actually allows me to do it without learning extra stuff that i dont really think is nessecary because the developers at wxwidgets were being lazy imo
If you think the wxWidgets developers are too lazy, you should post it in their forum.
This is the wrong place for such questions.
Please respect our forum rules (point 3.):
3. Is your problem library, framework specific? There are appropriate forums for it, not the Code::Blocks forum.