这不是wxWidget-3.0.2问题
即使代码块有wxWidgets的模板,我也想从零开始我的应用程序。因此,我使用控制台应用程序模板创建了一个应用程序,并添加了#include< wx / window.h>作为第一步,如此处所示。但我得到一个错误说:
D:\Dev \Projects\CodeBlocks \wx001 \ main.cpp:2:23:致命错误:wx / window.h:没有这样的文件或目录#include< wx / window.h>
我知道这不是一个wx问题,因为'wxWidgets Template'确实有效,但CB没有邮件列表可以发布这个问题,因此,我希望有人可以帮我从零设置项目,或者向我指出一个解决这个问题的网站。
我添加了以下设置:
链接设置= libwxmsw30ud.a
搜索目录 - >编译器= $(#wx)\ lib \ gcc_dll \ mswud
搜索目录 - >链接器= $(#wx)\ lib \ gcc_dll
搜索目录 - >资源编译器= $(#wx)\ lib \ gcc_dll \ mswud
但是,仍然没有奶酪悲伤的笑容
谢谢
Even though Code Blocks has a template for wxWidgets, I’d like to start my application from zero. So, I created an application using the ‘Console Application’ template and added the ‘#include <wx/window.h>’ as the first step, as suggested here. But I get an error saying :
D:\Dev\Projects\CodeBlocks\wx001\main.cpp:2:23: fatal error: wx/window.h: No such file or directory #include <wx/window.h>
I know that this is not a wx problem, since the ‘wxWidgets Template’ does work, but CB does not have a mailing list to post this question and, thus, I hope someone here can help me set up the project from zero, or point out to me a site that provides the solution to this problem.
I added this settings:
Linker settings = libwxmsw30ud.a
Search Directory -> Compiler = $(#wx)\lib\gcc_dll\mswud
Search Directory -> Linker = $(#wx)\lib\gcc_dll
Search Directory -> Resource compiler = $(#wx)\lib\gcc_dll\mswud
but, still, no cheese Sad smile
Thanks
(#wx)\ lib \ gcc_dll \ mswud
搜索目录 - > ;链接器=
(#wx)\lib\gcc_dll\mswud
Search Directory -> Linker =
(#wx)\ lib \ gcc_dll
搜索目录 - >资源编译器=
(#wx)\lib\gcc_dll
Search Directory -> Resource compiler =
(#wx)\ lib \gcc_dll \ mswud
但是,仍然没有奶酪悲伤微笑
谢谢
(#wx)\lib\gcc_dll\mswud
but, still, no cheese Sad smile
Thanks