Am 30.11.11 21:13, schrieb ThorstenB:
> Am 30.11.2011 15:40, schrieb Iervolino Fatima:
>> I get systematically the same error:
>>
>> 1>Compilation en cours...
>> 1>ReaderWriterOGR.cpp
>> 1>..\..\..\..\src\osgPlugins\ogr\ReaderWriterOGR.cpp(41) : error C2146: 
>> erreur de syntaxe : absence de ';' avant l'identificateur 
>> 'CPLOSGErrorHandler'
>> 1>..\..\..\..\src\osgPlugins\ogr\ReaderWriterOGR.cpp(41) : error C2182: 
>> 'CPL_STDCALL' : utilisation non conforme du type 'void'
>> 1>..\..\..\..\src\osgPlugins\ogr\ReaderWriterOGR.cpp(43) : error C4430: 
>> spécificateur de type manquant - int est pris en compte par défaut. Remarque 
>> : C++ ne prend pas en charge int par défaut
>> 1>..\..\..\..\src\osgPlugins\ogr\ReaderWriterOGR.cpp(50) : warning C4508: 
>> 'CPLOSGErrorHandler' : la fonction doit retourner une valeur ; type de 
>> retour 'void' pris par défaut
>> 1>..\..\..\..\src\osgPlugins\ogr\ReaderWriterOGR.cpp(100) : error C2664: 
>> 'CPLSetErrorHandler' : impossible de convertir le paramètre 1 de 'int 
>> (__cdecl *)(CPLErr,int,const char *)' en 'CPLErrorHandler'
>> 1>          Aucune fonction ayant ce nom dans la portée ne correspond au 
>> type de la cible
>> 1>Le journal de génération a été enregistré à l'emplacement 
>> "file://c:\FGDev\OpenSceneGraph-3.0.1\OpenSceneGraph\build\src\osgPlugins\ogr\osgdb_ogr.dir\Debug\BuildLog.htm"
>> 1>Plugins ogr - 4 erreur(s), 1 avertissement(s
>>
>> Have you an idea how to solve it?
>> Many thanks,
>
> Hmm. Unfortunately I have little help here. Actually you're compiling a
> part of the OpenSceneGraph library there - not FlightGear itself.
> However, I can see that for some reason the OSG plugin "ogr" was never
> compiled on my system. Not sure what it does, but it seems we don't need
> this for FlightGear. Maybe this OSG plugin is broken somehow. I would
> probably just try to disable "ogr" (i.e. remove the
> "ADD_SUBDIRECTORY(ogr)" from the CMakeList.txt) and see if that works.
> Otherwise you may need to ask the OpenSceneGraph forum/devel-list.
>
> cheers,
> Thorsten
>

You probably have to check gdal version and if there are none or 
multiple gdal libs present in your path.

Cheers, Yves

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to