[Qgis-developer] Error while compiling QGIS 1.5.0

A. Golubev golubev at nordcomp.ru
Mon Aug 2 03:58:12 EDT 2010


Hi list! I`m trying compile QGIS 1.5.0 and got this error:
Scanning dependencies of target qgis_core
[  3%] Building CXX object 
src/core/CMakeFiles/qgis_core.dir/gps/qextserialport/qextserialport.cpp.obj
[  3%] Building CXX object 
src/core/CMakeFiles/qgis_core.dir/gps/qextserialport/qextserialenumerator.cpp.obj
c:/Qt/qgis-1.5.0/src/core/gps/qextserialport/qextserialenumerator.cpp: 
In member function `LRESULT 
QextSerialEnumerator::onDeviceChangeWin(WPARAM, LPARAM)':
c:/Qt/qgis-1.5.0/src/core/gps/qextserialport/qextserialenumerator.cpp:145: 
error: `DBT_DEVTYP_DEVICEINTERFACE' was not declared in this scope
c:/Qt/qgis-1.5.0/src/core/gps/qextserialport/qextserialenumerator.cpp:147: 
error: `PDEV_BROADCAST_DEVICEINTERFACE' was not declared in this scope
c:/Qt/qgis-1.5.0/src/core/gps/qextserialport/qextserialenumerator.cpp:147: 
error: expected `;' before "pDevInf"
c:/Qt/qgis-1.5.0/src/core/gps/qextserialport/qextserialenumerator.cpp:149: 
error: `pDevInf' was not declared in this scope
make[2]: *** 
[src/core/CMakeFiles/qgis_core.dir/gps/qextserialport/qextserialenumerator.cpp.obj] 
Error 1
make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2
make: *** [all] Error 2

QGIS 1.4 compiles fine. Is there any solution?
MinGW 3.4.5, WinXP SP2, Qt 4.5.1


More information about the Qgis-developer mailing list