RenderMan icon indicating copy to clipboard operation
RenderMan copied to clipboard

Couldn't build on macOS

Open inhahe opened this issue 4 years ago • 9 comments

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.

inhahe avatar Mar 05 '22 01:03 inhahe

@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)

kyungyunlee avatar Mar 24 '22 06:03 kyungyunlee

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!"

inhahe avatar Mar 27 '22 08:03 inhahe

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

kyungyunlee avatar Mar 27 '22 14:03 kyungyunlee

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..?

inhahe avatar Mar 27 '22 16:03 inhahe

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

kyungyunlee avatar Mar 28 '22 00:03 kyungyunlee

@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.

kyungyunlee avatar Mar 28 '22 01:03 kyungyunlee

@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

inhahe avatar Mar 28 '22 01:03 inhahe

@inhahe I followed instruction here.

kyungyunlee avatar Mar 28 '22 02:03 kyungyunlee

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

inhahe avatar Mar 28 '22 07:03 inhahe