[Gdal-dev] Compiler error

Frank Warmerdam warmerdam at pobox.com
Wed Mar 1 07:50:55 EST 2006


Martin Rodriguez wrote:
> Hello,
> 
> I 've a problem with FWTools, I develope an application for Windows 
> using FWTools but now, I need to build it for Linux, my code is not the 
> problem because is standard C++.
> 
> But I need use FWTools for Linux, I'm testing FWTools in Linux with an 
> easy sample and I have the next problem:
> 
> [root at knoppix FWTools-linux-1.0.0a7]# gcc main.cpp -I include -L lib -o 
> main
> main.cpp: In function `int main()':
> main.cpp:11: `OGRResgisterAll' undeclared (first use this function)
> main.cpp:11: (Each undeclared identifier is reported only once for each 
> function it appears in.)

Martin,

Are you sure line 11 shouldn't be calling OGRRegisterAll() instead of
OGRResgisterAll()?  I'm not sure how this would work on windows either.

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




More information about the Gdal-dev mailing list