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

Compile on Ubuntu #16

Open bluesteelll opened 4 years ago

bluesteelll commented 4 years ago
flint@flintUbuntuWP:~/RenderMan-master/Builds/LinuxMakefile/build$ python
Python 3.6.8 (default, Oct  7 2019, 12:59:55) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import librenderman
JUCE v5.2.0
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: dynamic module does not define module export function (PyInit_librenderman)
>>> exit()
flint@flintUbuntuWP:~/RenderMan-master/Builds/LinuxMakefile/build$ python2
Python 2.7.15+ (default, Oct  7 2019, 17:39:04) 
[GCC 7.4.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import librenderman
JUCE v5.2.0
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: dynamic module does not define init function (initlibrenderman)
>>> 

That's it. The same problem both on Py2 and Py3

c0m0r1 commented 4 years ago

I have same problem with this. Even though I confirmed that the initlibrenderman function exists in the librenderman.so file image

orrimoch commented 4 years ago

Any solution for that?

da2r-20 commented 4 years ago

Works for me on ubuntu 16.04 But I did have a problem on 18.04

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?

orrimoch commented 4 years ago

Thanks! It was solved using ubuntu 16 docker 👌

hichiaty commented 4 years ago

Anyone solved this on ubuntu > 16?

turian commented 3 years ago

I was able to solve this on Ubuntu 18.04 by changing the Makefile by changing

-fvisibility=hidden

to

-fvisibility=default

You still must load the module using python2.7.

If you want something simpler, I have a Dockerfile and complete simple instructions on how to get Renderman and Dexed working on Ubuntu in this repo.

@fedden do you mind adding this repo link to your README.md? If you prefer I can submit a PR.