- Follow the instructions here. The
CMakeversion specific is not compatible for symlinks in newer OS. The steps specified here do not work. Please follow the next step. - Install CMake here.
- Configure the build with typing
cmake ..in thebuildfolder - You may need to install
conan. You can usepip install conan. There are good instructions here
- Follow the instructions here
- Make sure to use Ruby 2.2.4. More details here
- Check ruby version with 'ruby --version'
- You should see
ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-darwin17] - You can have multiple versions of ruby using
rvm. This package allows you to switch between different ruby version. More details are accessible here - You can install
rvmwithrvm install ruby-2.2.4or reinstall withrvm reinstall ruby-2.2.4
-
The following error is due to missing
aclocalpackge:
./autogen.sh: line 11: aclocal: command not found
The solution is to installautomakeand add it to the path. -
If you receive the following error, you need to make sure to have a
RUBYLIBenvironment inbash_profile.
2.2.4 :001 > require 'openstudio'
LoadError: cannot load such file -- openstudio
from /Users/Mohammad/.rvm/rubies/ruby-2.2.4/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /Users/Mohammad/.rvm/rubies/ruby-2.2.4/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from (irb):1
from /Users/Mohammad/.rvm/rubies/ruby-2.2.4/bin/irb:11:in `<main>'
The RUBYLIB points to the OpenStudio Application version installed on the system: export RUBYLIB=/Applications/OpenStudio-2.8.0/Ruby