Author Topic: wxwidgets not running  (Read 4200 times)

tlagocalado

  • Guest
wxwidgets not running
« on: December 27, 2021, 03:46:07 am »
Hello, Had install codeblocks today in ubuntu, also had install wxwidgets to be able to use it.
Everything seems to be working properlly, everything until I create a wxframe...
if I create a new blank wxwidget project, I have to insert the  wx-config --cxxflags path into project build options and also wx-config --libs  version and core into project build options. I have to do this for each project.  dont know more so far. it works, it compiles.
If I create a wxwidget with wxframe,  I do the same, but the project never opens, and is giving me this message   "Process terminated with status -1 ( 0 minutes).
Can anyone give me a hint?
« Last Edit: December 27, 2021, 03:48:34 am by tlagocalado »

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1553
Re: wxwidgets not running
« Reply #1 on: December 27, 2021, 11:00:26 am »
Use the wizard (File -> New -> Project -> wxWidgets project)

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: wxwidgets not running
« Reply #2 on: December 27, 2021, 11:01:29 am »
Try to start in in the debugger (red arrow) and look where it crashes

-1 indicates a crash in your program.

Codeblocks does not seem to be the problem here