Guidance Forums / wxWidgets (wxWindows) in C++ / Compiler Error

Search 搜索
Home Home

Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Compiler Error
Posted by: 2003-07-31 02:55:00
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
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
© Tue 2024-7-16  Guidance Laboratory Inc. Hits:0