Code::Blocks Forums
User forums => Help => Topic started by: Omri on March 15, 2015, 03:17:18 pm
-
hello,
I am running Code::Blocks version 13.12 on windows 7. The compiler I use is GCC.
i'm trying to start a new project with wxwidgets 3.0.2 and having a problem starting it.
I used this video https://www.youtube.com/watch?v=QuPiZ86EFhQ&feature=em-share_video_user
to compile wxwidgets and get the following message after choosing the library setting for the wxwidgets: "a matching release configuration cannot be found in the wxwidgets directory you specified". I tagged monolithic and enable unicode. I know this is common but i couldn't find anything helpful.
if i ignore this, start the project and build i get this build log:
-------------- Build: Debug in again (compiler: GNU GCC Compiler)---------------
mingw32-g++.exe -pipe -mthreads -D__GNUWIN32__ -D__WXMSW__ -DwxUSE_UNICODE -Wall -g -IC:\Users\עמרי\Downloads\wxWidgets-3.0.2\include -IC:\Users\עמרי\Downloads\wxWidgets-3.0.2\lib\gcc_lib\mswu -c C:\Users\עמרי\Downloads\again\againApp.cpp -o obj\Debug\againApp.o
In file included from C:\Users\עמרי\Downloads\wxWidgets-3.0.2\include/wx/defs.h:27:0,
from C:\Users\עמרי\Downloads\wxWidgets-3.0.2\include/wx/event.h:14,
from C:\Users\עמרי\Downloads\wxWidgets-3.0.2\include/wx/app.h:19,
from C:\Users\עמרי\Downloads\again\againApp.h:13,
from C:\Users\עמרי\Downloads\again\againApp.cpp:10:
C:\Users\עמרי\Downloads\wxWidgets-3.0.2\include/wx/platform.h:183:22: fatal error: wx/setup.h: No such file or directory
compilation terminated.
Process terminated with status 1 (0 minute(s), 0 second(s))
1 error(s), 0 warning(s) (0 minute(s), 0 second(s))
thank you.
-
Hello Omri,
I installed from binaries and I have the same issue, " fatal error: wx/setup.h"
Did you find any solution for your case?
Sincerely,
Carlos
-
same problem here, and you check the directory of wx/platform.h, there is no such file setup.h in the folder of wx, it is existing in the folder of msw, copy that file into wx folder, I got a lot of errors...waiting for solution...
-
if the new project wizard can't find your wxWidgets installation you have to add the paths by your self.
the wx/setup.h file is located in the lib folder. So you have to add "wxPath/lib/Your_config/msw" in Project->build options->Search Directories->Compiler
also don't forget to add the base include folder and the used libraries
greetings
-
I wrote directions somewhere; I will try to find them.
Edit: These directions are for using the wxWidgets 3.0.2 Binaries with the CB ScriptedWizard!
Tim S.
-
I wrote directions somewhere; I will try to find them.
Tim S.
I started to make a CB Wiki page on it.
http://wiki.codeblocks.org/index.php?title=Using_wxWidgets_%28MSW%29_3.0_Binary_with_Code::Blocks_Scripted_Wizard (http://wiki.codeblocks.org/index.php?title=Using_wxWidgets_%28MSW%29_3.0_Binary_with_Code::Blocks_Scripted_Wizard)
Edit: These directions are for using the wxWidgets 3.0.2 Binaries with the CB ScriptedWizard!
Tim S.