Dear All,

I have downloaded the ecw source code from www.erdar.com and I have tried to
build source using Mingw (gcc.exe (GCC) 3.4.5 (mingw-vista special r3)) on
windows xp. I have tried to fix the errors which I have encountoured during
the process. But, as there were so many issues I thought the problem is the
compiler compatibilty.

Then I have tried it on Redhat Linux with gcc 4.1.2 . No surprise, it worked
fine and even I am able to open the ecw compressed images.
The problem is my application should support windows too , and that is where
I struck.
If anyone has previously faced this (similar) problem or anyone knows a fix
to this issue , I would be grateful.

The error trace file is attached with this mail.

-- 
Regards,
Srikanth K.
$ make
Making all in Source
make[1]: Entering directory 
`/c/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2                            
                                                 -3.3/Source'
Making all in NCSBuildGnu
make[2]: Entering directory 
`/c/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2                            
                                                 -3.3/Source/NCSBuildGnu'
make  all-am
make[3]: Entering directory 
`/c/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2                            
                                                 -3.3/Source/NCSBuildGnu'
if g++ -DHAVE_CONFIG_H -I. -I. -I.  -D_GNU_SOURCE -D_REENTRANT -DLIBECWJ2 
-DPOSI                                                                          
   X -I/c/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include 
-I/c/                                                                           
  
WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/C/NCSEcw/lcms/includ
                                                                             e 
-Wall -Wno-long-long -fno-common   -g -O2 -MT ______lib_libecwj2_a-NCSJP2.o -M  
                                                                           D 
-MP -MF ".deps/______lib_libecwj2_a-NCSJP2.Tpo" \
  -c -o ______lib_libecwj2_a-NCSJP2.o `test -f '../C/NCSEcw/NCSJP2/NCSJP2.cpp' 
|                                                                             | 
echo './'`../C/NCSEcw/NCSJP2/NCSJP2.cpp; \
then mv -f ".deps/______lib_libecwj2_a-NCSJP2.Tpo" 
".deps/______lib_libecwj2_a-N                                                   
                          CSJP2.Po"; \
else rm -f ".deps/______lib_libecwj2_a-NCSJP2.Tpo"; exit 1; \
fi
In file included from 
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/So                      
                                                       urce/include/NCSEcw.h:53,
                 from ../C/NCSEcw/NCSJP2/NCSJP2.cpp:24:
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSDefs.h
                                                                             
:381: error: expected initializer before "wchar_t"
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSDefs.h
                                                                             
:392: error: expected initializer before "char"
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSDefs.h
                                                                             
:407: error: expected initializer before "int"
In file included from 
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/So                      
                                                       
urce/include/NCSMemPool.h:35,
                 from 
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/So                      
                                                       urce/include/NCSEcw.h:68,
                 from ../C/NCSEcw/NCSJP2/NCSJP2.cpp:24:
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSMutex.
                                                                             
h:41:21: pthread.h: No such file or directory
In file included from 
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/So                      
                                                       
urce/include/NCSMemPool.h:35,
                 from 
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/So                      
                                                       urce/include/NCSEcw.h:68,
                 from ../C/NCSEcw/NCSJP2/NCSJP2.cpp:24:
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSMutex.
                                                                             
h:142: error: expected constructor, destructor, or type conversion before '*' 
to                                                                             
ken
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSMutex.
                                                                             
h:168: error: ISO C++ forbids declaration of `pthread_mutex_t' with no type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSMutex.
                                                                             
