[osgeo4w-dev] [osgeo4w] #333: Please rebuild GDAL with VC2008 instead of VC2010

OSGeo4W trac_osgeo4w at osgeo.org
Fri Jan 11 08:10:05 PST 2013


#333: Please rebuild GDAL with VC2008 instead of VC2010
-------------------+--------------------------------------------------------
Reporter:  jmalik  |       Owner:  osgeo4w-dev@…              
    Type:  defect  |      Status:  new                        
Priority:  major   |   Component:  Package                    
 Version:          |    Keywords:  gdal                       
-------------------+--------------------------------------------------------
Changes (by jmalik):

  * priority:  critical => major


Comment:

 Thank you both for your inputs, even though it's a bad news for me...

 Yes, OTB uses the GDAL C++ API.
 I originally understood the C-API approach as "if i use gdal C API, then
 an application built for gdal 1.9.1 will work without rebuild with a gdal
 1.9.2 build; if using the C++ API, then I must recompile the app each time
 gdal is rebuilt".
 Guess I was missing other pitfalls...

 For the record, I solved my Qt issues thanks to this :
 http://qt-project.org/forums/viewthread/1690
 by avoiding calls to QString::toStdString and QString::fromStdString as
 described in the link.
 The issue is not specific to 64bit builds.
 I guess this info will be usefull for other OSGeo4W packagers wanting to
 build a Qt app with VC2010 on top of the current Qt present in OSGeo4W.

-- 
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/333#comment:3>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the osgeo4w-dev mailing list