Hello! I'm a beginner to the wxwindows programming. I use dev-c++ with wxwindows package. I've got a compiler error when I compiled a very simple "hello". "15 d:Dev-Cppincludewxwx.h In file included from d:/Dev-Cpp/include/wx/wx.h" When I double clicked the error ,it pointed to wx.h header ,and to such a line: include "wx/defs.h"
There's one mistake in the templates, easy to fix. 1. Open dev-cppTemplatesWxWindows.template in a text editor (notepad) and go to the [Project] section. 2. Copy the line Compiler=--pipe -D...etc and paste just below. 3. Change pasted line to CppCompiler=--pipe -D.... etc and save the file.
Now, load up Dev-C++. file->new->project GUI->wxWindows. Save in a directory. Compile. Should work perfectly
4. Re: Need help!!
#2525
Posted by: 2003-08-23 00:38:26
True... If you reffer to the DevPack I made you're right. The template is outdated since newer versions of Dev-C++ use different settings for C and C++ compilation while the old ones didn't.