Bug report #10576

CMake Error at cmake/FindGRASS.cmake:23 (MATH)

Added by Sandro Santilli almost 10 years ago. Updated almost 10 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Build/Install
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data:No Copied to github as #:18983

Description

CMake Error at cmake/FindGRASS.cmake:23 (MATH):
math cannot parse the expression: "*10000 + *100": syntax error, unexpected
exp_TIMES, expecting exp_OPENPARENT or exp_NUMBER (1)
Call Stack (most recent call first):
cmake/FindGRASS.cmake:80 (CHECK_GRASS)
CMakeLists.txt:37 (FIND_PACKAGE)

Seems to be a regression, see issue #2720

cmake version 2.8.11.2
OS: Ubuntu 13.10

History

#1 Updated by Sandro Santilli almost 10 years ago

I had no GRASS installed, if that matters (mentioning because a lot of other errors come out about [STRING] and the first of the seem to be related to not finding a grass header)

#2 Updated by Jürgen Fischer almost 10 years ago

Did you remove GRASS, but still had GRASS_INCLUDE_DIR in your CMakeCache.txt?

#3 Updated by Sandro Santilli almost 10 years ago

  • Resolution set to invalid
  • Status changed from Open to Closed

Good catch: yes !
Removing CMakeCache.txt fixed it, thanks!

Also available in: Atom PDF