-
Notifications
You must be signed in to change notification settings - Fork 148
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
Mesh and Meshviewer cannot be used #51
Comments
Finally, I found that the file CMakeLists.txt in mesh/mesh hadn't used in BOOST_INCLUDE_DIRS=/path/to/boost/include make all. It caused these files whose names were aabb_normals, spatialsearch, plyutils, loadobj hadn't generated. As a result, we cannot import them, becuase they don't exist at all. In the end, I cmake the file CMakeLists.txt in mesh/mesh, and get these missing files. Then I successfully fix this bug. |
I got the same error, could you please share exactly what worked? |
then you can see aabb_normals.so, spatialsearch.so, plyutils.so and loadobj.so files in the folder mesh/mesh/cmake. |
Hi @faneggs , thank you for sharing! from .loadobj import loadobj In "psbody/mesh/serialization/serialization.py", line 98 Could you please share more details? Thx |
Using this command
it occurs an error, ValueError: Could not load file.
|
the .so file is a dynamic link library that can be imported by any language. |
if you are using python3, then you might see an error following after
Open and edit the file ./mesh/cmake/thirdparty.cmake
|
@faneggs @khushgrover
I didn't understand the part when you said copy the files to the exact location. as in copy where. the missing files(loadobj.so etc) are generated in the dir mesh/mesh/cmake . Do I need to move them somewhere? meshviewer view data/unittest/sphere.obj this works though!! |
./mesh/geometry/spatialsearch.so |
…o files and move them to appropriate directories (MPI-IS#51 (comment))
I had compiled and install Boost and the psbody-mesh package following the README.md using Makefile in the repository. And run the test successfully by the command $ make tests as well as $ make documentation.
But when I use the command $ meshviewer view sphere.obj, it occurs an error, ValueError: Could not load file.
Tarceback reports that the error occurs in File "psbody/mesh/serialization/serialization.py", line 98, in load_from_obj_cpp from .loadobj import loadobj.
Then I found there is not loadobj file in the whole directory, as well as aabb_normals, spatialsearch, plyutils. It indicates the Cmakelist.txt in ./mesh is no use.
Do you know how to deal with the problem?
The text was updated successfully, but these errors were encountered: