-
Notifications
You must be signed in to change notification settings - Fork 38
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
Open3d with cuda9.0 #4
Comments
@jiu876 Hi, Thank you for your attention. I'm not sure wheather the open3d 12.0 supports cuda 9.0. The cuda10.x and cuda 11.x can work well with it. This project does not depend on the cuda module in it. so if you want, you can try to disable the cuda moduel compilation eg. |
Thanks for your answer,I follow your solution,but a new problem appear: |
@jiu876 This module will cause linking errors due to C++11 API support. You can try to compile it as follows: git clone --recursive https://github.com/intel-isl/Open3D
cd Open3D && source util/scripts/install-deps-ubuntu.sh
mkdir build && cd build
cmake -DBUILD_EIGEN3=ON -DBUILD_GLEW=ON -DBUILD_GLFW=ON -DBUILD_JSONCPP=ON -DBUILD_PNG=ON -DGLIBCXX_USE_CXX11_ABI=ON -DPYTHON_EXECUTABLE=/usr/bin/python3 -DBUILD_UNIT_TESTS=ON ..
make -j4
sudo make install Good luck! |
@zpw6106 Thanks for your answer,I have successfully built the Open3D library ,but when I catkin build,there is a problem about yawl-cpp. /usr/bin/ld: /usr/local/lib/libyaml-cpp.a(scanscalar.cpp.o): relocation R_X86_64_PC32 against symbol |
@jiu876 It looks like your yaml-cpp isn't compiling correctly. From your output, it looks like your yaml-cpp has been compiled into a static library, which will cause linking errors. You can try to recompile as follows: sudo rm -rf /usr/local/include/yaml-cpp /usr/local/lib/libyaml-cpp* /usr/local/lib/cmake/yaml-cpp
cd yaml-cpp-yaml-cpp-0.6.3/
mkdir build && cd build
cmake -DYAML_BUILD_SHARED_LIBS=ON ../
make -j4 && sudo make install You can check the output of the terminal to notice the correct dynamic link library. This is shown below: Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/lib/libyaml-cpp.so.0.6.3
-- Installing: /usr/local/lib/libyaml-cpp.so.0.6
-- Installing: /usr/local/lib/libyaml-cpp.so |
@zpw6106 I changed the code in regisration.cpp:scan_edge_size >= 5 && scan_sphere_size >= 5 && scan_planar_size >= 5 && scan_ground_size >= 5,and the KITTI00 dataset can run entirely.Here are other questions to ask you: |
@jiu876 First of all, thank you for attention my work, If you want to use the tloam on VLP-16. You need to pay attention to the following step:
Hope this can help you ! |
@zpw6106 Thanks for your answers, it is very helpful to me, and I will try to solve these problems. For the newly added real-time node, is there any code for reference, I am not familiar with nodelet yet, thank you very much! |
hi,the work is excellent.But when I set up the open3d 0.12.0 environment, I used cuda9.0 and kept reporting errors. The content is as follows. Does the 0.12.0 version support cuda9.0?
CMake Error at /home/zhangcz/third_parts/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/CMakeDetermineCUDACompiler.cmake:552 (message):
The CMAKE_CUDA_ARCHITECTURES:
75-real
do not all work with this compiler. Try:
30
instead.
The text was updated successfully, but these errors were encountered: