[Qgis-developer] make install fails on GdalTools/resources_rc.py

Nikolai Bezdna mofoyoda at gmail.com
Fri Mar 4 04:00:27 PST 2016


I'm trying to compile QGIS on OS X with Homebrew and create a Homebrew formula as a result.
I get an error when running make install:

-- Installing: /usr/local/Cellar/qgis-214/HEAD/QGIS.app/Contents/MacOS/../Resources/python/plugins/GdalTools/./GdalTools.py
CMake Error at python/plugins/GdalTools/cmake_install.cmake:31 (file):
 file INSTALL cannot find
 "/tmp/qgis-21420160304-35396-19lc7z/build/python/plugins/GdalTools/resources_rc.py".
Call Stack (most recent call first):
 python/plugins/cmake_install.cmake:32 (include)
 python/cmake_install.cmake:143 (include)
 cmake_install.cmake:41 (include)

I guess this line in a MakeFile is causing the trouble:
PYQT_ADD_RESOURCES(PYRC_FILES resources.qrc)

Should the file be named resources.qrc or resources.rc?

When compiling 2.14 release, this same error looks slightly different (I guess fTools and GdalTools are virtually the same):

CMake Error at python/plugins/fTools/cmake_install.cmake:31 (file):
 file INSTALL cannot find
 "/tmp/qgis-21420160303-19666-1qyvi01/QGIS-release-2_14/build/python/plugins/fTools/resources_rc.py".
Call Stack (most recent call first):
 python/plugins/cmake_install.cmake:32 (include)
 python/cmake_install.cmake:143 (include)
 cmake_install.cmake:41 (include)

What should be changed to get rid of this error?


More information about the Qgis-developer mailing list