[Gdal-dev] Problems when compling OGR_SDE.dll

chen zhen zhenchen17 at gmail.com
Wed Mar 28 02:28:28 EDT 2007


I am a newer to OGR, There is an error occus when i complie ORG_SDE.dll.
My enviroment is Windows 2003 and VS 2005.
  what i done as follow:
 1- Uncomment section "SDE_ENABLED = YES
                                         SDE_VERSION=91
                                         SDE_PLUGIN = YES
                                        SDE_SDK = c:\arcgis\arcsde
                                        SDE_INC = $(SDE_SDK)\include
                                         SDE_LIB =
$(SDE_SDK)\lib\pe$(SDE_VERSION).lib \

 $(SDE_SDK)\lib\sde$(SDE_VERSION).lib
 $(SDE_SDK)\lib\sg$(SDE_VERSION).lib   " in nmake.opt
  2-install arcsde develop kit in "c:\arcgis\arcsde"
  3-use nmake commad to compile the gdal project.
when i cd the sde directory run the command "nmake /f makefile.vc
ogr_SDE.dll" ,there is an error occured "

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        link /dll /out:ogr_SDE.dll ogrsdedatasource.obj ogrsdedriver.objogrsdel
ayer.obj  ..\..\..\ c:\arcgis\arcsde\lib\pe91.lib
c:\arcgis\arcsde\lib\sde91.li
b c:\arcgis\arcsde\lib\sg91.lib
Microsoft (R) Incremental Linker Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
LINK :   fatal error LNK1181: cannot open input file "..\..\..\.obj"
NMAKE : fatal error U1077: 'link' : return code '0x49d'
Stop."

I have no idea what is wrong with it!

I will be appreciate if anyone give me some instructions!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20070328/485d51fd/attachment.html


More information about the Gdal-dev mailing list