Skip to content
This repository has been archived by the owner on May 29, 2022. It is now read-only.

Immediate CMake 3.13 errors on build.sh #46

Closed
scivision opened this issue Jun 26, 2018 · 3 comments
Closed

Immediate CMake 3.13 errors on build.sh #46

scivision opened this issue Jun 26, 2018 · 3 comments

Comments

@scivision
Copy link

scivision commented Jun 26, 2018

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 :-(
@masamitsutech
Copy link
Contributor

@scivision Are you still having this issue? If so, can we get more information, such as your steps leading up to running the build script (which version was cloned, commands up to that point, etc)? Thanks

@scivision scivision changed the title Immediate CMake 3.12 errors on build.sh Immediate CMake 3.13 errors on build.sh Nov 2, 2018
@scivision
Copy link
Author

@bparsons-sgl I added the version info. I tried CMake 3.12 and 3.13.
For example, Ubuntu 18.10 comes with CMake 3.12.

@UT-dave
Copy link
Contributor

UT-dave commented Jun 11, 2021

Closed for staleness.

@UT-dave UT-dave closed this as completed Jun 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants