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

Couldn't build on macOS #29

Open
inhahe opened this issue Mar 5, 2022 · 9 comments
Open

Couldn't build on macOS #29

inhahe opened this issue Mar 5, 2022 · 9 comments

Comments

@inhahe
Copy link

inhahe commented Mar 5, 2022

Since I couldn't get RenderMan to build on Windows or Ubuntu, I finally tried it on macOS. I get the error, 'boost/python.hpp' file not found. I've tried it on two different versions of macOS (11 and 12) with two different versions of xcode. I did run brew install Python on both.

@kyungyunlee
Copy link

@inhahe Hi, did you manage to install boost-python for python2 ? I have similar issue but I wasn't able to install boost-python (only boost-python3)

@inhahe
Copy link
Author

inhahe commented Mar 27, 2022

I hadn't tried installing boost-python because it's not in the instructions for building RenderMan, but I tried it just now. I got "Error: boost-python has been disabled because it does not build!"

@kyungyunlee
Copy link

@inhahe Thanks, I guess it doesn't work anymore 🥲

@inhahe
Copy link
Author

inhahe commented Mar 27, 2022

Do you have a reason for thinking that python-boost (for Python 2) is necessary to compile RenderMan? Because I've been thinking of looking for an alternative way to install python-boost in case it helps RenderMan compile, but I'm afraid it'll interfere with my python-boost3 installation..?

@kyungyunlee
Copy link

@inhahe I am trying to setup for some other project which requires renderman (link). Unfortunately only supports python2.

@kyungyunlee
Copy link

kyungyunlee commented Mar 28, 2022

@inhahe I am now trying to install boost-python3 on macos M1 pro chip and getting this error : Unrecognized instruction mnemonic, did you mean: bit, cnt, hint, ins, not?. I think I solved the boost/python.hpp error after setting the search path correctly.

@inhahe
Copy link
Author

inhahe commented Mar 28, 2022

@kyungyunlee Oh, I don't know about that problem, I'm using macOS in a VMWare VM, but can you tell me how to set the search path and what I should set it to? Thx

@kyungyunlee
Copy link

@inhahe I followed instruction here.

@inhahe
Copy link
Author

inhahe commented Mar 28, 2022

Oh, those instructions are for using Python2 and boost-python (for python 2) which I couldn't get installed. :/

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

2 participants