[MDAL-Developer] MDAL driver modification

Robson Leo Pachaly eng.pachaly at gmail.com
Fri Aug 4 09:19:09 PDT 2023


Hi all,

I'm trying to do some modifications on a MDAL driver. I have two questions.
The first is about compiling the mdal.dll and the second is about the
procedure for testing the modification.

1. I'm following exactly the build steps on the MDAL repository but I get
some errors while building and no mdal.dll is being generated. The errors
are the following:

Error C3892 'wstr': you cannot assign to a variable that is const
Error C2664 'int MultiByteToWideChar(UINT,DWORD,LPCCH,int,LPWSTR,int)':
cannot convert argument 5 from 'const _Elem *' to 'LPWSTR'
Error C2664 'int
WideCharToMultiByte(UINT,DWORD,LPCWCH,int,LPSTR,int,LPCCH,LPBOOL)': cannot
convert argument 5 from 'const _Elem *' to 'LPSTR'
Error C1083 Cannot open include file: 'mdal_config.hpp': No such file or
directory

2. The best way for testing the modification is to recompile QGIS with make
option MDAL INTERNAL set to OFF and then change the mdal.dll?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mdal-developer/attachments/20230804/6e9e537b/attachment.htm>


More information about the MDAL-Developer mailing list