Git Product home page Git Product logo

Comments (9)

jeffmahler avatar jeffmahler commented on July 17, 2024 1

Hi there! Your meshrender.so did not build. Can you:

  1. Repost this in the meshpy repository? That way users can find what is relevant to them.
  2. Try a build and post errors?

Manual build instructions:

cd /path/to/meshpy/
mkdir build
cd build
cmake ..
make -j4

Then meshrender should be in the build folder subtree

from dex-net.

woshisj avatar woshisj commented on July 17, 2024

I successful build meshrender
image
but when I run python setup.py test
NameError: global name 'meshrender' is not defined
image

How can I do?

from dex-net.

LiGengLei avatar LiGengLei commented on July 17, 2024

I have the same question, what should I do to solve it? Thanks for your help.

from dex-net.

jeffmahler avatar jeffmahler commented on July 17, 2024

The meshrender binary is in the wrong location. Not sure why. It seems that your binary built correctly, so please locate meshrender.so and then run:

$python
$>>>> import meshpy
$>>>> print meshpy.__file__
$>>>> # the output is the path to meshpy
cp /path/to/meshrender.so /path/to/meshpy/

from dex-net.

LiGengLei avatar LiGengLei commented on July 17, 2024

Thanks for your reply very much. I have solved this problem. I found that meshrender.so is compiled by C++, and to call this module in python, you need to specify the search path. But it is different from importing python module for python program, not setting $PYTHONPATH but setting $LD_LIBRARY_PATH that is the path to meshrender.so. At the same time, I find another error for boost.numpy, you must setting $LD_LIBRARY_PATH for libboost_numpy.so. I sincerely hope that you can understand what I want to say. Maybe my English is a little poor. Lastly, thank you again for replying to my question during your busy schedule.

from dex-net.

jeffmahler avatar jeffmahler commented on July 17, 2024

Ok glad to hear you were able to resolve this issue!

from dex-net.

EvanLavizadeh avatar EvanLavizadeh commented on July 17, 2024

Hi @LiGengLei, I would like to replicate your fix. Can you explain it in more detail? Exactly what should I change to fix this?

from dex-net.

jzhang2008 avatar jzhang2008 commented on July 17, 2024

Hi @LiGengLei, I also got the same error. Based on your method, I don't solve it. Can you explain it in more detail?

from dex-net.

raialonso8 avatar raialonso8 commented on July 17, 2024

Hi,
I am having some errors with meshrender, my original error wast not finding meshrender.so:

cannot stat ‘meshpy/meshrender.so’: No such file or directory

So i tried it to install it manually such as follows:

cd /path/to/meshpy/
mkdir build
cd build
cmake ..
make -j4

However, I get the next error:

meshpy/CMakeFiles/meshrender.dir/build.make:65: recipe for target 'meshpy/CMakeFiles/meshrender.dir/meshrender.cpp.o' failed
make[2]: *** [meshpy/CMakeFiles/meshrender.dir/meshrender.cpp.o] Error 1
make[2]: Leaving directory '/home/cpsr/catkin_ws/src/dex-net/deps/meshpy/build'
CMakeFiles/Makefile2:88: recipe for target 'meshpy/CMakeFiles/meshrender.dir/all' failed
make[1]: *** [meshpy/CMakeFiles/meshrender.dir/all] Error 2
make[1]: Leaving directory '/home/cpsr/catkin_ws/src/dex-net/deps/meshpy/build'
Makefile:132: recipe for target 'all' failed
make: *** [all] Error 2

Any help please?

from dex-net.

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.