Frank,<br><br>Thank you for the suggested tip.<br><br>I chose 2005 because it is free ^_^<br><br>Then, I will look for the 7.1 version. Thank you very much.<br><br>Regards,<br>Daniele<br><br><br><br><div><span class="gmail_quote">
On 6/21/06, <b class="gmail_sendername">Frank Warmerdam</b> <<a href="mailto:warmerdam@pobox.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
warmerdam@pobox.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Daniele Romagnoli wrote:<br>> Ok... I have solved the last error but a new error occurs:<br>><br>> /bin/sh.exe /cygdrive/c/gdal2/libtool --mode=compile g++ -fPIC -Wall<br>> -O2 -I/cygdrive/c/gdal2/port -I/cygdrive/c/gdal2/gcore
<br>> -I/cygdrive/c/gdal2/alg -I/cygdrive/c/gdal2/ogr<br>> -I/cygdrive/c/gdal2/ogr/ogrsf_frmts -I/usr/j2sdk1.4.2_08/include<br>> -I/usr/j2sdk1.4.2_08/include/win32 -c osr_wrap.cpp<br>> g++ -fPIC -Wall -O2 -I/cygdrive/c/gdal2/port -I/cygdrive/c/gdal2/gcore
<br>> -I/cygdrive/c/gdal2/alg -I/cygdrive/c/gdal2/ogr<br>> -I/cygdrive/c/gdal2/ogr/ogrsf_frmts -I/usr/j2sdk1.4.2_08/include<br>> -I/usr/j2sdk1.4.2_08/include/win32 -c osr_wrap.cpp -DPIC -o<br>> .libs/osr_wrap.o
<br>> osr_wrap.cpp:1: warning: -fPIC ignored for target (all code is position<br>> independent)<br>> g++ -fPIC -Wall -O2 -I/cygdrive/c/gdal2/port -I/cygdrive/c/gdal2/gcore<br>> -I/cygdrive/c/gdal2/alg -I/cygdrive/c/gdal2/ogr
<br>> -I/cygdrive/c/gdal2/ogr/ogrsf_frmts -I/usr/j2sdk1.4.2_08/include<br>> -I/usr/j2sdk1.4.2_08/include/win32 -c osr_wrap.cpp -o osr_wrap.o<br>> >/dev/null 2>&1<br>> /bin/sh.exe /cygdrive/c/gdal2/libtool --mode=link g++ -shared
<br>> /cygdrive/c/gdal2/libgdal.la osr_wrap.o -o libosrjni.so<br>> g++ -shared osr_wrap.o -o libosrjni.so.exe<br>> /cygdrive/c/gdal2/.libs/libgdal.a /usr/lib/libjasper.dll.a<br>> -L/usr/X11R6/lib /usr/lib/libtiff.dll.a /usr/lib/libjpeg.dll.a -lpng -lz
<br>> cp ./.libs/*.so ./<br>> cp: cannot stat `./.libs/*.so': No such file or directory<br>> make: *** [build] Error 1<br>><br>> However, I see that in the directory there are 4 files *.so.exe<br>><br>> Maybe can I rename them from *.so.exe to *.so and then move them to the
<br>> /.libs folder?<br><br>Daniele,<br><br>I haven't tried building any of the swig bindings for a cygwin build<br>of GDAL, and I'm not sure how practical it will be. You are likely to<br>have to do quite a bit of fiddling to get it working.
<br><br>I would generally encourage using visual studio as you started out doing.<br>I haven't personally used anything newer than visual studio 7.1 (ie. 2003)<br>so if you have that available you might want to use it instead of the
<br>newer visual studio 8/2005.<br><br>Best regards,<br>--<br>---------------------------------------+--------------------------------------<br>I set the clouds in motion - turn up | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
warmerdam@pobox.com</a><br>light and sound - activate the windows | <a href="http://pobox.com/%7Ewarmerdam" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://pobox.com/~warmerdam</a><br>and watch the world go round - Rush | President OSGF,
<a href="http://osgeo.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://osgeo.org</a><br><br></blockquote></div><br>