Giter Site home page Giter Site logo

Comments (8)

rcarjan avatar rcarjan commented on July 26, 2024 1

@castiel520 I have managed to solve this issue by building my own panda3d, and changing the build script a little.

What I did was edit the makepanda.py script, replacing both instances of "-pthread" with "-lpthread": here and here
It seems that when compiling with -pthread won't work, i'm not sure why.

Regarding this error:
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
I'm still not sure what caused it, but it seems to compile and work OK even with this message popping up every few seconds, so I guess it's not that important.

from renderpipeline.

rdb avatar rdb commented on July 26, 2024

Could you state which exact version of Panda you have? Knowing what drivers you have would help, too.

from renderpipeline.

rcarjan avatar rcarjan commented on July 26, 2024

Regarding the panda version, it's the latest version to download as of today: panda3d1.10_1.10.0-dev1106-zesty_amd64

As for the drivers, I have only installed the nvidia proprietary drivers:

Tue Apr 18 22:34:09 2017       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 381.09                 Driver Version: 381.09                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce 940M        Off  | 0000:01:00.0     Off |                  N/A |
| N/A   40C    P0    N/A /  N/A |    254MiB /  2002MiB |      2%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|    0      1057    G   /usr/lib/xorg/Xorg                              16MiB |
|    0      1572    G   /usr/lib/xorg/Xorg                              76MiB |
|    0      1796    G   /usr/bin/gnome-shell                            46MiB |
|    0      2214    G   ...s-passed-by-fd --v8-snapshot-passed-by-fd    85MiB |
+-----------------------------------------------------------------------------+

Linux version:
uname -a: Linux radu-ubuntu 4.10.0-19-generic #21-Ubuntu SMP Thu Apr 6 17:04:57 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

from renderpipeline.

castiel520 avatar castiel520 commented on July 26, 2024

@rdb I've met the same error under ubuntu 16.04 with native build

from renderpipeline.

castiel520 avatar castiel520 commented on July 26, 2024

@rcarjan thanks for you reply!

unfortunately your solution does not work for me, i still got the same error.
here is what I did:

  • uninstall the prebuild version of panda3d and get from latest master, replacing both instances of "-pthread" with "-lpthread" as you suggested
  • make panda3d*.deb and install it
  • run setup.py still got the same issue.

have you change any build script in RenderPipeline?
thanks again!

from renderpipeline.

rcarjan avatar rcarjan commented on July 26, 2024

@castiel520 No, sorry, this is the only change I have made.
Are you using python 2 or 3?
Have you installed all necessary dependencies?

from renderpipeline.

castiel520 avatar castiel520 commented on July 26, 2024

@rcarjan hi, I am using python 2, and I have installed all necessary dependencies.

today i tried re-build panda3d and render-pipeline yet still got the same error. But really thanks for your help:)

from renderpipeline.

mpbagot avatar mpbagot commented on July 26, 2024

I had the same problem, you have to change the read permissions of the files in /usr/include/panda3d. By default, the interrogate script cant read them and it causes the build to fail. Either run chmod or chown on the folders contents and re-run the render pipeline build. That should fix it.

Hope that helps.

from renderpipeline.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.