Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / Need help!!

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Need help!!
#2468
Posted by: 2003-08-16 13:40:01
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"
Message2. Re: Need help!!
#2469
Posted by: guidance 2003-08-16 15:36:42
Have you tried these options? http://g.yi.org/_scripts/file.php?f=6773&r=46#424
Message3. Re: Need help!!
#2514
Posted by: 2003-08-22 02:45:26
If you installed wxWindows by using DevPak:

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
Message4. 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.

upcase
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Fri 2023-1-27  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0