Opened 14 years ago

Closed 11 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@… 14 years ago.
Patches code and makefiles to work under Linux
PublicDecompWT_patch.rar (5.5 KB) - added by oananicola@… 14 years ago.
PublicDecompWT installation patch

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by fvdbergh@…

Attachment: msg_linux_patch added

Patches code and makefiles to work under Linux

comment:1 Changed 14 years ago by oananicola@…

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


Changed 14 years ago by oananicola@…

Attachment: PublicDecompWT_patch.rar added

PublicDecompWT installation patch

comment:2 Changed 11 years ago by Even Rouault

Resolution: fixed
Status: reopenedclosed

Closed by the work done by Mateusz on #2168

Note: See TracTickets for help on using tickets.