building pgadmin on win7

From: Дмитрий Ольшевский <olshevskiy87(at)bk(dot)ru>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: building pgadmin on win7
Date: 2014-05-10 21:19:46
Message-ID: 1399756786.6402435@f125.i.mail.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hello everybody!

I'm trying to build pgadmin 1.18.1 from this repository https://github.com/postgres/pgadmin3.
Using software: Visual Studio 2010, wxwidgets 2.8.12, postgres 9.3.4.
Fllowing the instruction INSTALL, I've built wxMSW by running build-wxmsw.bat from xtra/wx-build in pgadmin sources,
set the vars %PGDIR%, %PGBUILD% and %WXWIN% and dirs in project's properties.

Library directories: $(VCInstallDir)lib;$(VCInstallDir)atlmfc\lib;$(WindowsSdkDir)lib;$(FrameworkSDKDir)\lib;c:\pgbuild\iconv\lib\;c:\pgbuild\libxml2\lib\;c:\pgbuild\libxslt\lib\;c:\pgbuild\openssl\lib\;c:\pgsql\lib

But when I tried to compile the project, I received errors like these:

Error 14 error LNK2001: unresolved external symbol _PQgetisnull C:\pgadmin\pgadmin\ctlResultGrid.obj pgAdmin3
Error 15 error LNK2001: unresolved external symbol _PQgetisnull C:\pgadmin\pgadmin\dbgTargetInfo.obj pgAdmin3
Error 16 error LNK2001: unresolved external symbol _PQgetisnull C:\pgadmin\pgadmin\dlgDirectDbg.obj pgAdmin3
Error 17 error LNK2019: unresolved external symbol _PQgetisnull referenced in function "public: bool __thiscall pgSet::IsNull(int)const " (?IsNull(at)pgSet@@QBE_NH(at)Z) C:\pgadmin\pgadmin\ctlSQLResult.obj pgAdmin3
Error 18 error LNK2001: unresolved external symbol _PQgetisnull C:\pgadmin\pgadmin\frmEditGrid.obj pgAdmin3
Error 19 error LNK2001: unresolved external symbol _PQgetisnull C:\pgadmin\pgadmin\pgAggregate.obj pgAdmin3 Can anybody give me some advice?

# Olshevskiy Dmitriy

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message J.F. Oster 2014-05-11 02:55:33 Re: building pgadmin on win7
Previous Message Guillaume Lelarge 2014-05-09 19:31:55 Support for the 9.4 MOVE clause of ALTER TABLESPACE