[Gdal-dev] Compliler errors in GDAL 1.3.2 on windows with VC6

Zuyuan Wang zuyuan.wang at wsl.ch
Mon Oct 30 05:45:35 EST 2006


Hello, there,

   I am a newer to GDAL. I have already updated the two files : 
IdrisiDataset.cpp, and  cpl_odbc.cpp. as the instruction as

  ************
  http://lists.maptools.org/pipermail/gdal-dev/2006-May/008789.html
  **************

   But when I used VC6 on windows to compile GDAL 1.3.2 again , I still got 
the following error info:

   *******************
   cpl_odbc.cpp
   cpl_odbc.cpp(412) : error C2440: '=' : cannot convert from 'int *' to 
'long *'
         Types pointed to are unrelated; conversion requires 
reinterpret_cast, C-
    style cast or function-style cast
   NMAKE : fatal error U1077: 'cl' : return code '0x2'
   Stop.
   NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual 
Studio\VC98\bin\N
   MAKE.EXE"' : return code '0x2'
   Stop.

  *******************



   Any suggestion will be grateful!

   Best regards!

   Zuyuan Wang



- - - - - -
Dr.  Zuyuan Wang
Swiss Federal Research Institute WSL
Zuercherstr. 111, CH-8903 Birmensdorf, SWITZERLAND
Phone: +41 1 739 2691   Fax: +41 1 739 2215
Email:  zuyuan.wang at wsl.ch  




More information about the Gdal-dev mailing list