Thread: Windows Compile Error

Windows Compile Error

From
"Adam H. Pendleton"
Date:
I am getting the following error when compiling pgadmin3 on Windows XP
using Visual Studio .NET:

\pgadmin3\src\ui\pgAdmin3.rc(11): fatal error RC1015: cannot open
include file 'wx/msw/wx.rc'

Okay....except that I *can* open the file.  In fact, if I double-click
the error, which opens the offending file and puts me on the offending
line, I see:

#include <wx/msw/wx.rc>

So, if I right click on that line and select "Open Document
<wx/msw/wx.rc>", it uh, well, opens.  I have checked all the include
paths (C++,Linker, Resource) and they all seem correct, and like I said,
I can open the file.

Any ideas?

ahp


Re: Windows Compile Error

From
"Dave Page"
Date:

> -----Original Message-----
> From: Adam H. Pendleton [mailto:fmonkey@fmonkey.net]
> Sent: 08 May 2003 17:36
> To: pgadmin-hackers@postgresql.org
> Subject: [pgadmin-hackers] Windows Compile Error
>
>
> I am getting the following error when compiling pgadmin3 on
> Windows XP
> using Visual Studio .NET:
>
> \pgadmin3\src\ui\pgAdmin3.rc(11): fatal error RC1015: cannot open
> include file 'wx/msw/wx.rc'
>
> Okay....except that I *can* open the file.  In fact, if I
> double-click
> the error, which opens the offending file and puts me on the
> offending
> line, I see:
>
> #include <wx/msw/wx.rc>
>
> So, if I right click on that line and select "Open Document
> <wx/msw/wx.rc>", it uh, well, opens.  I have checked all the include
> paths (C++,Linker, Resource) and they all seem correct, and
> like I said,
> I can open the file.
>
> Any ideas?

Hmm, I think we all use VC++ 6, but I just opened the project in VS.NET
and it built fine. What are your resource compiler settings? The
following work for me:

/d "NDEBUG" /l 0x809 /I "c:/wxWindows_2.4.0/include" /I
"c:/wxWindows_2.4.0/contrib/include" /fo".\Release/pgAdmin3.res"

Does the file actually exist at c:/wxWindows_2.4.0/include/wx/msw/wx.rc?

Regards, Dave.