[Cartoweb-users] "GDAL with ECW" on FreeBSD 5.5

Sophie Blanchon sophie.blanchon at pont-entente.org
Thu Nov 23 06:47:14 EST 2006


Hello, 

I want to use "GDAL with ECW" on FreeBSD 5.5. 
When i configure the source like this: 
Code: 
src/libecwj2-3.3]# ./configure --prefix=/usr/local 

I do not have a big problem. 

But when I want compil the source like this: 
Code: 
src/libecwj2-3.3]# gmake 


I have this error: 
Code: 
In file included from /usr/local/src/libecwj2-3.3/Source/include/NCSDefs.h:38, 
                 from /usr/local/src/libecwj2-3.3/Source/include/NCSEcw.h:53, 
                 from ../C/NCSEcw/NCSJP2/NCSJP2.cpp:24: 
/usr/local/src/libecwj2-3.3/Source/include/NCSTypes.h:264: error: `UINT64' does not name a type 
/usr/local/src/libecwj2-3.3/Source/include/NCSTypes.h:265: error: `UINT64' does not name a type 
/usr/local/src/libecwj2-3.3/Source/include/NCSTypes.h:266: error: `INT64' does not name a type 
/usr/local/src/libecwj2-3.3/Source/include/NCSTypes.h:267: error: `INT64' does not name a type 
In file included from /usr/local/src/libecwj2-3.3/Source/include/NCSEcw.h:53, 
                 from ../C/NCSEcw/NCSJP2/NCSJP2.cpp:24: 
/usr/local/src/libecwj2-3.3/Source/include/NCSDefs.h:220:2: #error DEFINE SYSTEM INCLUDES FOR TYPES 
In file included from /usr/local/src/libecwj2-3.3/Source/include/NCSMalloc.h:46, 
                 from /usr/local/src/libecwj2-3.3/Source/include/NCSArray.h:29, 
                 from /usr/local/src/libecwj2-3.3/Source/include/NCSMemPool.h:32, 
                 from /usr/local/src/libecwj2-3.3/Source/include/NCSEcw.h:68, 
                 from ../C/NCSEcw/NCSJP2/NCSJP2.cpp:24: 
/usr/include/malloc.h:3:2: #error "<malloc.h> has been replaced by <stdlib.h>" 
 


Does anyone has already successful compil libecwj2-3.3 under FreeBsd 5.5? 
Perhaps I have forgot some dependency? 

Thank you everybody for your help 

PS: Sorry for my english, I'm not bilingual English 

Sophie Blanchon Webmaster ~ Administrateur réseau 
EIPFEI - PôNT 
Centre Francis Arrighi - Domaine de Valabre - RD 7 13120 GARDANNE 
Tél : +33 (0)4 42 60 86 74  Fax : +33 (0)4 42 60 86 81 
Email : sophie.blanchon at pont-entente.org Web : http://pont-entente.org



More information about the Cartoweb-users mailing list