Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: freepro on November 28, 2012, 08:39:19 am
-
After i install CodeBlocks and wxWidgets, complite default wxWidgets project error: No found wx/app.h! why?
I need help!
Thank you!
-
After i install CodeBlocks and wxWidgets, complite default wxWidgets project error: No found wx/app.h! why?
Because you didn't setup the include folders of your project correctly.
-
WxWidgets headers have not been found. Several posibilitiies:
(1) You do not have wxWidgets headers at all. With wxWidgets 2.8.12, check whether you have a folder /usr/include/wx-2.8 and whether it contains a "wx" folder with bags of headers. If you do not find the folder then install wxWidgets development files.
(2) You have not created a wxWidgets project. If you haven't then you need to add `wx-config --cxxflags` to "other compiler options" and `wx-config --libs` to "linker options". Or create an empty wxWidgets project and add your source files to it.
Be sure that Code Blocks works with wxWidgets perfectly :) If you meet problems then Code Blocks isn't guilty.
-
WxWidgets headers have not been found. Several posibilitiies:
(1) You do not have wxWidgets headers at all. With wxWidgets 2.8.12, check whether you have a folder /usr/include/wx-2.8 and whether it contains a "wx" folder with bags of headers. If you do not find the folder then install wxWidgets development files.
(2) You have not created a wxWidgets project. If you haven't then you need to add `wx-config --cxxflags` to "other compiler options" and `wx-config --libs` to "linker options". Or create an empty wxWidgets project and add your source files to it.
Be sure that Code Blocks works with wxWidgets perfectly :) If you meet problems then Code Blocks isn't guilty.
Yes, i don't aadd `wx-config --cxxflags` to "other compiler options" and `wx-config --libs` to "linker options". Thank you, i to try!
-
Oh, no!
-------------- Build: Debug in TestGTK ---------------
Compiling: TestGTKApp.cpp
g++: error: wx-config: No such file or directory
g++: error: unrecognized option ‘--cxxflags’
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
What happened?
-
After i install CodeBlocks and wxWidgets, complite default wxWidgets project error: No found wx/app.h! why?
Because you didn't setup the include folders of your project correctly.
How i should to do?
-
Try reading this: http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
And the other FAQ entries...
-
Hey, i found it's work tight, if i select wxsmith and wxdefaultconfig. why?
But i need unicode!
-
/usr/lib/i386-linux-gnu/wx/include/gtk2-unicode-release-2.8/wx/setup.h|887|note: this is the location of the previous definition|
What's this?
How i should to do?
-
Hey, i found it's work tight, if i select wxsmith and wxdefaultconfig. why?
But i need unicode!
...what?! ???
Can you re-phrase you question? I don't get it...
-
What's this?
A compiler warning.
How i should to do?
Fix your code.
-
I solved!
But i use build target release, the program does not work on other linux! Why?
-
I solved!
But i use build target release, the program does not work on other linux! Why?
Because you compiled fro a different (Windows) platform. Windows applciations are not supposed to run on Linux.
-
No, i compiled on Ubuntu 12.04!
-
I need help!
Thank you!
-
I need help!
Thank you!
I don't understand your question. Please be more precise. What exactly are you compiling and what exactly does not work? Provide steps to reproduce, samples and so on.
We don't have magic balls to know see what you are doing.
And stop ask questions multiple times or bumping threads every few minutes / hours. We are not permanently on-line, so do not expect a just-in-time answer, be more patient, please. You might not know, but we are not sitting in front of the computers all day, we have real life. >:(
-
Sorry, Please see the question "how to compile release program?"
-
Sorry, Please see the question "how to compile release program?"
Yes, that I answered already.