-
Notifications
You must be signed in to change notification settings - Fork 253
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
Cannot build on Centos-7 #128
Comments
Hi! In step 2 of centos7_build.md the last 2 lines are: This creates a symlink from /building to the 'building' subdirectory of the cloned source (assuming you cloned to "/source"). So "/building/python-config.jam" should exist as a file after this step. CMakeLists.txt relies on this at line 30, in the Boost section, where it says "--user-config=/building/python-config.jam". I assume the error message you are getting means that the file isn't there... If you can't (or don't want to) create a symlink at "/building", you can edit this line in CMakeLists.txt to specify the location directly (e.g. "/source/building/python-config.jam", or wherever you have the openmoonray repo cloned). The same thing applies to line 154 of CMakeLists.txt, where the embree build uses "/building/embree_missing_type.patch" In the next release, this issue will be addressed : these files are specified relative to CMakeLists.txt instead of using an absolute path. |
That didn't help sorry, I still get the same error:
Even though the file does now exist. I also followed all of the linking stuff in the guide. |
I got it working by changing:
to an absolute path: But it still doesn't build, now I just get a huge number of boost errors. Still looking, |
Check that the contents of python-config.jam match your python install : the default is python 3.6 with executable in /usr/bin/python3, includes in /usr/include/python3.6m and library in /usr/lib64 |
Thanks @rgwilson68, I managed to get past that and am still grappling with other dependency issues, but I have a path through now I think thank you! Looks like I'm slowly getting there. |
Hi there! I've been following the instructions found here:
building/centos7_build.md
and when it gets to the boost section, I get the following error:
I've tried what seem like all the obvious things, but I cannot figure out how to resolve this problem. Thanks!
The text was updated successfully, but these errors were encountered: