I tried to open a .raw image (Raw image format) using GDALOpen()
with GDAL C API. So, I wrote the following code to test it :
in_data = GDALOpen("/home/YOYo/workspace/NY/Data/fig.raw",GA_ReadOnly);
and the compilation is good but when I try to execute I get the following error
ERROR 4: "/home/YOYo/workspace/NY/Data/fig.raw" not recognized as a supported file format
How can I fix this error?