On 11-07-01 04:29 PM, Rodolfo Bonnin wrote:
Hello All,
I'm writing two new drivers ( For ALOS PRISM and AVNIR-2 ) and I'm trying to
add them to the list of drivers.
I've added them to gdal_frmts.h:
void CPL_DLL GDALRegister_PRISM(void)
void CPL_DLL GDALRegister_AVNIR2(void)
...
gdalallregister.cpp: In function 'void GDALAllRegister()':
gdalallregister.cpp:483: error: 'GDALRegister_AVNIR2' was not declared in this
scope
gdalallregister.cpp:484: error: 'GDALRegister_PRISM' was not declared in this
scope
Rodolfo,
I hope you actually terminated the prototypes in gdal_frmts.h with a
semi-colon! Things should be working if the right copy of gdal_frmts.h
is being pulled into gdalallregister.cpp. I'm not sure why you are
having problems.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, [email protected]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev