Author Topic: "a matching release configuration cannot be found" wxWidgets installation  (Read 6177 times)

Offline Omri

  • Single posting newcomer
  • *
  • Posts: 3
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.
« Last Edit: March 15, 2015, 03:43:25 pm by Omri »

CarlosRPEvertsz

  • Guest
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

danabaxia

  • Guest
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...

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
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

Online stahta01

  • Lives here!
  • ****
  • Posts: 7590
    • My Best Post
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.
« Last Edit: August 06, 2015, 02:36:41 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Online stahta01

  • Lives here!
  • ****
  • Posts: 7590
    • My Best Post
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

Edit: These directions are for using the wxWidgets 3.0.2 Binaries with the CB ScriptedWizard!

Tim S.
« Last Edit: August 06, 2015, 02:36:53 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org