h:168: error: expected `;' before '*' token
In file included from 
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/So                      
                                                       
urce/include/NCScnet.h:36,
                 from 
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/So                      
                                                       urce/include/NCSEcw.h:72,
                 from ../C/NCSEcw/NCSJP2/NCSJP2.cpp:24:
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSErrors
                                                                             
.h:50:20: crtdbg.h: No such file or directory
In file included from 
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/So                      
                                                       
urce/include/NCSPrefs.h:130,
                 from 
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/So                      
                                                       
urce/include/NCSUtil.h:86,
                 from 
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/So                      
                                                       urce/include/ECW.h:137,
                 from 
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/So                      
                                                       urce/include/NCSEcw.h:73,
                 from ../C/NCSEcw/NCSJP2/NCSJP2.cpp:24:
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSString
                                                                             
.h:6: warning: ignoring #pragma warning 
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSString
                                                                             
.h:7: warning: ignoring #pragma warning 
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSString
                                                                             
.h:8: warning: ignoring #pragma warning 
In file included from 
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/So                      
                                                       
urce/include/NCSString.h:14,
                 from 
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/So                      
                                                       
urce/include/NCSPrefs.h:130,
                 from 
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/So                      
                                                       
urce/include/NCSUtil.h:86,
                 from 
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/So                      
                                                       urce/include/ECW.h:137,
                 from 
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/So                      
                                                       urce/include/NCSEcw.h:73,
                 from ../C/NCSEcw/NCSJP2/NCSJP2.cpp:24:
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSMisc.h
                                                                             
:126: error: `__forceinline' does not name a type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSMisc.h:132:
 error: `__forceinline' does not name a type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSMisc.h:137:
 error: `__forceinline' does not name a type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSMisc.h:144:
 error: `__forceinline' does not name a type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSMisc.h:167:
 error: `__forceinline' does not name a type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSMisc.h:171:
 error: integer constant is too large for "long" type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSMisc.h:171:
 error: integer constant is too large for "long" type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSMisc.h:184:
 error: integer constant is too large for "long" type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSMisc.h:199:
 error: `__forceinline' does not name a type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSMisc.h:209:
 error: `__forceinline' does not name a type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSMisc.h:219:
 error: `__forceinline' does not name a type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSMisc.h:235:
 error: `__forceinline' does not name a type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSMisc.h:254:
 error: `__forceinline' does not name a type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSMisc.h:260:
 error: `__forceinline' does not name a type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSMisc.h:270:
 error: `__forceinline' does not name a type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSMisc.h:279:
 error: `__forceinline' does not name a type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSMisc.h:285:
 error: `__forceinline' does not name a type
In file included from 
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:25,
                 from 
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:27,
                 from 
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJP2FileView.h:42,
                 from ../C/NCSEcw/NCSJP2/NCSJP2.cpp:25:
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:110:
 error: ISO C++ forbids declaration of `__forceinline' with no type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:110:
 error: expected `;' before "void"
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:111:
 error: ISO C++ forbids declaration of `__forceinline' with no type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:111:
 error: expected `;' before "bool"
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:113:
 error: `__forceinline' does not name a type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:118:
 error: ISO C++ forbids declaration of `__forceinline' with no type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:118:
 error: expected `;' before "operator"
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:125:
 error: ISO C++ forbids declaration of `__forceinline' with no type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:125:
 error: expected `;' before "bool"
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:132:
 error: expected `;' before "__forceinline"
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:132:
 error: ISO C++ forbids declaration of `__forceinline' with no type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:132:
 error: expected `;' before "bool"
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:139:
 error: expected `;' before "__forceinline"
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:139:
 error: ISO C++ forbids declaration of `__forceinline' with no type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:139:
 error: expected `;' before "bool"
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:142:
 error: expected `;' before '}' token
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:
 In constructor `TNCSCachedValue<T>::TNCSCachedValue()':
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:107:
 error: there are no arguments to `Invalidate' that depend on a template 
parameter, so a declaration of `Invalidate' must be available
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:107:
 error: (if you use `-fpermissive', G++ will accept your code, but allowing the 
use of an undeclared name is deprecated)
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:
 At global scope:
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:165:
 error: ISO C++ forbids declaration of `__forceinline' with no type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:165:
 error: expected `;' before "bool"
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:168:
 error: expected `;' before "__forceinline"
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:168:
 error: ISO C++ forbids declaration of `__forceinline' with no type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:168:
 error: expected `;' before "bool"
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:171:
 error: expected `;' before '}' token
In file included from 
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:27,
                 from 
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJP2FileView.h:42,
                 from ../C/NCSEcw/NCSJP2/NCSJP2.cpp:25:
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:
 In constructor `CNCSJPCRect::CNCSJPCRect(INT32, INT32, INT32, INT32)':
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:44:
 error: no match for 'operator=' in '((CNCSJPCRect*)this)->CNCSJPCRect::m_X0 = 
nX0'
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:102:
 note: candidates are: TNCSCachedValue<INT32>& 
TNCSCachedValue<INT32>::operator=(const TNCSCachedValue<INT32>&)
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:44:
 error: no match for 'operator=' in '((CNCSJPCRect*)this)->CNCSJPCRect::m_Y0 = 
nY0'
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:102:
 note: candidates are: TNCSCachedValue<INT32>& 
TNCSCachedValue<INT32>::operator=(const TNCSCachedValue<INT32>&)
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:44:
 error: no match for 'operator=' in '((CNCSJPCRect*)this)->CNCSJPCRect::m_X1 = 
nX1'
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:102:
 note: candidates are: TNCSCachedValue<INT32>& 
TNCSCachedValue<INT32>::operator=(const TNCSCachedValue<INT32>&)
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:44:
 error: no match for 'operator=' in '((CNCSJPCRect*)this)->CNCSJPCRect::m_Y1 = 
nY1'
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:102:
 note: candidates are: TNCSCachedValue<INT32>& 
TNCSCachedValue<INT32>::operator=(const TNCSCachedValue<INT32>&)
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:
 In constructor `CNCSJPCRect::CNCSJPCRect(INT32, INT32, UINT32, UINT32)':
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:46:
 error: no match for 'operator=' in '((CNCSJPCRect*)this)->CNCSJPCRect::m_X0 = 
nX0'
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:102:
 note: candidates are: TNCSCachedValue<INT32>& 
TNCSCachedValue<INT32>::operator=(const TNCSCachedValue<INT32>&)
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:46:
 error: no match for 'operator=' in '((CNCSJPCRect*)this)->CNCSJPCRect::m_Y0 = 
nY0'
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:102:
 note: candidates are: TNCSCachedValue<INT32>& 
TNCSCachedValue<INT32>::operator=(const TNCSCachedValue<INT32>&)
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:46:
 error: no match for 'operator=' in '((CNCSJPCRect*)this)->CNCSJPCRect::m_X1 = 
(((unsigned int)nX0) + nWidth)'
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:102:
 note: candidates are: TNCSCachedValue<INT32>& 
TNCSCachedValue<INT32>::operator=(const TNCSCachedValue<INT32>&)
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:46:
 error: no match for 'operator=' in '((CNCSJPCRect*)this)->CNCSJPCRect::m_Y1 = 
(((unsigned int)nY0) + nHeight)'
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:102:
 note: candidates are: TNCSCachedValue<INT32>& 
TNCSCachedValue<INT32>::operator=(const TNCSCachedValue<INT32>&)
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:
 In member function `virtual INT32 CNCSJPCRect::GetX0()':
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:55:
 error: cannot convert `TNCSCachedValue<INT32>' to `INT32' in return
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:
 In member function `virtual INT32 CNCSJPCRect::GetY0()':
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:61:
 error: cannot convert `TNCSCachedValue<INT32>' to `INT32' in return
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:
 In member function `virtual INT32 CNCSJPCRect::GetX1()':
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:67:
 error: cannot convert `TNCSCachedValue<INT32>' to `INT32' in return
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:
 In member function `virtual INT32 CNCSJPCRect::GetY1()':
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:73:
 error: cannot convert `TNCSCachedValue<INT32>' to `INT32' in return
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:
 In member function `bool CNCSJPCRect::operator==(const CNCSJPCRect&) const':
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:90:
 error: no match for 'operator==' in '((const 
CNCSJPCRect*)this)->CNCSJPCRect::m_X0 == rect->CNCSJPCRect::m_X0'
c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objbase.h:79: note: 
candidates are: BOOL operator==(const GUID&, const GUID&)
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:90:
 error: no match for 'operator==' in '((const 
CNCSJPCRect*)this)->CNCSJPCRect::m_Y0 == rect->CNCSJPCRect::m_Y0'
c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objbase.h:79: note: 
candidates are: BOOL operator==(const GUID&, const GUID&)
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:90:
 error: no match for 'operator==' in '((const 
CNCSJPCRect*)this)->CNCSJPCRect::m_X1 == rect->CNCSJPCRect::m_X1'
c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objbase.h:79: note: 
candidates are: BOOL operator==(const GUID&, const GUID&)
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:90:
 error: no match for 'operator==' in '((const 
CNCSJPCRect*)this)->CNCSJPCRect::m_Y1 == rect->CNCSJPCRect::m_Y1'
c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objbase.h:79: note: 
candidates are: BOOL operator==(const GUID&, const GUID&)
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:
 In member function `bool CNCSJPCRect::operator!=(const CNCSJPCRect&) const':
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:97:
 error: no match for 'operator!=' in '((const 
CNCSJPCRect*)this)->CNCSJPCRect::m_X0 != rect->CNCSJPCRect::m_X0'
c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objbase.h:81: note: 
candidates are: BOOL operator!=(const GUID&, const GUID&)
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:97:
 error: no match for 'operator!=' in '((const 
