[Qgis-developer] Error building QGIS 1.5 in qextserialnumerator.cpp

ameet chaudhari ameet2k99 at yahoo.com
Wed Oct 20 07:47:22 EDT 2010


I m trying to build QGIS 1.5 from source on Win 7 as given in http://www.qgis.org/wiki/Building_QGIS_from_Source#CMake:. After generating Makefile using CMake 2.8, following error occurs while compiling [make]:

[2%] Building CXX object src/core/CMakeFiles/qgis_core.dir/gps/qextserialport/qextserialnumerator.cpp.obj
C:\msys\...\qgis-1.5.0\src\core\gps\qextserialport\qextserialnumerator.cpp: In member function 'LRESULT QextSerialEnumerator::onDeviceChangeWin(WPARAM, LPARAM)':
C:\msys\...\qextserialnumerator.cpp:145:42: error 'DBT_DEVTYP_DEVICEINTERFACE' was not declared in this scope
C:\msys\...\qextserialnumerator.cpp:147:17: error 'PDEV_BROADCAST_DEVICEINTERFACE' was not declared in this scope
C:\msys\...\qextserialnumerator.cpp:147:48: error xpected ';' before 'pDevInf'
C:\msys\...\qextserialnumerator.cpp:149:36: error 'pDevInf' was not declared in this scope
---------------------------------------------------------------------
What's the problem? Is some include file missing in this version of QGIS. I am keen to build QGIS 1.5, instead of some old/earlier version. pls help
Note: All dependencies are installed and paths set according to instructions.

Thanks in advance
Ameet





More information about the Qgis-developer mailing list