Failed to load TileSource driver for custom driver
I am attempting to load ECRG imagery using a slightly modified gdal driver. I've built and added the plugin to OSG, and by using ProcessExplorer I am able to confirm the .dll does load. The error I am seeing however is : "[osgEarth]* [TileSourceFactory] Failed to load TileSource driver "gdal_ecrg" "
At the end of my new driver I used the macro REGISTER_OSGPLUGIN. The only thing that is different from the original gdal driver, is the file path is modified when looking for appropriate imagery files, as well as adding the _ECRG to classnames.
I have also modified GDALOptions to handle my name changes. All source files and .dlls are placed in the same location as all other osg plugins.
Does anyone have any ideas what i'm doing wrong here?