[Francophone] Failed at using GDAL_OGR and Shapelib with Visual Studio 2008 9.0

Yves Jacolin (Free) yjacolin at free.fr
Wed Apr 10 01:42:16 PDT 2013


Bonjour,

Huumm, après avoir envoyé cet email j'ai reçu un message que je qualifierai de 
fishing/spam avec une jolie photo de fille dénudée.

Si cela arrive à d'autres personnes merci de me contacter. Je vais vérifierai 
de ce pas la liste des inscrits.

Merci de vérifier vos antispam, antivirus, mot de passe de vos adresses email : 
il semble qu'il y ait une augmentation significative de spam, fishing, tentative 
de crac en ce moment (entre GeoRezo et les listes j'en vois passer pas mal).

Y.
Le mercredi 10 avril 2013 10:05:45 Yves Jacolin a écrit :
> Marion,
> 
> La liste Francophone est une liste où l'on écrit en français ;)
> 
> Tu peux aussi poser ta question sur un forum francophone comme GeoRezo
> (http://georezo.net, forum Geolibre).
> 
> Y.
> 
> Le mardi 9 avril 2013 22:57:07 MARION VIOLOT a écrit :
> > Hello everyone,
> > 
> > I have tried for at least two weeks to find a way to manipulate shapefiles
> > in a project in Visual Studio C++. I found two libraries (GDAL_OGR and
> > Shapelib) which could help me to do it, but I failed at using them with VS
> > C++ 2008.
> > 
> > Indeed, I follow this link :
> > http://trac.osgeo.org/gdal/wiki/BuildingOnWindows and tried to used the
> > prebuild libraries as well as built it myself (by first choosing version
> > of
> > GDAL here : http://www.gisinternals.com/sdk/), but I have same errors
> > which
> > is a LNK2001 unresolved external symbol. I thought I linked well the
> > gdal_i.lib ( Project Properties > Linking Options > Additional Librairy >
> > Path to gdal_i.lib, I also add gdal_i.lib (only the name) where I have to,
> > and add the path to my includes files also in Project Properties > C++/C
> > Options).
> > 
> > I thought may be I have to add reference to my gdal.dll. So I added the
> > path of bin\gdal.dll to the option Add path reference. But I had the same
> > error. I was thinking about use #import *.dll and/or #unsing *.dll but I
> > don't really understand how doing this (I looked through
> > http://msdn.microsoft.com/fr-fr/ ). Anyway, it might be unuseful as I
> > already linked my *.lib, isn't it?
> > 
> > So I tried to use Shapelib dowloaded from here, but I just failed to build
> > the library as it seems some *.h are missing.
> > 
> > If you have any advice, I would be very releaved and of course grateful.
> > 
> > Thank you in advance.
> > Marion.
> 
> _______________________________________________
> Francophone mailing list
> Francophone at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/francophone


More information about the Francophone mailing list