Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / Dev-C++ template compilation and a truckload of errors.

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

  
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Dev-C++ template compilation and a truckload of errors.
#2527
Posted by: 2003-08-23 02:39:49
Hi there.

I use (and abuse) Dev-C++ and I've just installed wxWindows library. Unfortunatelly, when I try to compile the template, the compiler spits out the following errors:

- In file included from C:/DEV-CPP/include/wx/wx.h
-         from main.cpp
- redeclaration of C++ built-in type `bool'
- In file included from C:/DEV-CPP/include/wx/debug.h
-                  from C:/DEV-CPP/include/wx/defs.h
-                  from C:/DEV-CPP/include/wx/wx.h
-                  from main.cpp
- #error "Please define string case-insensitive compare for your OS/compiler"
- (etc, etc, etc..)

A bunch of other errors follow.

So, can anyone help me with this one?

Message2. Re: Dev-C++ template compilation and a truckload of errors.
#2528
Posted by: 2003-08-23 02:58:22
Stupid old me. Apparently it was another case of RTFM.

The thing is, I installed wxWindows' lib through vUpdate, which instals an outdated version.

I've corrected the problem by going through the following walkthrough:
- http://wiki.wxwindows.org/wiki.pl?Dev-CPP_Setup_Guide

I haven't followed the "homebuilt version" steps but still, now I know where to look when/if I need it.

Take care
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Fri 2024-3-29  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0