Building on MS Visual Studio Express 2010 - Mailing list pgadmin-hackers

From Adam Scott
Subject Building on MS Visual Studio Express 2010
Date
Msg-id BANLkTimA6_qsE60vttLdvNq6C_WMZGEmwA@mail.gmail.com
Whole thread Raw
List pgadmin-hackers
Hi All,

was able to get pgadminiii to build using MS Visual Studio Express 2010 for REL-1_13_DEV

This is from memory but here are the major points that might help someone else:

When opening the solution file I let VSE upgrade the project files.  It made some kind of warning if I remember correctly, and I ignored it :)

When compiling I got a pg2c.exe error.  pg2c is used to create wxwindows icons.  The problem was in how VSE upgraded the project files.

To get around this just do the following.
Search for %(png2c.CommandLineTemplate) in pgAdmin3.targets and replace with "%(png2c.CommandLineTemplate)&quot

The "ampersand quot" indicated above is explicitly required and not a misformatting of this message you are reading now.  XML uses ampersands to indicate special characters.

The next roadblocks in building may have been due to mine not setting up the environment for libxml correctly as specified in the instructions.  I have libxml2 and there's a reference to libxml in favourites.h (if I recall).  In any case I just kept adding paths for the linker and compiler until it was able to resolve the correct directories.

Hope this helps someone.

Adam C. Scott

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: Server status button
Next
From: Timon
Date:
Subject: Re: pgAdmin III commit: Add the support for per-column collation feature