ebertolazzi / Splines

Various Splines Interpolation classes
Other
140 stars 23 forks source link

Cmake failed #9

Open zack4417 opened 1 year ago

zack4417 commented 1 year ago

zack@zack:~/Documents/Autonomous_driving/Splines$ cd build/ zack@zack:~/Documents/Autonomous_driving/Splines/build$ cmake .. Splines current version = v1.1.2 -- Compiler used: GNU -- Compiler used: GNU -- BASE SUFFIXES = _linux_static _linux -- NOT Found Utils_linux_static use submodule Utils current version = v1.4 -- Compiler used: GNU -- Compiler used: GNU -- BASE SUFFIXES = _linux_static _linux -- Execute rake install for ThirdParties 'bash' '-c' 'rake install_3rd' rake aborted! NoMethodError: undefined method magenta' for "Install the colorize gem:\n $ (sudo) gem install colorize":String /home/zack/Documents/Autonomous_driving/Splines/submodules/Utils/Rakefile:5:inrescue in block in <top (required)>' /home/zack/Documents/Autonomous_driving/Splines/submodules/Utils/Rakefile:2:in block in <top (required)>' /home/zack/Documents/Autonomous_driving/Splines/submodules/Utils/Rakefile:1:ineach' /home/zack/Documents/Autonomous_driving/Splines/submodules/Utils/Rakefile:1:in <top (required)>' /usr/share/rubygems-integration/all/gems/rake-13.0.6/exe/rake:27:in<top (required)>'

Caused by: LoadError: cannot load such file -- colorize <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in require' <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:inrequire' /home/zack/Documents/Autonomous_driving/Splines/submodules/Utils/Rakefile:3:in block in <top (required)>' /home/zack/Documents/Autonomous_driving/Splines/submodules/Utils/Rakefile:1:ineach' /home/zack/Documents/Autonomous_driving/Splines/submodules/Utils/Rakefile:1:in <top (required)>' /usr/share/rubygems-integration/all/gems/rake-13.0.6/exe/rake:27:in<top (required)>' (See full trace by running task with --trace) CMake Error at submodules/Utils/CMakeLists.txt:150 (if): if given arguments:

"AND" "NOT" "APPLE"

Unknown arguments specified

-- Configuring incomplete, errors occurred! See also "/home/zack/Documents/Autonomous_driving/Splines/build/CMakeFiles/CMakeOutput.log". Screenshot from 2022-11-22 16-06-57

zack4417 commented 1 year ago
I solved this problem by changing "if ( AND NOT APPLE )" to "if ( NOT APPLE )"