Opened 12 years ago

Closed 10 years ago

#49 closed defect (wontfix)

Geotiff build for windows is broken for shared libraries

Reported by: adamstylinski Owned by: warmerdam
Priority: normal Milestone:
Component: libgeotiff Version: 1.3.0
Keywords: Cc:

Description

There is a simple preprocessor definition that is absent from the makefile.vc file. I spent a painstaking amount of time figuring out what was wrong, as the declspec(dllexport) win32 call does not occur without this. The simplest solution was just to append a /DBUILD_AS_DLL to the CC variable. A comment should at least be given inside the file to remind the user to define this variable if building a shared library. This affects 1.3 but also the 1.4-RC's. I haven't checked SVN.

Change History (1)

comment:1 by hobu, 10 years ago

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.