CNCSJPCRect*)this)->CNCSJPCRect::m_Y0 != rect->CNCSJPCRect::m_Y0'
c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objbase.h:81: note: 
candidates are: BOOL operator!=(const GUID&, const GUID&)
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:97:
 error: no match for 'operator!=' in '((const 
CNCSJPCRect*)this)->CNCSJPCRect::m_X1 != rect->CNCSJPCRect::m_X1'
c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objbase.h:81: note: 
candidates are: BOOL operator!=(const GUID&, const GUID&)
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:97:
 error: no match for 'operator!=' in '((const 
CNCSJPCRect*)this)->CNCSJPCRect::m_Y1 != rect->CNCSJPCRect::m_Y1'
c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objbase.h:81: note: 
candidates are: BOOL operator!=(const GUID&, const GUID&)
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:
 In member function `bool CNCSJPCRect::operator<(const CNCSJPCRect&) const':
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:104:
 error: no match for 'operator<' in '((const 
CNCSJPCRect*)this)->CNCSJPCRect::m_X0 < rect->CNCSJPCRect::m_X0'
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:104:
 error: no match for 'operator<' in '((const 
CNCSJPCRect*)this)->CNCSJPCRect::m_Y0 < rect->CNCSJPCRect::m_Y0'
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:
 In member function `bool CNCSJPCRect::IsValid()':
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:112:
 error: 'class TNCSCachedValue<INT32>' has no member named 'Cached'
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:112:
 error: 'class TNCSCachedValue<INT32>' has no member named 'Cached'
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:112:
 error: 'class TNCSCachedValue<INT32>' has no member named 'Cached'
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:112:
 error: 'class TNCSCachedValue<INT32>' has no member named 'Cached'
