[fdo-trac] #251: Visual C++ 2005 runtime error when attempting to create connection

FDO trac_fdo at osgeo.org
Mon Feb 4 23:18:54 EST 2008


#251: Visual C++ 2005 runtime error when attempting to create connection
-------------------------------+--------------------------------------------
 Reporter:  jng                |         Owner:  traianstanev
     Type:  defect             |        Status:  new         
 Priority:  major              |     Milestone:  3.3.0       
Component:  OGR Provider       |       Version:  3.3.0       
 Severity:  3                  |    Resolution:              
 Keywords:  ogr runtime error  |   External_id:              
-------------------------------+--------------------------------------------
Changes (by jng):

  * priority:  critical => major
  * severity:  1 => 3

Comment:

 Running this same code on a fresh windows xp virtual machine (installing
 the vc runtime beforehand), I get errors of being unable to find
 msvcp80.dll (one of the runtime dlls) even though I already installed the
 redistributable package.

 Copying the runtime dlls in question to the output directory gives me the
 same R6034 error.

 Investigating the R6034 error further, I rebuilt the OGR provider with a
 statically linked runtime library (/MT) and now both code fragments run.

 But now I get a R6025 pure virtual function call error when attempting to
 do anything further with the provider, probably as a result of the static
 linkage.

 Anyway, now I believe that it is nothing to do with FDO, but rather with
 the VC++ 2005 SP1 Runtime Library.

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/251#comment:2>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list