Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / A problem for wx/chkconf.h

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

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. A problem for wx/chkconf.h
#3502
Posted by: nofeel 2004-03-12 08:01:20
I download all *.h file ah here, and update my directory include/wx,now when I build some project , it cause some thouble:

--------------------Configuration: DB_INV_1 - Debug--------------------
Compiling source file(s)...
DBINV.cpp
In file included from C:MinGWStudioIncludewxplatform.h:104,
from C:MinGWStudioIncludewxdefs.h:25,
from C:MinGWStudioIncludewxwxprec.h:13,
from ..DBINV.cpp:17:
C:MinGWStudioIncludewxchkconf.h:55:9: #error "wxUSE_EXCEPTIONS must be defined."
C:MinGWStudioIncludewxchkconf.h:158:9: #error "wxUSE_XML must be defined."
C:MinGWStudioIncludewxchkconf.h:336:9: #error "wxUSE_DISPLAY must be defined."
C:MinGWStudioIncludewxchkconf.h:453:9: #error "wxUSE_LISTBOOK must be defined."
C:MinGWStudioIncludewxchkconf.h:597:9: #error "wxUSE_SOUND must be defined."

DB_INV_1.exe - 5 error(s), 0 warning(s)

Now can I how to do? Thanks !

Message2. Re: A problem for wx/chkconf.h
#3503
Posted by: upCASE 2004-03-13 00:28:52
Hi!
Err... Could you please be a little bit more specific regarding what you did and what environment you've installed??

"I download all *.h file ah here, and update my directory include/wx,now when I build some project , it cause some thouble"
Does this mean you had a wxWidgets installation running and "updated" the headers?? What header files did you download?? And the master question: What version of wxWidgets are you refering too????
Judging from the defines you want to use wxWidgets version 2.5.1, the current dvelopment version, right?
Have you downloaded the full package? Did you compile the lib and did it compile without errors? Do all/some of the samples compile? If so, have you set the same defines (like -D__WXMSW__) for your project?

upCASE
-----------------------------------
If it was hard to write, it should be hard to read!- Do. Or do not. There is no try!
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Tue 2024-10-8  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0