I am trying to compile mexgdal.c in visual studio 2013 and keep coming across the LNK2001 error for Gdal functions (like GDALOpen, GDALAllRegsiter, GDALGetRasterBand, etc.)
I've tried the solutions outlined in this question and it eliminated 19 out of 49 errors: Building a MATLAB mex file in Visual Studio gives "LNK2019 unresolved external symbol _mexPrintf referenced in function mexFunction"?
but I still have the same error.
example code:
error LNK2001: unresolved external symbol GDALGetDataTypeSize referenced in function mexFunction
I come across the exact same errors compiling in Matlab (except its error LNK2019 in Matlab)
Any help is greatly appreciated!
Thanks