User forums > Help
error: wx_pch.h: No such file or directory
baboo:
Hello
I installed CB and i started a new project based on a wxWidgets template. I try to build and rund but the compiler tells me these:
Calculating dependencies for main.cpp...
cc1plus: error: wx_pch.h: No such file or directory
make: *** [.deps/main.d] Error 1
Process terminated with status 1 (0 minutes, 2 seconds)
0 errors, 0 warnings
Did I forget something?
Thank you.
thomas:
Do you have wxWidgets?
Code::Blocks does not contain a complete wxWidgets distribution, so if you want to build a wxWidgets application, you must either build wxWidgets yourself or install the libraries and headers from a DevPak.
mandrav:
There's a bug with the wxWidgets template using static wx library. The file wx_pch.h is not copied from the templates directory. Sorry for this inconvenience. Please copy it by hand...
baboo:
Ok, I copy it where?
Thanks.
mandrav:
--- Quote from: baboo on November 07, 2005, 03:35:55 pm ---Ok, I copy it where?
Thanks.
--- End quote ---
I mean, copy it from the templates directory to where you created your project...
Navigation
[0] Message Index
[#] Next page
Go to full version