User forums > Help
MinGW not compiling WxWidgets project
hurkslop:
So now what should i do? a build=release clean and build back the release?
PS : i am sorry for these questions, I know that it's redundant but I didn't find my answer.
I followed the nightlybook (NightlyBuild,install of MinGW, wxWidgets) but wasn't able to make the final "codeblocks with wxWidgets compilation" : When the project is compiled, a pop-up asks what the target is (src,sqlplus, scintilla...), I tried all the possibilities but none of them was right.
I tried then to build wxWidgets library from CodeBlocks' MinGW but here, i got the -lwxmsw28u error message.
stahta01:
--- Quote from: hurkslop on May 23, 2009, 10:23:38 pm ---So now what should i do? a build=release clean and build back the release?
PS : i am sorry for these questions, I know that it's redundant but I didn't find my answer.
I followed the nightlybook (NightlyBuild,install of MinGW, wxWidgets) but wasn't able to make the final "codeblocks with wxWidgets compilation" : When the project is compiled, a pop-up asks what the target is (src,sqlplus, scintilla...), I tried all the possibilities but none of them was right.
I tried then to build wxWidgets library from CodeBlocks' MinGW but here, i got the -lwxmsw28u error message.
--- End quote ---
Did YOU build wxWidgets using the proper method; the proper method does NOT use Code::Blocks!
At this point in time do not try to run Code::Blocks from inside Code::Blocks!
Please post link to directions you are following
I use the below link, but they might not be the best.
http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows
Tim S
stahta01:
--- Quote from: hurkslop on May 23, 2009, 09:31:26 pm ---6) And then i get this reccurent error :
ld.exe||cannot find -lwxmsw28ud|
Thanks for the help,
-----
Hurk
--- End quote ---
The library wxmsw28ud is the Unicode Debug version of wxWidgets.
Your command below is wrong; because you are trying to use an DLL build SHARED must equal 1 instead of zero.
--- Code: ---mingw32-make -f makefile.gcc SHARED=0 MONOLITHIC=1 UNICODE=1 BUILD=release
--- End code ---
Try doing both of these
--- Code: ---mingw32-make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1
mingw32-make -f makefile.gcc BUILD=debug SHARED=1 MONOLITHIC=1 UNICODE=1
--- End code ---
Tim S
hurkslop:
I am currently compiling it with the command i found on the link you sent :
mingw32-make -f makefile.gcc USE_XRC=1 MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release
and same for the debug
My sources untill now were :
http://wiki.codeblocks.org/index.php?title=Nightly_Cookbook
http://wiki.codeblocks.org/index.php?title=Compiling_wxWidgets_2.8.6_to_develop_Code::Blocks_(MSW)
And why is USE_XRC=1 used?
But another question comes to in the link you sent stahta01, in the next step, i have to build codeblocks, using codeblocks. To do this, I have to use the NightlyBuild isn't it?
Thanks for your help guys ;)
stahta01:
--- Quote from: hurkslop on May 24, 2009, 12:03:00 am ---And why is USE_XRC=1 used?
--- End quote ---
It now defaults to being 1 in the past it must have default to 0.
--- Quote from: hurkslop on May 24, 2009, 12:03:00 am ---But another question comes to in the link you sent stahta01, in the next step, i have to build codeblocks, using codeblocks. To do this, I have to use the NightlyBuild isn't it?
--- End quote ---
No, you can use Code::Blocks 8.02 to build the Nightly Build of Code::Blocks.
You can also use a more recent, after 2008-02, Nightly Build of Code::Blocks; some of them have may not work if that nightly has a major bug it it.
Tim S
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version