User forums > Help
MinGW not compiling WxWidgets project
hurkslop:
Hi again,
I finally built CodeBlocks! (and successfully compiled wxWidgets by the way)
thanks!
Lefteris:
Hello all,
I hope it is okay to reply to this post since I am having problems compiling wxWidgets with Mingw. I am running Windows xp and the last thing I get when compiling with the commands given in the http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows tutorial is:
--- Code: ---windres --use-temp-file -i../../src/msw/version.rc -ogcc_mswudll\monodll_version
_rc.o --define __WXMSW__ --define _UNICODE --include-dir ..\..\lib\gcc
_dll\mswu --include-dir ../../include --define WXDLLNAME=wxmsw28u_gcc_custom --i
nclude-dir ../../src/tiff --include-dir ../../src/jpeg --include-dir ../../src/p
ng --include-dir ../../src/zlib --include-dir ../../src/regex --include-dir ../
../src/expat/lib --define wxUSE_BASE=1 --define WXMAKINGDLL
gcc: _spawnvp: No such file or directory
windres: gcc exited with status 1
mingw32-make: *** [gcc_mswudll\monodll_version_rc.o] Error 1
--- End code ---
Does anyone have any idea what this might be? I can't find the answer by googling. Thanks in advance.
Edit:DISREGARD My post!!! I was not setting the path correctly. I included only the mingw/bin directory while I also needed to include mingw/mingw32/bin directory in the path too.
Now it seems to have compiled. The result is the .dll in the \lib\ folder of my wxwidgets folder I presume? Oh I am so excited ! :)
stahta01:
My Goggling of
--- Quote ---gcc: _spawnvp: No such file or directory
--- End quote ---
implies a poorly built or installed GCC. The above is based on a quick look based on 3 of many Goggle results.
I suggest reinstalling MinGW GCC.
Where did you get your MinGW GCC?
What version is it?
Tim S
Lefteris:
Thank you for your reply stahta01 but it seems I was not setting the whole path that the compiling of wxWidgets library needed. Now it finished succesfully or at least that's what I think. I got just one .dll since I built it with MONOLITHIC option on. I must admit it feels strange to me since for the last GUI-intensive project I had written I had used wxPack and it had many different .dlls.
Navigation
[0] Message Index
[*] Previous page
Go to full version