fedden / RenderMan

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

Unable to compile on mac #10

Open benjaminderei opened 6 years ago

benjaminderei commented 6 years ago

I get: ld: library not found for -lboost_python

harritaylor commented 5 years ago

Have you installed boost via home-brew? (brew install boost-python)

benjaminderei commented 5 years ago

Yes

Benjamin Derei Tel: 06 41 66 93 41

Le 10 août 2018 à 22:35:07, Harri Taylor (notifications@github.com) a écrit:

Have you installed boost via home-brew? (brew install boost-python)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fedden/RenderMan/issues/10#issuecomment-412198597, or mute the thread https://github.com/notifications/unsubscribe-auth/AMXQvK5WiTM3OoqleT219nhUAO5GTT06ks5uPe56gaJpZM4VEINk .

harritaylor commented 5 years ago

Are you compiling for python 2 or python 3?

And when does ld: library not found for -lboost_python appear? When you try and compile, or when you run the library?

benjaminderei commented 5 years ago

I have tried with python 2 and python 3 and it happen when compiling.

Le 12 août 2018 à 13:13:43, Harri Taylor (notifications@github.com) a écrit:

Are you compiling for python 2 or python 3?

And when does ld: library not found for -lboost_python appear? When you try and compile, or when you run the library?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fedden/RenderMan/issues/10#issuecomment-412335637, or mute the thread https://github.com/notifications/unsubscribe-auth/AMXQvF2iOTjozJ7hpDYZcSXumnR_UWp4ks5uQA3mgaJpZM4VEINk .

CarlosBalladares commented 5 years ago

This is happening to me too. I have been trying to build the library on xcode and get ld: library not found for -lboost_python

CarlosBalladares commented 5 years ago

I was able to build the library. If anyone else runs in this issue.

Just run

brew info boost-python and get the installation dir

And then point point Xcode to the $(brew_installation_dir)/lib in the library search paths in the xcode project.

For me the directory was

/usr/local/Cellar/boost-python/1.67.0/lib

It may be different for you

In addition change -lboost_python to -lboost_python27

guillaumedevineauminesparis commented 5 years ago

On OS X, Renderman works fine with python 3 (and python 2) using boost provided by homebrew.

Tested with renderman version: 33213e50b7096a419db1186f89a13cceb659d718 (= last commit)

egoid commented 5 years ago

I resolved this by running: brew info boost-python after going to the lib directory that boost-python is located in, I ran ls: it outputted: libboost_numpy27-mt.a libboost_python27-mt.a libboost_numpy27-mt.dylib libboost_python27-mt.dylib libboost_numpy27.a libboost_python27.a libboost_numpy27.dylib libboost_python27.dylib libboost_python.dylib

I then created a symlink from libboost_python27.dylib to libboost_python.dylib sudo ln -s /usr/local/Cellar/boost-python/1.69.0/libboost_python27.dylib /usr/local/Cellar/boost-python/1.69.0/libboost_python.dylib

looks like the build process is looking for libboost_python.dylib

fedden commented 4 years ago

Hey all, please accept my apologies for the silence on your problems. This is a project that I wrote whilst at university and I now don't have time to support in a professional capacity, but I appreciate it's a tool that is of use to you.

I'm wondering if any of you would like to become collaborators so you can put this repository in a state that works for you?