Opened 19 years ago

Closed 16 years ago

#889 closed defect (fixed)

Patch to get msg format to build under Linux

Reported by: fvdbergh@… Owned by: warmerdam
Priority: high Milestone:
Component: default Version: unspecified
Severity: normal Keywords:
Cc: retsios@…

Description

After adding the MSG format (frmts/msg) to the build, I got some compiler
errors, and some problems with the linking.

The attached patch got it to compile on Linux.

From the gdal directory, I have applied the patch as

patch  -d frmts/msg < msg_linux_patch 

It should (in theory) not break compilation under MSVC6, and it appears to work
under MSVC.net

Attachments (2)

msg_linux_patch (5.8 KB ) - added by fvdbergh@… 19 years ago.
Patches code and makefiles to work under Linux
PublicDecompWT_patch.rar (5.5 KB ) - added by oananicola@… 18 years ago.
PublicDecompWT installation patch

Download all attachments as: .zip

Change History (4)

by fvdbergh@…, 19 years ago

Attachment: msg_linux_patch added

Patches code and makefiles to work under Linux

comment:1 by oananicola@…, 18 years ago

This does not solve my problem. I still get the same error message:
msgdataset.h:51: error: expected `)' before '*' token
msgdataset.h:56: error: 'MSGDataset' has not been declared
How can I solve this?

> After adding the MSG format (frmts/msg) to the build, I got some compiler
> errors, and some problems with the linking.
> 
> The attached patch got it to compile on Linux.
> 
> From the gdal directory, I have applied the patch as
> 
> patch  -d frmts/msg < msg_linux_patch 
> 
> It should (in theory) not break compilation under MSVC6, and it appears to work
> under MSVC.net

(In reply to comment #0)
> After adding the MSG format (frmts/msg) to the build, I got some compiler
> errors, and some problems with the linking.
> 
> The attached patch got it to compile on Linux.
> 
> From the gdal directory, I have applied the patch as
> 
> patch  -d frmts/msg < msg_linux_patch 
> 
> It should (in theory) not break compilation under MSVC6, and it appears to work
> under MSVC.net


by oananicola@…, 18 years ago

Attachment: PublicDecompWT_patch.rar added

PublicDecompWT installation patch

comment:2 by Even Rouault, 16 years ago

Resolution: fixed
Status: reopenedclosed

Closed by the work done by Mateusz on #2168

Note: See TracTickets for help on using tickets.