Re: Using VC++ Express to develop pgAdmin3

From: Dave Page <dpage(at)postgresql(dot)org>
To: Jeff Boehmer <jeff_boehmer(at)hotmail(dot)com>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: Using VC++ Express to develop pgAdmin3
Date: 2007-03-07 16:54:45
Message-ID: 45EEEE55.4010400@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Stephen Tashiro 2007-03-07 17:19:26 Unsubscribing
Previous Message Jeff Boehmer 2007-03-07 16:45:05 Re: Using VC++ Express to develop pgAdmin3