[gdal-dev] Strange error on gdalAllRegister()

Rodolfo Bonnin rodolfobonnin at suremptec.com.ar
Mon Jul 4 08:20:08 EDT 2011


I'm sorry Even, Frank, yes, just needed a break :-). Symptoms of Friday's
afternoon I guess.

Regards,
Rodolfo.

2011/7/2 Frank Warmerdam <warmerdam at pobox.com>

> 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,
> warmerdam at pobox.com
> 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
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/**mailman/listinfo/gdal-dev<http://lists.osgeo.org/mailman/listinfo/gdal-dev>
>



-- 
Ing. Rodolfo Bonnin
SUR Emprendimientos Tecnológicos

Perú 345  Piso 5to Oficina "B" (C1067AAG)
Ciudad de Buenos Aires, Argentina
Tel. +54 (11) 4342-2976/84
rodolfobonnin at suremptec.com.ar
www.suremptec.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110704/3285180d/attachment-0001.html


More information about the gdal-dev mailing list