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
Install script fails on OS X Yosemite 10.10.1 #3
Comments
I do not have OSX but it seems like readlink -f does not work: I updated the install.sh script with an alternative. See a558a8b Can you tell me whether it fixes your problem or not ? |
That did help. Thanks! But it seems that clang does not support "-std=c++14", at least not the version I have. I'm installing a new version, in addition to gcc 4.9. I did some hack with sed to change c++14 into c++1y and that allowed me to install silicon (I will learn cmake to not rely on this). When I try to compile the example I run into errors, which I suspect are due the same reason, my current clang version not supporting some c++14 features. I'm not going to paste the errors until I test the new version of clang and also gcc 4.9, nonetheless I wanted to share my results so far. |
It works with clang++: I have a problem compiling with g++ 4.9.2 related to: https://gcc.gnu.org/gcc-4.9/porting_to.html |
Good to know that it works of OSX. On archlinux it compiles fine with gcc 4.9.2. Did you try to add #include at the very begining of the code? |
Yes I did, but it gives me the same error. Actually, I also created an empty main function and just added the relevant #include (header ) at the very beginning of the code, when I compile the program it returns the same error. This makes me think that the error is on me since the gcc workaround isn't working. I haven't had any chance to investigate this further. |
Sorry, I just realized that the github formating was hidding the include name. I meant #include <cstddef> Did you add this one? |
Yes, that was the header I included at the beginning. I didn't realize the name of the header was missing from my comment either, thanks for noticing. If I have the chance I will try again today. |
I don't thinks there is an issue with your code but with the compiler. I'm closing this since it is possible to compile and install in OS X provided you use homebrew gcc 4.9.2. The problem is with clang actually. You can compile silicon with the version of clang that ships with Yosemite iff you modify the
|
Hi, I just wanted to install silicon but I got the following error:
CMake Error at /usr/local/Cellar/cmake/3.1.0/share/cmake/Modules/CMakePackageConfigHelpers.cmake:254 (file):
file RELATIVE_PATH must be passed a full path to the file:
Call Stack (most recent call first):
CMakeLists.txt:17 (configure_package_config_file)
The log file CMakeOutput.log does not seem to include useful information.
OS:
OS X Yosemite 10.10.1
clang:
Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0
Thread model: posix
cmake:
cmake version 3.1.0
CMake suite maintained and supported by Kitware (kitware.com/cmake).
The text was updated successfully, but these errors were encountered: