Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
G
GPSTk
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 17
    • Merge Requests 17
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • SGL-UT
  • GPSTk
  • Issues
  • #46

Closed
Open
Opened Jun 26, 2018 by Michael Hirsch@scivision💬

Immediate CMake 3.13 errors on build.sh

It looks like deprecated syntax is being used in GPSTk CMake. Also CMake 3.12 is unable to build.

./build.sh -ue

from master, commit 997d97 of Sep 27 2018 results in

============================================================
cmake -DBUILD_PYTHON=ON -DPYTHON_EXECUTABLE=~/miniconda3/bin/python -DPYTHON_INSTALL_PREFIX=~/.local -DCMAKE_INSTALL_PREFIX=~/.local/gpstk -DBUILD_EXT=ON ~/code_other/GPSTk
CMake Error at swig/PythonSetup.cmake:45 (string):
  string sub-command REGEX, mode MATCH needs at least 5 arguments total to
  command.
Call Stack (most recent call first):
  swig/CMakeLists.txt:8 (include)


CMake Error at swig/PythonSetup.cmake:46 (string):
  string sub-command STRIP requires two arguments.
Call Stack (most recent call first):
  swig/CMakeLists.txt:8 (include)


CMake Error at swig/PythonSetup.cmake:47 (string):
  string sub-command SUBSTRING requires four arguments.
Call Stack (most recent call first):
  swig/CMakeLists.txt:8 (include)


CMake Deprecation Warning at ~/.local/share/cmake-3.13/Modules/UseSWIG.cmake:517 (message):
  SWIG_ADD_MODULE is deprecated.  Use SWIG_ADD_LIBRARY instead.
Call Stack (most recent call first):
  swig/CMakeLists.txt:65 (swig_add_module)


CMake Warning (dev) at ~/.local/share/cmake-3.13/Modules/UseSWIG.cmake:557 (message):
  Policy CMP0078 is not set.  Run "cmake --help-policy CMP0078" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  ~/.local/share/cmake-3.13/Modules/UseSWIG.cmake:518 (swig_add_library)
  swig/CMakeLists.txt:65 (swig_add_module)
This warning is for project developers.  Use -Wno-dev to suppress it.


Error 1 :-(
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: sgl-ut/GPSTk#46