Ticket #2048 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Add manifest support to makefile for Visual C++ 2005

Reported by: szekerest Assigned to: szekerest
Priority: high Milestone:
Component: Build Problems Version: unspecified
Severity: normal Keywords:
Cc:

Description

There are known problems with missing manifests when building GDAL with Visual
C++ 2005. This report is dedicated to memorize the issue for fix in near
future.

Here is MSDN article "How to: Embed a Manifest Inside a C/C++ Application" 

http://msdn2.microsoft.com/en-us/library/ms235591.aspx

There are a number of issues reported on the mapserver lists related to this
problem, mostly for the C# binding

The proposed implementation will test the existence of the .manifest file and
embed the contents as a resource using the mt tool, like for the C# makefile

$(MAPSCRIPT_DLL): $(MAPSCRIPT_OBJS)
       $(LINK) $(LDFLAGS) /out:$(MAPSCRIPT_DLL) $(MAPSCRIPT_OBJS) $(MS_LIBS)
       if exist $(MAPSCRIPT_DLL).manifest mt -manifest
$(MAPSCRIPT_DLL).manifest -outputresource:$(MAPSCRIPT_DLL);#2

Change History

03/17/07 17:53:02 changed by szekerest

The related changes have been committed to the CVS-HEAD and the 4-10 branch

Currently the .exe and .dll created in mapserver root directory and in the
mapscript/csharp were affected.


04/21/07 14:45:17 changed by tamas

  • status changed from new to closed.
  • resolution set to fixed.