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

Build problem in Ubuntu18.04 #6

Open
Z-Jeff opened this issue Jul 23, 2022 · 2 comments
Open

Build problem in Ubuntu18.04 #6

Z-Jeff opened this issue Jul 23, 2022 · 2 comments

Comments

@Z-Jeff
Copy link

Z-Jeff commented Jul 23, 2022

Because apt can't install libopen3d-dev on Ubuntu18.04, I have build and install open3d from source.
Here is my steps:

git clone https://github.com/isl-org/Open3D 
cd Open3D
mkdir build 
cd build 
cmake .. -DBUILD_PYTHON_MODULE=OFF  -DBUILD_CUDA_MODULE=ON 
make 
sudo make install

Then, I run ./build.sh in Open3DGen, some errors occur like:
fatal error: Open3D/Open3D.h: No such file or directory
I replace #include<Open3D/Open3D.h> with #include<open3d/Open3D.h> , more error like error: ‘registration’ is not a member of ‘stitcher3d::o3d’ occur.
How can I fix this?
By the way, is there a proper way to install Open3D in ubuntu18.04?

@gmikeup
Copy link

gmikeup commented Jul 29, 2022

I tried on ubuntu22.04, also the same problem as 'fatal error: Open3D/Open3D.h: No such file or directory', it seemed that
related with libopen3d-dev . I tried to change the path in the<Open3DGen-main/src/surface_mesh.h> .h or main.cpp files, but still report :Open3DGen-main/src/constants.h:130:89: error: ‘registration’ is not a member of ‘stitcher3d::o3d’
130 | typedef std::tuple<std::shared_ptro3d::geometry::PointCloud, std::shared_ptro3d::registration::Feature> down_fpfh;
There might be a lot of work to deal with Open3D versions.
Open3DGen compile with Open3D in Older versions like 0.9.0 or 0.10.0 may work fine.
But on ubuntu22.04 can only find 0.14.1 version.
I tried to install 0.9.0 by deb but met dependency problems.
Then I'm trying ubuntu21.10, which can install libopen3d-dev_0.9.0+ds-5build2 by default.

@jiajigiser
Copy link

I tried on ubuntu22.04, also the same problem as 'fatal error: Open3D/Open3D.h: No such file or directory', it seemed that related with libopen3d-dev . I tried to change the path in the<Open3DGen-main/src/surface_mesh.h> .h or main.cpp files, but still report :Open3DGen-main/src/constants.h:130:89: error: ‘registration’ is not a member of ‘stitcher3d::o3d’ 130 | typedef std::tuple<std::shared_ptro3d::geometry::PointCloud, std::shared_ptro3d::registration::Feature> down_fpfh; There might be a lot of work to deal with Open3D versions. Open3DGen compile with Open3D in Older versions like 0.9.0 or 0.10.0 may work fine. But on ubuntu22.04 can only find 0.14.1 version. I tried to install 0.9.0 by deb but met dependency problems. Then I'm trying ubuntu21.10, which can install libopen3d-dev_0.9.0+ds-5build2 by default.

Have you finally resolved it?

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

3 participants