In file included from 
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJP2FileView.h:42,
                 from ../C/NCSEcw/NCSJP2/NCSJP2.cpp:25:
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:
 At global scope:
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:232:
 error: `__forceinline' does not name a type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:254:
 error: `__forceinline' does not name a type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:256:
 error: `__forceinline' does not name a type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:258:
 error: `__forceinline' does not name a type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:260:
 error: ISO C++ forbids declaration of `__forceinline' with no type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:260:
 error: expected `;' before "void"
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:262:
 error: ISO C++ forbids declaration of `__forceinline' with no type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:262:
 error: expected `;' before "void"
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:269:
 error: `__forceinline' does not name a type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:496:
 error: ISO C++ forbids declaration of `__forceinline' with no type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:496:
 error: expected `;' before "bool"
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:524:
 error: expected `;' before "__forceinline"
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:524:
 error: ISO C++ forbids declaration of `__forceinline' with no type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:524:
 error: expected `;' before "bool"
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:563:
 error: expected `;' before "bool"
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:
 In member function `bool CNCSJPCBuffer::Convert(T*, UINT8)':
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:296:
 error: there are no arguments to `GetType' that depend on a template 
parameter, so a declaration of `GetType' must be available
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:310:
 error: there are no arguments to `NCSfloatToInt32_RM' that depend on a 
template parameter, so a declaration of `NCSfloatToInt32_RM' must be available
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:318:
 error: there are no arguments to `GetType' that depend on a template 
parameter, so a declaration of `GetType' must be available
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:332:
 error: there are no arguments to `NCSfloatToInt32_RM' that depend on a 
template parameter, so a declaration of `NCSfloatToInt32_RM' must be available
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:339:
 error: there are no arguments to `GetType' that depend on a template 
parameter, so a declaration of `GetType' must be available
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:353:
 error: there are no arguments to `NCSfloatToInt32_RM' that depend on a 
template parameter, so a declaration of `NCSfloatToInt32_RM' must be available
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:358:
 error: there are no arguments to `GetType' that depend on a template 
parameter, so a declaration of `GetType' must be available
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:372:
 error: there are no arguments to `NCSfloatToInt32_RM' that depend on a 
template parameter, so a declaration of `NCSfloatToInt32_RM' must be available
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:
 In member function `bool CNCSJPCBuffer::ConvertFLT(T*, UINT8)':
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:394:
 error: there are no arguments to `GetType' that depend on a template 
