Author Topic: wxsmith - fatal error wx/dialog.h: no such file or directory  (Read 20691 times)

Offline blue orb

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: wxsmith - fatal error wx/dialog.h: no such file or directory
« Reply #15 on: November 03, 2011, 04:46:06 pm »
afaik, i have only ever used c++ files = .h and .cpp. i have never used c files.

the wxWidgets project was a wx\widgets from ground-up.

i will try another wxWidgets project again, now.

Offline blue orb

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: wxsmith - fatal error wx/dialog.h: no such file or directory
« Reply #16 on: November 03, 2011, 04:58:52 pm »
just tried a fresh wxWidgets project from within code:blocks. that won't compile either. am i using wxFormBuilder's/code:blocks' gui tools wrongly?

zabzonk

  • Guest
Re: wxsmith - fatal error wx/dialog.h: no such file or directory
« Reply #17 on: November 03, 2011, 05:07:23 pm »
OK, one last thing. Check that you are building with the correct tools. In Code::Blocks, go to Settings|Compiler and Debugger... and in the resulting dialog select the Toolchain Executables tab. Take a look the C++ Compiler and Linker for Dynamic libs entries - they should both be set to "mingw32-g++.exe". If somehow they have got set to "mingw32-gcc.exe" or something similar, that will cause problems.

If that fails, can you post the build log as an attachment.  You might need to enable its creation in the Compiler and Debugger dialog's Build Options tab. It will be created in your project root directory and will be called something like myproj_build_log.html.


Offline blue orb

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: wxsmith - fatal error wx/dialog.h: no such file or directory
« Reply #18 on: November 03, 2011, 05:20:02 pm »
i am so so happy:))

that worked!! the dynamic lib was set wrongly...

thank you for all your help with this!

zabzonk

  • Guest
Re: wxsmith - fatal error wx/dialog.h: no such file or directory
« Reply #19 on: November 03, 2011, 05:21:38 pm »
Hurrah! My good deed for the day!