- Copy the package ogr\ogrsf_frmts \EFAL folder provided in to the <GDAL Root Path of code>\ogr\ogrsf_frmts.
-
Change the ogrsf_frmts.h and CMakeLists.txt
-
CMakeLists.txt: Add this code in the file ogr_optional_driver(efal "MapInfo EFAL") along with other formats
-
ogrsf_frmts.h: Add this code in the file void CPL_DLL RegisterOGREFAL();
-
-
Enable OGR_ENABLE_DRIVER_EFAL and OGR_ENABLE_DRIVER_EFAL_PLUGIN using CMake UI.
-
Add preprocessor in \build\ogr\ogrsf_frmts\ogrsf_frmts.vcxproj as follows:
-
EFAL_ENABLED
-
- Repeat step 8 and step 9.
- Open the Gdal.sln in Visual Studio 2022 and build for Release and x64 configuration.
- If while building linking errors appear for RegisterOGREFAL or GDALRegister_MRR, add the respective .lib path to the gdal project.