Re: [gdal-dev] debug ogr2ogr on Windows

2014-04-26 Thread Martin Landa
Hi, 2014-04-26 14:56 GMT+02:00 Martin Landa : > I tried to rebuild GDAL with OCI (not as a plugin). Then I can place a > brakepoint (no warning) to OCI driver, but when I debug ogr2ogr.exe > the debugger doesn't stop on this brakepoint. If I place another > brakepoint for e.g to GML driver (input

Re: [gdal-dev] debug ogr2ogr on Windows

2014-04-26 Thread Martin Landa
Hi, 2014-04-26 12:51 GMT+02:00 Martin Landa : > have still problem with debugging OCI driver. When I add breakpoint to > `OGROCIDataSource::Open` it doesn't work (No symbols has been loaded > for this document). I checked output and I found I tried to rebuild GDAL with OCI (not as a plugin). Then

Re: [gdal-dev] debug ogr2ogr on Windows

2014-04-26 Thread Martin Landa
Hi, 2014-04-25 21:37 GMT+02:00 Joaquim Luis : > File -> Open -> Project/Solution > > and load the executable. Yes, the executable. Than go to Project -> > Properties and, if needed change the Working directory, fill the "Arguments" > field with the command line options (but NOT the programs name)

Re: [gdal-dev] debug ogr2ogr on Windows

2014-04-25 Thread Joaquim Luis
da.mar...@gmail.com > CC: gdal-dev@lists.osgeo.org; da...@stripfamily.net > Subject: Re: [gdal-dev] debug ogr2ogr on Windows > > On 24-04-2014 22:20, Martin Landa wrote: > > [back to ML] > > > > 2014-04-24 23:18 GMT+02:00 David Strip: > >> do you have access to visual stud

Re: [gdal-dev] debug ogr2ogr on Windows

2014-04-25 Thread Ivan Lucena
u should change the Platform drop-down list at the center of the VS task bar to "x64", and to undefine an environmental variable you can add that to your nmake.local: !UNDEF CURL_INC Good luck! > From: even.roua...@mines-paris.org > To: gdal-dev@lists.osgeo.org > Subject: Re

Re: [gdal-dev] debug ogr2ogr on Windows

2014-04-25 Thread Martin Landa
Hi, 2014-04-25 19:34 GMT+02:00 Even Rouault : [...] > Looks like you have defined CURL_INC, but not CURL_LIB in your nmake.local / > nmake.opt you are right, I double-checked nmake32.opt which is used to build GDAL from cmd line and found the problem. Sorry for the noise. Martin -- Martin Lan

Re: [gdal-dev] debug ogr2ogr on Windows

2014-04-25 Thread Even Rouault
Le vendredi 25 avril 2014 19:31:08, Martin Landa a écrit : > Hi Ivan, > > 2014-04-24 23:27 GMT+02:00 Ivan Lucena : > > first of all, thanks a lot for very useful notes! > > > Press F7 will build everything but you don't need to do that if you have > > done in command line. > > I tried to build

Re: [gdal-dev] debug ogr2ogr on Windows

2014-04-25 Thread Martin Landa
Hi Ivan, 2014-04-24 23:27 GMT+02:00 Ivan Lucena : first of all, thanks a lot for very useful notes! > Press F7 will build everything but you don't need to do that if you have > done in command line. I tried to build GDAL also from VC, but it ends with 1> lib /nologo /out:gdal.lib port\*.o

Re: [gdal-dev] debug ogr2ogr on Windows

2014-04-24 Thread Ivan Lucena
...@gmail.com > CC: gdal-dev@lists.osgeo.org; da...@stripfamily.net > Subject: Re: [gdal-dev] debug ogr2ogr on Windows > > On 24-04-2014 22:20, Martin Landa wrote: > > [back to ML] > > > > 2014-04-24 23:18 GMT+02:00 David Strip: > >> do you have access to

Re: [gdal-dev] debug ogr2ogr on Windows

2014-04-24 Thread Joaquim Luis
On 24-04-2014 22:20, Martin Landa wrote: [back to ML] 2014-04-24 23:18 GMT+02:00 David Strip: do you have access to visual studio? sure, as I noted, building using package.cmd script (nmake-based). I have VS 2010 Express. Others can confirm this, but I'm afraid you wont be able to do an IDE d

Re: [gdal-dev] debug ogr2ogr on Windows

2014-04-24 Thread Ivan Lucena
plugin-install That is about it. Good luck and thanks to help with that Regards, Ivan > Date: Thu, 24 Apr 2014 22:53:29 +0200 > From: landa.mar...@gmail.com > To: gdal-dev@lists.osgeo.org > Subject: [gdal-dev] debug ogr2ogr on Windows > > Hi all, > > I am forced to d

Re: [gdal-dev] debug ogr2ogr on Windows

2014-04-24 Thread Martin Landa
[back to ML] 2014-04-24 23:18 GMT+02:00 David Strip : > do you have access to visual studio? sure, as I noted, building using package.cmd script (nmake-based). I have VS 2010 Express. Martin ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lis

[gdal-dev] debug ogr2ogr on Windows

2014-04-24 Thread Martin Landa
Hi all, I am forced to debug ogr2ogr on Windows (together with OCI driver). As a Linux user used to play with emacs/gdb it's completely new world for me;-) I am building GDAL from cmd line using package.cmd. I added to /Zi flag to produce pdb files. I found some recipes at [1], but with no success