Opened 21 years ago

Last modified 20 years ago

#398 closed defect (fixed)

latest windows makefile

Reported by: godot@… Owned by: warmerdam
Priority: high Milestone:
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords:
Cc:

Description

GDALLIB definition out of synch. Changed to "gdal_i.lib" to build.

Change History (2)

comment:1 by warmerdam, 21 years ago

I have changed the declaration in nmake.opt to look like this:

!IFDEF DLLBUILD
GDALLIB	=    $(GDAL_ROOT)/gdal_i.lib
!ELSE
GDALLIB	=    $(GDAL_ROOT)/gdal.lib
!ENDIF

The GDALLIB value is used to link the various utility programs and this will
drive it from the DLLBUILD macro.  

Note sure how GDALLIB got set to gdal.lib.

comment:2 by tinax@…, 20 years ago

Dear Frank:
    I tried to add a new imge format using the hdf5.lib into gdal, when i use 
the nmake command line on the path of ..gdal\frmts\MyHdf and ..gdal\frmts, it 
was compiled sucessfully, but when i compiled the makefile on the path of 
gdalroot , i had get some LNK2001 errors. What i need do for the makefile(on 
the path: ..gdal\ and gdal\frmts and gdal\frmt\MyHdf) when i add my format by 
useing the HDF5.lib (already been compiled ) into gdal, and what i should adapt 
in the relational files?

Note: See TracTickets for help on using tickets.