Re: [gdal-dev] Gdal driver not working in windows 7

2010-12-02 Thread Ram prasad
As rightly pointed out, the problem was in compiler settings. I had compiled my driver in /MT instead of /MD Now it is working perfectly. But I faced a problems. I had to compile all the related libraries using /MD too. Luckily I could. But what if I have I cannot get a MD version of a lib? does

Re: [gdal-dev] Gdal driver not working in windows 7

2010-11-22 Thread Tamas Szekeres
2010/11/22 Ram prasad > Following is repost, because the message appeared garbled in the mailing > list. > > I could not compile my code along with other formats in frmts due to > my insufficient experience in using nmake projects. > > http://www.gdal.org/gdal_drivertut.html gives information on

Re: [gdal-dev] Gdal driver not working in windows 7

2010-11-22 Thread Ram prasad
Following is repost, because the message appeared garbled in the mailing list. I could not compile my code along with other formats in frmts due to my insufficient experience in using nmake projects. http://www.gdal.org/gdal_drivertut.html gives information on writing a driver. Is there a documen

Re: [gdal-dev] Gdal driver not working in windows 7

2010-11-22 Thread Ram prasad
I could not compile my code due to my insufficient experience in using makefiles. using the "-I" option i was able to specify the search path for include files (i am using IPP) For the linker I need to include .lib files for creating the plugin dll Please help me write a makefile.vc which compiles

Re: [gdal-dev] Gdal driver not working in windows 7

2010-11-18 Thread Tamas Szekeres
Did you compile GDAL and the plugin with the same CRT setting (ie. /MD), what kind of subsequent libraries have been compiled in GDAL? You may probably use http://vbkto.dyndns.org/sdk/release-1500-dev.zip for compiling both GDAL and your plugin to create a consistent build by using the same compi

Re: [gdal-dev] Gdal driver not working in windows 7

2010-11-18 Thread Ram prasad
Thank you Frank, I had upgraded the MSVC 2005 sln to 2008 sln without changing the MSVC_VER in the NMAKE properties page. Now the gdal executables and the driver are compiled are by MSVC 2008 (MSVC_VER =1500) in the release mode, but the problem still continues to exist. In fact in the GDALRegiste

Re: [gdal-dev] Gdal driver not working in windows 7

2010-11-18 Thread Frank Warmerdam
Ram prasad wrote: The gdal driver for my format is working perfectly in windows XP but not in windows7. It is crashing when I run gdalinfo gdal_translate.exe with or without parameters. so i wrote a dummy gdal driver (the following code), which also is crashing in GDALDriverManager::~GDALDriver

[gdal-dev] Gdal driver not working in windows 7

2010-11-18 Thread Ram prasad
The gdal driver for my format is working perfectly in windows XP but not in windows7. It is crashing when I run gdalinfo gdal_translate.exe with or without parameters. so i wrote a dummy gdal driver (the following code), which also is crashing in GDALDriverManager::~GDALDriverManager() at the line