[gdal-dev] gdal error
Neelima Emmani
neelima.emmani at iictechnologies.com
Fri Sep 7 04:07:29 PDT 2012
Hi
when I try to invoke Gdal.AllRegister I get the below error:
The type initializer for OSGeo.GDAL.GdalPINVOKE threw an exception.
When i checked for a online solution, they said that it is looking for gdal_wrap.dll.
Yes, my project does not contain any gdal_wrap.dll.
First thing is that, when i try to create a interface with
nmake /f makefile.vc interface.
Things are fine.There was no error. Here I also have a question, How do i check if this step of inerface is successful.
And then i went with next step
C:\GDAL\swig\csharp> nmake /f makefile.vc
At this step, i am getting errors in gdal_wrap.cpp.It says at line 448 , it is unable to convert 'cplxmlnode *' to '_cplxmlnode *'. Can any one me in solving this.
Secondly, in the mean time I tried to generate dlls from C#. And was successful in making gdal, osr & ogr dlls for csharp. And then tried to run an application given by gdal i.e., gdalread.cs. It gave me error as said in the start of this mail message.
If i am not clear, please let me know.
Awaiting reply.
With Regards,
Neelima Emmani
________________________________
From: Chaitanya kumar CH [chaitanya.ch at gmail.com]
Sent: Friday, September 07, 2012 12:50 PM
To: Neelima Emmani
Cc: gdal dev
Subject: Re: [gdal-dev] gdal dataset
Neelima,
Perhaps I didn't understand your question.
You said that it was asking for a dataset. How did it ask?
What were the error messages you got?
In your future queries, please include as much information as you can provide.
On Fri, Sep 7, 2012 at 12:42 PM, Neelima Emmani <neelima.emmani at iictechnologies.com<mailto:neelima.emmani at iictechnologies.com>> wrote:
Hi Chaitanya,
How did you do that. What version of gdal are you using. Can you please share your code snipplet with me.
With Regards,
Neelima Emmani
________________________________
From: Chaitanya kumar CH [chaitanya.ch at gmail.com<mailto:chaitanya.ch at gmail.com>]
Sent: Friday, September 07, 2012 12:04 PM
To: Neelima Emmani
Cc: gdal-dev at lists.osgeo.org<mailto:gdal-dev at lists.osgeo.org>
Subject: Re: [gdal-dev] gdal dataset
Neelima,
For me specifying the .000 file to ogrinfo and ogr2ogr worked.
On Fri, Sep 7, 2012 at 11:32 AM, Neelima Emmani <neelima.emmani at iictechnologies.com<mailto:neelima.emmani at iictechnologies.com>> wrote:
Hi All,
I have generated gdal , ogr , osr dlls and added them to my c# project. Now i am trying to run the application that is given in gdal download which is named as gdalread.cs.When I run it , it is asking for a dataset . Can any one let me know if i have to specify filename over here. Actually i want to read enc file which has s57 datset. So, I am confused if i need to specify filelname or s57 over here.
Awaiting reply.
With Regards,
Neelima Emmani
_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org<mailto:gdal-dev at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/gdal-dev
--
Best regards,
Chaitanya kumar CH.
+91-9494447584<tel:%2B91-9494447584>
17.2416N 80.1426E
--
Best regards,
Chaitanya kumar CH.
+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120907/68a74d9a/attachment.html>
More information about the gdal-dev
mailing list