SOLVESPACE -- parametric 2d/3d CAD
Examples
Tutorials
Features
Download
Reference
Technology
Library
Forum
Contact
USER FORUM

(you are viewing a thread; or go back to list of threads)

fail on linux building (by Fernando)
Hi,

I'm trying to build solvespace 2.1 (Ubuntu 16.04, 64 bits), but it shows me some errors:

CMake Error at cmake/GetGitCommitHash.cmake:28 (string):
string sub-command STRIP requires two arguments.
Call Stack (most recent call first):
cmake/GetGitCommitHash.cmake:35 (get_git_commit_hash)
CMakeLists.txt:20 (include)


-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:22 (project):
The CMAKE_C_COMPILER:

i686-w64-mingw32-gcc

is not a full path and was not found in the PATH.

Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.


CMake Error at CMakeLists.txt:22 (project):
The CMAKE_CXX_COMPILER:

i686-w64-mingw32-g++

is not a full path and was not found in the PATH.

Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.


-- Configuring incomplete, errors occurred!
Sat Aug 13 2016, 19:00:47
(no subject) (by whitequark)
Please use a git checkout for building (git clone https://github.com/solvespace/solvespace; git checkout v2.1), and follow the instructions in README (https://github.com/solvespace/solvespace/tree/v2.1#building-for-linux).

Your first error indicates that you aren't using a git checkout. Your second error indicates that cmake is trying to use a Windows cross-compiler. Since you don't mention cross-compilation, I assume this is not what you want, so you shouldn't pass any -DCMAKE_TOOLCHAIN_FILE options.
Sat Aug 13 2016, 20:36:38
(no subject) (by Fernando)
Thank you, it happened smoothly this time.
Tue Aug 16 2016, 06:50:45
(no subject) (by User1)
@Fernando, please, upload resulted deb for us!
Tue Aug 16 2016, 19:31:04
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):
© 2008-2018 SolveSpace contributors. Most recent update Nov 22 2018.