Re: Using VC++ Express to develop pgAdmin3 - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Using VC++ Express to develop pgAdmin3
Date
Msg-id 45EEEE55.4010400@postgresql.org
Whole thread Raw
In response to Re: Using VC++ Express to develop pgAdmin3  ("Jeff Boehmer" <jeff_boehmer@hotmail.com>)
List pgadmin-hackers
Jeff Boehmer wrote:
>
> Dave,
>
> Thanks.  I went back and started over completely.  I set my environment
> up exactly as it is in the vcproj file, followed all the instructions to
> the letter and it compiled and ran.  I think the problem I was seeing
> was because I had failed to compile some libs as unicode.

OK.

> Note:  The build widgets bat file did not work since vcbuild at the
> command prompt could not see the PDK includes and libs.  Since VC
> Express could see them, I just opened each project and compiled them for
> Debug and Release.

Hadn't thought of that. There is a project file in the wxWidgets source
that includes virtually all of the sub projects though - you still have
to de-select the builds you don't want, but it saves some effort.

> I had the same problem compiling the libpq.lib file but I used a hack
> where I copied the includes and libs from the PDK into VC Express'
> include and lib directories.  I didn't like doing that so I did it on
> another computer.

If you install the windows build of PostgreSQL, and include the
developer components you should get all the libs and headers pgAdmin
needs from PostgreSQL, in a location where it'll find them without
reconfiguration.

> Thanks again for your help,

Pretty sure it was you that did all the hard work, but thanks :-)

Regards Dave

pgadmin-hackers by date:

Previous
From: "Jeff Boehmer"
Date:
Subject: Re: Using VC++ Express to develop pgAdmin3
Next
From: Stephen Tashiro
Date:
Subject: Unsubscribing