fedden / RenderMan

Command line C++ and Python VSTi Host library with MFCC, FFT, RMS and audio extraction and .wav writing.
The Unlicense
360 stars 44 forks source link

Couldn't build on macOS #29

Open inhahe opened 2 years ago

inhahe commented 2 years ago

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 commented 2 years ago

@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 commented 2 years ago

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 commented 2 years ago

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

inhahe commented 2 years ago

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 commented 2 years ago

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

kyungyunlee commented 2 years ago

@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 commented 2 years ago

@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 commented 2 years ago

@inhahe I followed instruction here.

inhahe commented 2 years ago

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