Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cmake failed #9

Open
zack4417 opened this issue Nov 22, 2022 · 1 comment
Open

Cmake failed #9

zack4417 opened this issue Nov 22, 2022 · 1 comment

Comments

@zack4417
Copy link

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:in rescue 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:in each'
/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:in require'
/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:in each'
/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
Copy link
Author

I solved this problem by changing "if ( AND NOT APPLE )" to "if ( NOT APPLE )"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant