Jeroen,
nothing changed, again.
(Indeed - as per my first post - with the original .mak I already tried to
launch either within the win32 dir or outside it unsuccessefully.)
Anyway, with your new .mak the message is still:
D:\DriveF\DB\Downloads\postgresql\libpqxx-2.6.7>nmake /f
win32/vc-libpqxx.mak STATICRELEASE
Microsoft (R) Program Maintenance Utility versione 7.00.9466
Copyright (C) Microsoft Corporation. Tutti i diritti riservati.
cl.exe /nologo /W3 /GX /FD /GR /c /I "include\pqxx" /I "include" /I
"D:
\DriveF\DB\Downloads\postgresql\source\postgresql-8.1.4\src\i
nclude" /I "D:\DriveF\DB\Downloads\postgresql\source\postgres
ql-8.1.4\src/interfaces/libpq" /D PGSTD="std" /D "WIN32" /D "_MBCS" /D
"_WINDOW
S" /D "PQXX_INTERNAL" /MD /D "_LIB" /D "NDEBUG" /Fo"ObjStaticRelease\\"
/Fd"ObjS
taticRelease\\" src/binarystring.cxx
NMAKE : errore irreversibile U1077: "cl.exe" : codice restituito
"0xc0000135"
Stop.
That is the result with a couple of changes I did (even if it seems
cosmetics):
- no double quotes "" to enclose the path for PGSQLSRC and LIBPATH1&2 in
file common
- line 241 of file vc-libpqxx.mak:
copy $(PGSQLSRC)\interfaces\libpq\release\libpq.dll $(OUTDIR)
should be
copy $(LIBPATH1)\libpq.dll $(OUTDIR)
same for Debug, isn't it????
Also tried nmake with the /I option but it generate no obj.
Any further suggestion?
Thx.
Cheers,
Mauro.
----Original Message Follows----
From: "Jeroen T. Vermeulen" <[EMAIL PROTECTED]>
To: "mauro castelli" <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED], [email protected]
Subject: Re: [libpqxx-general] Errors building libpqxx with .Net2003 on
windows XP SP2.
Date: Wed, 9 Aug 2006 17:40:27 +0700 (ICT)
On Tue, August 8, 2006 04:01, mauro castelli wrote:
> Same behavior, it does not works with my system.
> PS: In case it may be useful, this is the .mak I obtained:
Certainly useful. The problem seems to be in these lines:
> "$(INTDIR_STATICRELEASE)\binarystring.obj": ../src/binarystring.cxx
> $(INTDIR_STATICRELEASE)
> $(CXX) $(CXX_FLAGS_STATICRELEASE) /Fo"$(INTDIR_STATICRELEASE)\\"
> /Fd"$(INTDIR_STATICRELEASE)\\" ../src/binarystring.cxx
We don't want the "../", of course. Those may actually be in the template
files (win32/vc-*.mak) themselves, so you'll want to upgrade those as well
before running the upgraded template2mak.py. Then it should work if you
run template2mak.py from the main libpqxx directory.
To help cut short the problems you're having with this, I'll upload
working versions of the Makefiles to http://pqxx.org/ in a moment.
Jeroen
_________________________________________________________________
Ricerche online più semplici e veloci con MSN Toolbar!
http://toolbar.msn.it/
_______________________________________________
Libpqxx-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/libpqxx-general