Code::Blocks Forums
User forums => Help => Topic started by: baboo on November 07, 2005, 12:26:42 pm
-
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.
-
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.
-
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...
-
Ok, I copy it where?
Thanks.
-
Ok, I copy it where?
Thanks.
I mean, copy it from the templates directory to where you created your project...
-
Hi
I'm using Code::Blocks v1.0RC2 on Linux and have the same problem. Whats worst, I don't have wx_pch.h file in my templates directory (/usr/local/share/codeblocks/templates). Any ideas how to solve this? I will be greatfull for help.
-
this issue was fixed after RC2, download one of the recent nightly builds.
-
- Linux : not supported yet
As I can see, Nightly builds are Windows only, while I have problem on Linux. Maybe I'm missing something?
-
You have to build it yourself. It's easy though ;).
-
The problem was not in building, but in getting source code. I have somehow missed svn download way :oops:. But after doing little search I have downloaded version 1998 from svn, build it and everything seems to be working fine now. Thx for help.