Help needed with compiling postgre sql with mapserver

rock well rockwell_001 at YAHOO.COM
Wed May 24 19:07:20 EDT 2006


Hi fleuren the reason i dont want to use hobus mapserver is i guess it doesnt have the support for mrsid format and also sde libraries which i already have configured using the conventional mapserver. i was able to get rid of these error and was able to create the libpadll.lib but i wasnt able to create the libpq.dll file as it gave me the following error 
   
  libpq.lib(fe-connect.obj) : error LNK2001: unresolved external symbol _SHGetFolderpath
  .\Release\libpq.dll : fatal error LNK1120: 1 unresolved externals
   
  and the execution stopped ..... 
   
  i guess someone might have encountered this problem, if so can you give me some tips to solve it .....
   
  If you dont mind fleuren can you send me the libpq.dll as an attachment as thats the only file i need to get going ....
   
  Thanks a lot for your help ....
  kris

Huub Fleuren <hfl at home.nl> wrote:
  Hi Kris,

I did feel lucky that the compile did not end with the word Stop.
I'm afraid experience problems like this now with the ECW library.

Maybe try the very rich .\bin directory of
http://hobu.stat.iastate.edu/mapserver/build_output/mapserver-4.8.3-msvc71-build-kit.zip 

this is a set for msvc7, so probably, issues on vc6

Regards, Huub


rock well schreef:
> Thanks for your reply fleuren, yes i did the same way you told but 
> still it give the following errors
> 
> LINK : fatal error LNK1181: cannot open input file "shfolder.lib"
> NMAKE : fatal error U1077: 'link.exe' : return code '0x49d'
> 
> Do you know why we get these errors, or else all we need is i guess 
> the libpqdll.lib and some dlls right, if anything doesnt work can you 
> send me those dlls.
> 
> Thanks verymuch for your help and time ...
> kris
>
> */Huub Fleuren /* wrote:
>
> Hi Rock,
>
> i recently compiled postgreql-8.1.3 with vc6sp4 and
> 5.2.3790.2075.51.PlatformSDK_Svr2003R2_rtm.img
> (install from virtual CD)
>
> first vcvars32
> then setenv
> then nmake /f win32.mak
>
> after a failure you always do nmake /f win32.mak clean
>
> Regards, Huub
>
> rock well schreef:
> > Hi all, i am trying to compile mapserver with postgre sql
> support. I
> > found this documentation in the mapserver website
> > http://mapserver.gis.umn.edu/docs/howto/win32_compiling
> >
> > I downloaded the MS platform sdk and installed it, when i try to
> run
> > the win32.mak file in the libpq directory it still says
> >
> > LINK : fatal error LNK1181: cannot open input file "shfolder.lib"
> >
> > the shfolder.lib does exist in the the default MS platform sdk
> folder,
> > do i have to change something or am i doing something wrong ...
> >
> > Thanks for your time ....
> > kris
> >
> >
> ------------------------------------------------------------------------
> > Blab-away for as little as 1¢/min. Make PC-to-Phone Calls
> >
> > using Yahoo! Messenger with Voice.
>
>
> ------------------------------------------------------------------------
> Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries 
> 
> for just 2¢/min with Yahoo! Messenger with Voice. 



		
---------------------------------
Ring'em or ping'em. Make  PC-to-phone calls as low as 1¢/min with Yahoo! Messenger with Voice.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060524/69873420/attachment.html


More information about the mapserver-users mailing list