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

Compile on Ubuntu #16

Open
bluesteelll opened this issue Nov 9, 2019 · 7 comments
Open

Compile on Ubuntu #16

bluesteelll opened this issue Nov 9, 2019 · 7 comments

Comments

@bluesteelll
Copy link

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
Copy link

c0m0r1 commented May 12, 2020

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

@orrimoch
Copy link

orrimoch commented Jun 4, 2020

Any solution for that?

@da2r-20
Copy link

da2r-20 commented Jun 5, 2020

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

@fedden
Copy link
Owner

fedden commented Jun 5, 2020

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
Copy link

orrimoch commented Jun 5, 2020

Thanks!
It was solved using ubuntu 16 docker 👌

@hichiaty
Copy link

Anyone solved this on ubuntu > 16?

@turian
Copy link

turian commented Dec 20, 2020

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.

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

7 participants