id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 2143,python swig bindings don't build on XP with msvc,timaranz,hobu,"Hi Frank, I have just downloaded v1.5 and had to make changes to swig\python\setup.py to get it to build on Windows XP with msvc 6. It wasn't finding some header and library files. My modifications to gdal_ext.finalize_options are indicated with a '+' at the start of the line. def finalize_options(self): build_ext.finalize_options(self) self.include_dirs.append(self.numpy_include_dir) if self.get_compiler() == 'msvc': + base = os.path.abspath(r'..\..') + self.include_dirs.append(os.path.join(base,'port')) + self.include_dirs.append(os.path.join(base,'gcore')) + self.include_dirs.append(os.path.join(base,'alg')) + self.include_dirs.append(os.path.join(base,'ogr')) + + self.library_dirs.append(base) # for gdal.lib + # this is for odbc support + self.libraries.extend(['odbc32', 'odbccp32', 'user32']) return True try: self.gdaldir = self.get_gdal_config('prefix') self.library_dirs.append(os.path.join(self.gdaldir,'lib')) self.include_dirs.append(os.path.join(self.gdaldir,'include')) except: print 'Could not run gdal-config!!!!' Is this a bug or am I doing something wrong here? ",defect,closed,normal,,PythonBindings,unspecified,normal,invalid,,