User forums > Using Code::Blocks
wxSmith
dominover:
I'm just trying to understand something. Does wxWidgets have to be installed or at least downloaded onto my PC before I can use wxSmith in Code::Blocks?
If I do have to download wxWidgets, which file do I download?
Thanks
Dominover
MortenMacFly:
--- Quote from: dominover on September 25, 2012, 12:52:25 pm ---I'm just trying to understand something. Does wxWidgets have to be installed or at least downloaded onto my PC before I can use wxSmith in Code::Blocks?
--- End quote ---
Yes. wxWidgets is a UI toolkit / framework. So the same applies to it as for all toolkits/frameworks: If you want to to use them you need to have a developer version (a.k.a. SDK) of these installed.
--- Quote from: dominover on September 25, 2012, 12:52:25 pm ---If I do have to download wxWidgets, which file do I download?
--- End quote ---
wxWidgets comes in many flavours (so as many other toolkit). So the question you are asking is wrong: You need to ask yourself what you want to achieve: I.e. what platform, compiler, what features do you need wxWidgets on/with? Than you may look for a pre.-compiled version that suits your needs. Most likely you end-up with compiling it yourself, which is easy, as the wxWidgets build process was designed for that.
dominover:
Thanks for that. I'm going to compile it myself but I'm having mountains of trouble. Can you explain something to me as of all the information on the web, I can't seem to get anything right in relation to compiling wxWidgets for codeblocks.
Here's what I've done (which is probably where I've gone wrong). I've downloaded Code::Blocks with MingW. I've set that up on my pc. ..... Next, I've downloaded the source code for wxWidgets for version 2.8.12 in a zip file and unzipped it. The address is of it's contents are now at C:\wxWidgets-2.8.12 ..
I have opened the dos screen and typed in cd C:\wxWidgets-2.8.12 to change the directory. This has worked so far. Then I entered this line into the dos screen:
mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release clean
When I hit enter the error tells me that mingw32-make is not a recognized command?
I'm thinking that I need to download Code::Blocks without MingW,,, then download wxWidgets.. Compile Code::Blocks with MingW then compile wxWidgets with MingW. Or something along that line.
You would think that I could use the compiler which came with Code::Blocks when I downloaded it but for some reason its just not happening. I can't seem to get past the error I've explained above.
Do I have a conceptual misunderstanding here. Do you know where I've gone wrong.
Thanks for the help.
Dominover
Jenna:
You need to have the MinGW bin-folder in your systempath.
And builduing starts from the msw\build folder on windows.
You only need to clean the sources, if you have changed something or your compiler has changed.
You don't need to clean between the release and debug build, because they use different folders for their object files.
Alpha:
--- Quote from: jens on September 26, 2012, 06:59:51 pm ---msw\build folder
--- End quote ---
build\msw ?
Navigation
[0] Message Index
[#] Next page
Go to full version