parameter, so a declaration of `GetType' must be available
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:413:
 error: there are no arguments to `GetType' that depend on a template 
parameter, so a declaration of `GetType' must be available
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:432:
 error: there are no arguments to `GetType' that depend on a template 
parameter, so a declaration of `GetType' must be available
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCBuffer.h:450:
 error: there are no arguments to `GetType' that depend on a template 
parameter, so a declaration of `GetType' must be available
In file included from 
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJP2Box.h:27,
                 from 
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJP2FileView.h:45,
                 from ../C/NCSEcw/NCSJP2/NCSJP2.cpp:25:
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCIOStream.h:
 At global scope:
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCIOStream.h:197:
 error: ISO C++ forbids declaration of `__forceinline' with no type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCIOStream.h:197:
 error: `__forceinline' declared as a `virtual' field
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCIOStream.h:197:
 error: expected `;' before "bool"
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCIOStream.h:223:
 error: ISO C++ forbids declaration of `__forceinline' with no type
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCIOStream.h:223:
 error: `__forceinline' declared as a `virtual' field
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCIOStream.h:223:
 error: expected `;' before "bool"
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:
 In constructor `TNCSCachedValue<T>::TNCSCachedValue() [with T = INT32]':
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCRect.h:37:
   instantiated from here
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:107:
 error: `Invalidate' was not declared in this scope
c:/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/include/NCSJPCTypes.h:107:
 warning: unused variable 'Invalidate'
make[3]: *** [______lib_libecwj2_a-NCSJP2.o] Error 1
make[3]: Leaving directory 
`/c/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/NCSBuildGnu'
make[2]: *** [all] Error 2
make[2]: Leaving directory 
`/c/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source/NCSBuildGnu'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/c/WorkingDir/ecw_jpeg_2000_sdk_3_3_source/libecwj2-3.3/Source'
make: *** [all-recursive] Error 1
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to