Hi Joaquim.<br><br>You can download <a href="http://vbkto.dyndns.org/sdk/PackageList.aspx?file=release-1600-x64-dev.zip">http://vbkto.dyndns.org/sdk/PackageList.aspx?file=release-1600-x64-dev.zip</a> to obtain the libs/includes.<br>
<br>Best regards,<br><br>Tamas<br><br><br><div class="gmail_quote">2011/3/9 Joaquim Luis <span dir="ltr"><<a href="mailto:jluis@ualg.pt">jluis@ualg.pt</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff"><div><div></div><div class="h5">
On 09-03-2011 16:28, Tamas Szekeres wrote:
<blockquote type="cite">I had to do the following tweaks in order to compile
openjpegv2 from SVN.<br>
<br>
Index: CMakeLists.txt<br>
===================================================================<br>
--- CMakeLists.txt (revision 660)<br>
+++ CMakeLists.txt (working copy)<br>
@@ -50,6 +50,7 @@<br>
IF(WIN32)<br>
IF(BUILD_SHARED_LIBS)<br>
ADD_DEFINITIONS(-DOPJ_EXPORTS)<br>
+ ADD_DEFINITIONS(-DUSE_OPJ_DEPRECATED)<br>
ELSE(BUILD_SHARED_LIBS)<br>
ADD_DEFINITIONS(-DOPJ_STATIC)<br>
ENDIF(BUILD_SHARED_LIBS)<br>
Index: openjpeg.h<br>
===================================================================<br>
--- openjpeg.h (revision 660)<br>
+++ openjpeg.h (working copy)<br>
@@ -37,7 +37,7 @@<br>
#define OPJ_API<br>
#define OPJ_CALLCONV<br>
#else<br>
- #define OPJ_CALLCONV __stdcall<br>
+ #define OPJ_CALLCONV //__stdcall<br>
#ifdef OPJ_EXPORTS<br>
#define OPJ_API __declspec(dllexport)<br>
#else<br>
<br>
<br>
BTW: The compiled binaries/libs/headers (including x64) are
available to download from: <a href="http://vbkto.dyndns.org/sdk/" target="_blank">http://vbkto.dyndns.org/sdk/</a><br>
</blockquote>
<br></div></div>
Thank you very much Tamas.<br>
I guess that to build the X64 you had to point it to a X64
libtiff.lib that you have build yourself as well?<br>
<br>
And, sorry, which one of your files has the libs and includes?<br>
Not this one: <span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-size: medium;"><span style="font-family: Verdana,Tahoma,Arial,Helvetica,sans-serif; font-size: 13px;"><a href="http://vbkto.dyndns.org/sdk/Download.aspx?file=release-1600-x64-gdal-mapserver.zip" target="_blank">release-1600-x64-gdal-mapserver.zip</a></span></span><br>
<br>
perhaps this? <span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-size: medium;"><span style="font-family: Verdana,Tahoma,Arial,Helvetica,sans-serif; font-size: 13px;"><a href="http://vbkto.dyndns.org/sdk/Download.aspx?file=release-1600-x64-gdal-mapserver%5Cgdal-19dev-1600-x64-core.msi" target="_blank">gdal-19dev-1600-x64-core.msi</a><br>
<br>
I confess that I don't like the .msi installers because i never
know what else the they do besides installing the package.<br>
</span></span><br>
Joaquim<div><div></div><div class="h5"><br>
<br>
<blockquote type="cite">
<br>
Best regards,<br>
<br>
Tamas<br>
<br>
<br>
<br>
<div class="gmail_quote">2011/3/9 Joaquim Luis <span dir="ltr"><<a href="mailto:jluis@ualg.pt" target="_blank">jluis@ualg.pt</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff">
<div> On 09-03-2011 02:59, Angelos Tzotsos wrote:
<blockquote type="cite">Hi Joaquim, <br>
<br>
In order to build with OpenJpeg, you must use the
unreleased version 2.0 of OpenJpeg. <br>
Try the following: <br>
<a href="http://code.google.com/p/openjpeg/downloads/detail?name=openjpeg_v2_alpha_0.zip" target="_blank">http://code.google.com/p/openjpeg/downloads/detail?name=openjpeg_v2_alpha_0.zip</a>
<br>
</blockquote>
<br>
</div>
Thanks Angelos, but with this version I'm not even able to
build OpenJpeg as it hangs on CMake with this error<br>
<span style="color: rgb(255, 0, 0);">Could NOT find TIFF
(missing: TIFF_LIBRARY TIFF_INCLUDE_DIR)<br>
<br>
</span>Easy to fix the above by pointing into its local
libtiff directory but compilation hangs latter on with (only
first of many)<br>
<br>
Error 1 error C2373: 'opj_stream_create' :
redefinition; different type modifiers
C:\programs\compa_libs\OpenJPEG_V2_Alpha\Development\libopenjpeg\cio.c
228 1 openjpeg<br>
<br>
Also, since it comes with a libtif.lib it would not likely
compile for Win64 which is may main goal to try this.<br>
<br>
Regards <br>
<font color="#888888"> <br>
Joaquim</font>
<div><br>
<span style="color: rgb(255, 0, 0);"></span><br>
<blockquote type="cite"> <br>
Regards, <br>
Angelos <br>
<br>
On 03/09/2011 03:23 AM, Joaquim Luis wrote: <br>
<blockquote type="cite">Hi, <br>
<br>
My attempt to build gdal (trunk) on Windows with
OpenJpeg failed with these errors <br>
<br>
C:\programs\GDALtrunk\gdal\frmts>cd openjpeg
&& nmake /nologo /f <a href="http://makefile.vc" target="_blank">makefile.vc</a>
&& cd .. || exit 1 <br>
cl /nologo /MD /EHsc /Ox
/D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE
/DNDEBUG /W4 /wd4127 /wd4251 /wd4275 /wd4786 /wd4100
/wd4245 /wd4206 /wd4018 /wd4389 -I..\..\port
-I..\..\ogr -I..\..\gcore -I..\..\alg
-I..\..\ogr\ogrsf_frmts
-IC:\programs\compa_libs\openjpeg_v1_4\libopenjpeg
-DOGR_ENABLED /c openjpegdataset.cpp <br>
openjpegdataset.cpp <br>
openjpegdataset.cpp(80) : error C2146: syntax error :
missing ';' before identifier
'JP2OpenJPEGDataset_Read' <br>
openjpegdataset.cpp(80) : error C4430: missing type
specifier - int assumed. Note: C++ does not support
default-int <br>
openjpegdataset.cpp(80) : error C2061: syntax error :
identifier 'OPJ_UINT32' <br>
<br>
I greped for OPJ_UINT32 in the OpenJpeg source and on
GDAL's) and there was no sign of it. <br>
I am using openjpeg_v1_4_source_r697 as per its web
site. <br>
<br>
<br>
Joaquim <br>
_______________________________________________ <br>
gdal-dev mailing list <br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">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>
</blockquote>
<br>
<br>
</blockquote>
<br>
</div>
</div>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">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>
</blockquote>
</div>
<br>
<div style="padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;">
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">
</div>