You should also add the directories of /bin and /gdal/csharp to your PATH environment, or copy all the dll-s into your executing directory to make it available to load by the application.<br>The gdalinfo csharp example is not equal to the C++ command line tool you have to use the simple form:<br>
<br>gdalinfo {GDAL dataset name}<br><br>Best regards,<br><br>Tamas<br><br><br><br><br><br><div class="gmail_quote">2009/4/24 Sunny K <span dir="ltr"><<a href="mailto:shkwak74@nate.com">shkwak74@nate.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Thanks for your reply.<br>
<br>
I set the GDAL_DRIVER_PATH environment variable.<br>
And I can execute gdalinfo.exe of C++ version.<br>
<br>
In gdalinfo.exe of C# version, I cannot still execute it.<br>
So, I tried to execute this command using other format (ex. GTIFF, HFA), it<br>
was failed.<br>
"ERROR 4: 'gtiff' does not exxist in the file system, and is not<br>
recignised as a supported dataset name."<br>
<br>
Does I need any other settings?<br>
<br>
Thanks,<br>
Sunny<br>
<div><div></div><div class="h5"><br>
<br>
Tamas Szekeres wrote:<br>
><br>
> Sunny,<br>
><br>
> The HDF5 driver is compiled as a plugin. You have to put the corresponding<br>
> dll (gdal_HDF5.dll, gdal_HDF5Image.dll) from the /bin/gdal/plugins<br>
> directory to the /gdalplugins subdirectory from where your application is<br>
> running.<br>
> Alternatively you can set the GDAL_DRIVER_PATH environment variable to<br>
> point<br>
> to the directory where the plugin dll-s are located.<br>
><br>
> Best regards,<br>
><br>
> Tamas<br>
><br>
><br>
> 2009/4/24 Sunny K <<a href="mailto:shkwak74@nate.com">shkwak74@nate.com</a>><br>
><br>
>><br>
>> Hi all,<br>
>><br>
>> I installed gdal library (release-1500-x64-gdal-1-6-mapserver-5-2.zip),<br>
>> but<br>
>> have some problems.<br>
>> - Windows vista 64bit<br>
>> - Visual Studio 2008 Standard.<br>
>><br>
>> I want to process hdf5 file.<br>
>> When I executed following command, the error message was printed.<br>
>> % gdalinfo hdf5<br>
>> % ERROR 1: --format option given with format 'hdf5', but that format not<br>
>> recognised. Use the --formats option to get a list of available formats,<br>
>> and use the short code (ie. GTiff or HFA) as the format identifier.<br>
>><br>
>> I'd appreciate it if you would tell me some information to solve this<br>
>> problem.<br>
>><br>
>> Best regards,<br>
>> - sunny<br>
>><br>
>> --<br>
>> View this message in context:<br>
>> <a href="http://n2.nabble.com/HDF5-problem-in-VS2008-C--Project-tp2689126p2689126.html" target="_blank">http://n2.nabble.com/HDF5-problem-in-VS2008-C--Project-tp2689126p2689126.html</a><br>
>> Sent from the GDAL - Dev mailing list archive at Nabble.com.<br>
>><br>
>> _______________________________________________<br>
>> gdal-dev mailing list<br>
>> <a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
>> <a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
>><br>
><br>
> _______________________________________________<br>
> gdal-dev mailing list<br>
> <a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
><br>
<br>
</div></div><font color="#888888">--<br>
View this message in context: <a href="http://n2.nabble.com/HDF5-problem-in-VS2008-C--Project-tp2689126p2691639.html" target="_blank">http://n2.nabble.com/HDF5-problem-in-VS2008-C--Project-tp2689126p2691639.html</a><br>
</font><div><div></div><div class="h5">Sent from the GDAL - Dev mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</div></div></blockquote></div><br>