Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / Compiler Error

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

  
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Compiler Error
#2424
Posted by: 2003-07-31 02:55:00
Hi,
I am having some trouble with the wxwindows program.  I am using MS Visual C++ 6.0 .  I did a batch build, and then I set up the compiler just as the tutorial pdf instructed, but I am having problems compiling the very first 'HelloWorldApp' !!
I get ONE compiler error:

"c:wxwinincludewxplatform.h(85) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory"

After double clicking the error, it takes me to the platform.h header, and to this particular line:

/*
   Include wx/setup.h for the Unix platform defines generated by configure and
   the library compilation options
 */
>error>     #include "wx/setup.h"

Well, I see that there are 10 of the setup.h files located in different subdirectories of the c:wxwin directory.  They are all the same size (41kb), so I concluded they were all the same.  I copied one over to the includewx folder.  Now I get a different error:

"LINK : fatal error LNK1104: cannot open file "wxd.lib"
"

Help is greatly appreciated.
Message2. Re: Compiler Error
#2425
Posted by: guidance 2003-07-31 11:49:25
Seems you are not compiling as static library. "wxd.lib" should just be that library.
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Thu 2024-3-28  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0