Did you uncheck the "Use wxWidgets DLL" option of the wizard? You created a static version of wxWidgets (SHARED=0).Yes I did.
Could be problem with static? When I compiled with static=1 there were more .a files there.
Is there any simpler posibility to make WxWidget worck with CodeBlocks? I mean without that anoing comandline stuff. Haev read somewhere about Codeblocks version with everithing istaled, including WxWidgets.
The "annoying command line stuff" must be executed only once.Just dont`t understand why can´t codeblocks build WxWigets itself, would make ewerithing easier.
Check when the building process failed and then ask in the wxwidgets forum, not here.
The "annoying command line stuff" must be executed only once.Just dont`t understand why can´t codeblocks build WxWigets itself, would make ewerithing easier.
Check when the building process failed and then ask in the wxwidgets forum, not here.
Sorry but my bigest problem is the language. I know how to compile a C++ project without IDE, but not if it should have a GUI.
I also know that CB can worck with diferent compilers and diferent versions of the same compiler are incompatible. However, as far I know, a compiler should be specified befor CB can use it, so CB knows the path to it and should be able to invoke it for building any C++ API. So I am tallking about some kind of plugin system, like many IDEs have.
I read the name of this subforum was help, so I posted here. Have seen a lot of wikis, befor posting here, but none of them was useful.
Like I said, have done exactly, what that wikis were telling, tried building with diferent options, witht static=1 there were even more .a files, but got exactly the same error mesage from CodeBlocks.
Hi Tim, really not here for trolling you or somebody else, sorry if it looks like so. If you read post #6, there are answers to most of your questions. The link yo gave me, I already know, that where I got that comandline stuff from. As you can see in post #2 I am doing exactlly what that wiki, you gave me a link to tells.Like I said, have done exactly, what that wikis were telling, tried building with diferent options, witht static=1 there were even more .a files, but got exactly the same error mesage from CodeBlocks.
Post the names of the wxWidgets libraries that was created by you building wxWidgets.
DECIDE what version/build type of wxWidgets libraries you wish to use and then tell us!!
Tell us the options used in the CB Wizard; Please try to help us help you or I will ask that you be banned!
Edit: One of the links that give a good overview of wxWidgets http://wiki.codeblocks.org/index.php/WxWindowsQuickRef (http://wiki.codeblocks.org/index.php/WxWindowsQuickRef)
Tim S.
There are two missing libraries, libwxmsw30u.a and libwxmsw30u_gl.a.
You should call again the compilation command and look for compilation errors (one frequent error with monolithic builds is related to memory starvation in ld).
Should I set monolithic to 0?well we don't know.. do you need a monolithic library? in general it is not "that" wise to build a big library as monolithic, because you need a lot ram. But if you want to use wxWidgets to build codeblocks it is better to build it as monolithic. What you should do is check why the build fails... We can't tell you this from the far. you have the error message in your console...
First you should identify why compilation fails, if it is due to a linker memory error then MONOLITHIC=0 is an option.
In https://wiki.wxwidgets.org/Compiling_wxWidgets_with_MinGW (https://wiki.wxwidgets.org/Compiling_wxWidgets_with_MinGW), past the middle of the page, there are some hints compiling wxWidgets in monolithic and static mode (look for To fix issues when compiling static library with MONOLITHIC option and below).
Could be problem with static? When I compiled with static=1 there were more .a files there.So why do you don't tell us the new names as stahta01 asked for? Is it this hard to type the names? We can't do it for you, because we don't have your problem...
Is there any simpler posibility to make WxWidget worck with CodeBlocks?This is quite simple: Type one line in the command line, hit enter and wait... If something does not work, read the error message, find a solution and start from 1)....
Just dont`t understand why can´t codeblocks build WxWigets itself, would make ewerithing easier.I can tell you why: The developer of wxWidgets decided to use make as their build system. So you have to use make as build system to make wx and not codeblocks. Codeblocks is not a compiler or a framework. Codeblocks is a editor (like notepad) with a integrated build system (like make, but not make!) . Why don't the codeblocks devs provide a binary/project file for wx you may ask? Simply because it is not their work and also some sort of lack of time.... They are busy with life and more critical codeblocks things, than providing a thing 10000 other people can do with a bit help
Sorry but my bigest problem is the language. I know how to compile a C++ project without IDE, but not if it should have a GUI.Ok, now you are complaining about the language... This really has nothing to do with codeblocks... In codeblocks you can use python, D, fortran and many other languages... If you ask for a packet management system you can look at linux... there it is a simple (debian system)
I also know that CB can worck with diferent compilers and diferent versions of the same compiler are incompatible. However, as far I know, a compiler should be specified befor CB can use it, so CB knows the path to it and should be able to invoke it for building any C++ API. So I am tallking about some kind of plugin system, like many IDEs have.
sudo apt-get install libwxgtk2.8-dev
Hi Tim, really not here for trolling you or somebody else, sorry if it looks like so. If you read post #6, there are answers to most of your questions. The link yo gave me, I already know, that where I got that comandline stuff from. As you can see in post #2 I am doing exactlly what that wiki, you gave me a link to tells.You didn't tell us the names of your static libraries. In your second post the essential names where missing, because your wxWidhets build failed (and by the way: If your problem is the failing wxWidgets build, then this is the wrong forum (wrong page, you see the codeblocks in the url? It would be the right page if there is written wxWidgets) to ask this question, as told to you by others, this forum is only for codeblocks problems and not wxWidgets problems)...
There is a misunderstanding, when I tallked about problems with language, I meaned not programming one, but the US language. I have no problems with C++ and eve if I have, I´ll not tallk about them here, as it defenetly not the right place.
I have used WxDev befor, it was really easy to use and I never had such problems, but unfortunatelly WxDev is outdated and is not suporting the curent C++ standard. As the only free alternative I was talld to use CodeBlocks instead, but since more than a month I can´t create a wxWidget Project in CodeBlocks, even I have done exactlly the things that wiki sites were telling me. Really hope to made my problem clear, even with my big problems with your language.
Bye Bye Troll.I gave you the answers in my previous posts, you don´t want to read tham, OK but that don´t give you the right to call me troll.
Everyone here thinks too complicated, i think the solution for the problem is quite simple. Lets recap the facts. As you can see from post #6 his wxWidgets library was not build, only some support libraries. From my experience this might be because the default settings of the makefile dont work for the compiler or some settings in setup.h are not matching and he didnt supply extra parameters to the makefile. Or he even forgot to create the setup.h file from the setup0.h file. But thats not important, he doesnt care about not having a wxWidgets library nor to supply us the error messages from that annoying command line stuff, all he cares about are the error messages from CodeBlocks.There are about 1000 or even more lines produced by the comandline, so should I post tham all? An other thing, I am using bat file to make life easier, so after it finished the comandline closes.
You dont need to use that wizard to create a wxWidgets application! In fact i have never used that for my numerous wxWidgets projects because i thought its horrible outdated and always configured my projects manually (well ok, actually i use PreMake to generate all projects because otherwise i couldnt keep that many projects updated without spending all my life for only that ;D).
So here is a step by step solution for your problem:
- create a new empty project
- add as many empty c++ header files you need
- add as many empty c++ source files you need
- optionally configure the properties of the project according to the wiki and other documentation to use your not present wxWidgets library
- fill the empty files with your code
- hit the compile button and ignore all those annoying command line stuff error messages
- no more CodeBlocks error messages!
Awesome, coding was never so much fun using your working style!
Everyone here thinks too complicated, i think the solution for the problem is quite simple. Lets recap the facts. As you can see from post #6 his wxWidgets library was not build, only some support libraries. From my experience this might be because the default settings of the makefile dont work for the compiler or some settings in setup.h are not matching and he didnt supply extra parameters to the makefile. Or he even forgot to create the setup.h file from the setup0.h file. But thats not important, he doesnt care about not having a wxWidgets library nor to supply us the error messages from that annoying command line stuff, all he cares about are the error messages from CodeBlocks.There are about 1000 or even more lines produced by the comandline, so should I post tham all? An other thing, I am using bat file to make life easier, so after it finished the comandline closes.
You dont need to use that wizard to create a wxWidgets application! In fact i have never used that for my numerous wxWidgets projects because i thought its horrible outdated and always configured my projects manually (well ok, actually i use PreMake to generate all projects because otherwise i couldnt keep that many projects updated without spending all my life for only that ;D).
So here is a step by step solution for your problem:
- create a new empty project
- add as many empty c++ header files you need
- add as many empty c++ source files you need
- optionally configure the properties of the project according to the wiki and other documentation to use your not present wxWidgets library
- fill the empty files with your code
- hit the compile button and ignore all those annoying command line stuff error messages
- no more CodeBlocks error messages!
Awesome, coding was never so much fun using your working style!
Calling me a troll wasn´t helpfull, however we both have comunication problem, it´s really hard for me to understand what you asking and you seems to have the same problem.Everyone here thinks too complicated, i think the solution for the problem is quite simple. Lets recap the facts. As you can see from post #6 his wxWidgets library was not build, only some support libraries. From my experience this might be because the default settings of the makefile dont work for the compiler or some settings in setup.h are not matching and he didnt supply extra parameters to the makefile. Or he even forgot to create the setup.h file from the setup0.h file. But thats not important, he doesnt care about not having a wxWidgets library nor to supply us the error messages from that annoying command line stuff, all he cares about are the error messages from CodeBlocks.There are about 1000 or even more lines produced by the comandline, so should I post tham all? An other thing, I am using bat file to make life easier, so after it finished the comandline closes.
You dont need to use that wizard to create a wxWidgets application! In fact i have never used that for my numerous wxWidgets projects because i thought its horrible outdated and always configured my projects manually (well ok, actually i use PreMake to generate all projects because otherwise i couldnt keep that many projects updated without spending all my life for only that ;D).
So here is a step by step solution for your problem:
- create a new empty project
- add as many empty c++ header files you need
- add as many empty c++ source files you need
- optionally configure the properties of the project according to the wiki and other documentation to use your not present wxWidgets library
- fill the empty files with your code
- hit the compile button and ignore all those annoying command line stuff error messages
- no more CodeBlocks error messages!
Awesome, coding was never so much fun using your working style!
NO YOU SHOULD NOT POST THEM HERE; Can you read the rules and follow them.
Or are you too much of a troll to believe the rules apply to you!!!
Edit: You are the worst Troll I have ever tried to help!!!
Go do your trolling at the wxWidgets forum!!
Tim S.
To the OPT (Original Posting Troll)Tim please calm down.
You NEED to read and follow the rules!!! http://forums.codeblocks.org/index.php/topic,9996.0.html (http://forums.codeblocks.org/index.php/topic,9996.0.html)
You NEED to learn how to ask a smart Question! http://www.catb.org/esr/faqs/smart-questions.html (http://www.catb.org/esr/faqs/smart-questions.html)You NEED to learn to tell the truth!!You lied about building on the command line!!!
Using a batch file is NOT building on the command line.
YOU NEED TO POST THE ERROR you are getting on the wxWidgets forum.
And, you need to stop wasting everyone's time on this website.
Go way Troll.
Tim S.
The following post, "Re: wxWidget with codeblocks problem" by jens has been reported by stahta01 on a board you moderate:
The topic: http://forums.codeblocks.org/index.php?topic=21840.msg148728#msg148728
Moderation center: http://forums.codeblocks.org/index.php?action=moderate;area=reports;report=20
The reporter has made the following comment:
I asked that this thread be locked You all ignored me; I will now ignore you!
And, you need to stop wasting everyone's time on this website.
Thanks, have already apolgies, was really not my goal to troll somebody here. At least somebody understands how hard is to comunicate in a language that´s not yours.To the OPT (Original Posting Troll)Tim please calm down.
You NEED to read and follow the rules!!! http://forums.codeblocks.org/index.php/topic,9996.0.html (http://forums.codeblocks.org/index.php/topic,9996.0.html)
You NEED to learn how to ask a smart Question! http://www.catb.org/esr/faqs/smart-questions.html (http://www.catb.org/esr/faqs/smart-questions.html)You NEED to learn to tell the truth!!You lied about building on the command line!!!
Using a batch file is NOT building on the command line.
YOU NEED TO POST THE ERROR you are getting on the wxWidgets forum.
And, you need to stop wasting everyone's time on this website.
Go way Troll.
Tim S.
There is no need to be so aggressive.
Just ignore this thread (and similar).
It's okay to tell the posters to follow the rules, but please stop to be offending in any case.
Why can't you believe, that not everybody in the world speaks (reads,writes) english as good as native speakers.
Did you ever try to communicate with the help of web-translators, especially if you (try to) talk about stuff not so well know by the translation engine ?
I did and it can be really funny (or annoying).
Whatsoever, please be less aggressive in the future, or you might get banned for a while.
Thanks, have already apolgies, was really not my goal to troll somebody here. At least somebody understands how hard is to comunicate in a language that´s not yours.Honestly? tim wanted to know your filenames and you refuse since x posts to give them. And we told you 10 times that in the post you showed the files there are some missing.
If you still have the problem: http://forums.codeblocks.org/index.php/topic,21867.0.html
Which filenames? I have posted all filenames generated after building in post #6. If he meaned other filenemes, I asked him which ones, but instead of answering that he called me a troll.QuoteThanks, have already apolgies, was really not my goal to troll somebody here. At least somebody understands how hard is to comunicate in a language that´s not yours.Honestly? tim wanted to know your filenames and you refuse since x posts to give them. And we told you 10 times that in the post you showed the files there are some missing.
If you still have the problem: http://forums.codeblocks.org/index.php/topic,21867.0.html
if this does not help, answer the questions (filenames, error messages...) otherwise i will, like tim, refuse to help you (because i can't help you without information from your side)...
Here the path:you posted a image with the files:
but it can´t be the problem, because wrong path would show an error mesage just after this dialog.
My options look like that:
Just for fun have tried all posible combinations, but always got exactlly the same error.
The lib folder looks like that:
and the gcc_lib:
Posibly some .a files are mising?
libwxexpat.a
libwxjpeg.a
libwxpng.a
libwxregexu.a
libwxsintilla.a
libwxtiff.a
libwxzlib.a
There are two missing libraries, libwxmsw30u.a and libwxmsw30u_gl.a.after this nothing productive happened... You whined about how complicated all this is, we whined how you can not simply post the error messages you get. After this we thought you have successfully build wxWidgets and so we asked if you can post the filenames again, but you told us that you have posted them in #6 and we told you that this is not the case and so on and so on... BlaBlaBlaBla...
You should call again the compilation command and look for compilation errors (one frequent error with monolithic builds is related to memory starvation in ld).
Ok, one last time:No meter what I did, always got the same result as in post #6, the comandline was wrong, or to be more precise incomplete. Like somebody mentioned here, 2 .a files were mising, but instead of telling that, the CB wizard tolld me something about wrong configuration, which was really iritating.
In post #6:QuoteHere the path:you posted a image with the files:
but it can´t be the problem, because wrong path would show an error mesage just after this dialog.
My options look like that:
Just for fun have tried all posible combinations, but always got exactlly the same error.
The lib folder looks like that:
and the gcc_lib:
Posibly some .a files are mising?CodeNow we told you like 1000 times that your wxWidgets build failed and for this you are missing some libraries:libwxexpat.a
libwxjpeg.a
libwxpng.a
libwxregexu.a
libwxsintilla.a
libwxtiff.a
libwxzlib.aQuoteThere are two missing libraries, libwxmsw30u.a and libwxmsw30u_gl.a.after this nothing productive happened... You whined about how complicated all this is, we whined how you can not simply post the error messages you get. After this we thought you have successfully build wxWidgets and so we asked if you can post the filenames again, but you told us that you have posted them in #6 and we told you that this is not the case and so on and so on... BlaBlaBlaBla...
You should call again the compilation command and look for compilation errors (one frequent error with monolithic builds is related to memory starvation in ld).
Simply follow the steps from the other link and if you hit a error post a screenshot of the error here....