User forums > Using Code::Blocks
wxsmith - fatal error wx/dialog.h: no such file or directory
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!
zabzonk:
Hurrah! My good deed for the day!
Navigation
[0] Message Index
[*] Previous page
Go to full version