I'm trying to compile the hbpgsql.lib manually with hbmk2 utility. The command line used is:
hbmk2 -trace -ldflag:-Ic:\PostgresPlus\8.3\include -hblib pgrdd.prg postgres.c tpostgre.prg And the problem is with "-ldflag" where I try to pass aditional parameter to the linker/compiler only he gives me the following error: hbmk: Processing configuration: C:\hbmsvc\bin\hbmk.cfg hbmk: Harbor compiler command: C:\hbmsvc\bin\harbour.exe -n1 pgrdd.prg tpostgre.prg -iC:\hbmsvc\include hbmk: C compiler command: cl.exe -nologo -W3 -c -Fo -IC:\hbmsvc\include pgrdd.c tpostgre.c postgres.c /link /libpath:C:\hbmsvc\lib /subsystem: console hbcpage.lib hblang.lib hbcommon. lib hbcplr.lib hbdebug.lib hbvm.lib hbrdd.lib hbusrrdd.lib hbuddall.lib hbhsx.lib hbsix.lib rddntx.lib rddnsx.lib rddcdx.lib rddfpt.lib hbrtl.lib hbpp.lib hbmacro.lib hbextern.lib gtcgi . gtpca.lib lib gtstd.lib gtwin.lib gtwvt.lib gtgui.lib hbpcre.lib hbzlib.lib dflag:-Ic:\PostgresPlus\8.3\include.lib user32.lib wsock32.lib advapi32.lib gdi32.lib pgrdd.c tpostgre.c postgres.c postgres.c (58): fatal error C1083: Can not open include file: 'libpq-fe.h': No such file or directory Generating Code ... Note the string "dflag:-Ic:\PostgresPlus\8.3\include.lib" in the line above. I think he is confusing the -ldflag as the name of an additional LIB. Vailton Renato _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
