I want to built gdal2.2.4 and ogdi 3.1.6 together. I am using Visual Studio 2010. I copied both of those directories in D:\folder. I execute the following command in folder "D:\gdal-2.2.4" where gdal is copied:
nmake /f makefile.vc
But the build gets error. The nmake.opt file and the error I get are attached. Can you help me about how to build GDAL with OGDI?