News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

wxsmith - fatal error wx/dialog.h: no such file or directory

Started by blue orb, November 02, 2011, 10:46:42 PM

Previous topic - Next topic

blue orb

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.

blue orb

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

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.


blue orb

i am so so happy:))

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

thank you for all your help with this!