I tried to install Open3D in Python, referring to the documentation.
However, it failed with the following error.
How do I solve this problem?
Enviroment:
$ uname -a
Linux Jetson Xavier NX 4.9.140-tegra #1 SMP PREEMPT Wed Apr 8 18:15:20 PDT 2020 aarch64 aarch64 aarch64 GNU/Linux
$ make -j$(nproc)
Scanning dependencies of target 3rdparty_lzf
Scanning dependencies of target 3rdparty_rply
[ 0%] Building C object CMakeFiles/3rdparty_rply.dir/3rdparty/rply/rply/rply.c.o
[ 0%] Building C object CMakeFiles/3rdparty_lzf.dir/3rdparty/liblzf/liblzf/lzf_c.c.o
[ 0%] Building C object CMakeFiles/3rdparty_lzf.dir/3rdparty/liblzf/liblzf/lzf_d.c.o
[ 1%] Linking C static library lib/RelWithDebInfo/libOpen3D_3rdparty_lzf.a
[ 1%] Built target 3rdparty_lzf
Scanning dependencies of target 3rdparty_tinyfiledialogs
[ 1%] Building C object CMakeFiles/3rdparty_tinyfiledialogs.dir/3rdparty/tinyfiledialogs/include/tinyfiledialogs/tinyfiledialogs.c.o
[ 2%] Linking C static library lib/RelWithDebInfo/libOpen3D_3rdparty_rply.a
[ 2%] Built target 3rdparty_rply
Scanning dependencies of target 3rdparty_jsoncpp
[ 2%] Building CXX object CMakeFiles/3rdparty_jsoncpp.dir/3rdparty/jsoncpp/json_reader.cpp.o
[ 2%] Linking C static library lib/RelWithDebInfo/libOpen3D_3rdparty_tinyfiledialogs.a
[ 2%] Built target 3rdparty_tinyfiledialogs
[ 2%] Building CXX object CMakeFiles/3rdparty_jsoncpp.dir/3rdparty/jsoncpp/json_value.cpp.o
[ 3%] Building CXX object CMakeFiles/3rdparty_jsoncpp.dir/3rdparty/jsoncpp/json_writer.cpp.o
Scanning dependencies of target 3rdparty_qhull_r
[ 3%] Building C object CMakeFiles/3rdparty_qhull_r.dir/3rdparty/qhull/src/libqhull_r/global_r.c.o
[ 3%] Building C object CMakeFiles/3rdparty_qhull_r.dir/3rdparty/qhull/src/libqhull_r/stat_r.c.o
[ 3%] Linking CXX static library lib/RelWithDebInfo/libOpen3D_3rdparty_jsoncpp.a
[ 4%] Building C object CMakeFiles/3rdparty_qhull_r.dir/3rdparty/qhull/src/libqhull_r/geom2_r.c.o
[ 4%] Built target 3rdparty_jsoncpp
[ 4%] Building C object CMakeFiles/3rdparty_qhull_r.dir/3rdparty/qhull/src/libqhull_r/poly2_r.c.o
[ 4%] Building C object CMakeFiles/3rdparty_qhull_r.dir/3rdparty/qhull/src/libqhull_r/merge_r.c.o
[ 4%] Building C object CMakeFiles/3rdparty_qhull_r.dir/3rdparty/qhull/src/libqhull_r/libqhull_r.c.o
[ 5%] Building C object CMakeFiles/3rdparty_qhull_r.dir/3rdparty/qhull/src/libqhull_r/geom_r.c.o
[ 5%] Building C object CMakeFiles/3rdparty_qhull_r.dir/3rdparty/qhull/src/libqhull_r/poly_r.c.o
[ 5%] Building C object CMakeFiles/3rdparty_qhull_r.dir/3rdparty/qhull/src/libqhull_r/qset_r.c.o
[ 5%] Building C object CMakeFiles/3rdparty_qhull_r.dir/3rdparty/qhull/src/libqhull_r/mem_r.c.o
[ 6%] Building C object CMakeFiles/3rdparty_qhull_r.dir/3rdparty/qhull/src/libqhull_r/random_r.c.o
[ 6%] Building C object CMakeFiles/3rdparty_qhull_r.dir/3rdparty/qhull/src/libqhull_r/usermem_r.c.o
[ 6%] Building C object CMakeFiles/3rdparty_qhull_r.dir/3rdparty/qhull/src/libqhull_r/userprintf_r.c.o
[ 7%] Building C object CMakeFiles/3rdparty_qhull_r.dir/3rdparty/qhull/src/libqhull_r/io_r.c.o
[ 7%] Building C object CMakeFiles/3rdparty_qhull_r.dir/3rdparty/qhull/src/libqhull_r/user_r.c.o
[ 7%] Building C object CMakeFiles/3rdparty_qhull_r.dir/3rdparty/qhull/src/libqhull_r/rboxlib_r.c.o
[ 7%] Building C object CMakeFiles/3rdparty_qhull_r.dir/3rdparty/qhull/src/libqhull_r/userprintf_rbox_r.c.o
Scanning dependencies of target 3rdparty_imgui
[ 7%] Building CXX object CMakeFiles/3rdparty_imgui.dir/3rdparty/imgui/imgui_demo.cpp.o
[ 8%] Linking C static library lib/RelWithDebInfo/libOpen3D_3rdparty_qhull_r.a
[ 8%] Built target 3rdparty_qhull_r
[ 8%] Building CXX object CMakeFiles/3rdparty_imgui.dir/3rdparty/imgui/imgui_draw.cpp.o
[ 8%] Building CXX object CMakeFiles/3rdparty_imgui.dir/3rdparty/imgui/imgui_widgets.cpp.o
[ 9%] Building CXX object CMakeFiles/3rdparty_imgui.dir/3rdparty/imgui/imgui.cpp.o
Scanning dependencies of target EncodeShader
[ 9%] Building CXX object src/Tools/CMakeFiles/EncodeShader.dir/EncodeShader.cpp.o
[ 9%] Linking CXX executable ../../bin/EncodeShader
[ 9%] Built target EncodeShader
Scanning dependencies of target GuiResources
[ 9%] Generating ../../../bin/resources/colorMap.filamat
/bin/sh: 1: ../../../downloads/filament/bin/matc: Exec format error
src/Open3D/GUI/CMakeFiles/GuiResources.dir/build.make:89: recipe for target 'bin/resources/colorMap.filamat' failed
make[2]: *** [bin/resources/colorMap.filamat] Error 2
CMakeFiles/Makefile2:1221: recipe for target 'src/Open3D/GUI/CMakeFiles/GuiResources.dir/all' failed
make[1]: *** [src/Open3D/GUI/CMakeFiles/GuiResources.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 9%] Linking CXX static library lib/RelWithDebInfo/libOpen3D_3rdparty_imgui.a
[ 9%] Built target 3rdparty_imgui
Makefile:149: recipe for
I can also reproduce this error on a Jetson Xavier with Jetpack 4.4 (Ubuntu 18.04).
EDIT: The error comes from bluegl, that currently can't be built on ARM targets: https://github.com/google/filament/issues/1135.
A quick fix seems to deactivate the Open3D GUI, with -DENABLE_GUI=OFF : https://github.com/intel-isl/Open3D/issues/1861
I can also reproduce this error on a Jetson Xavier with Jetpack 4.4 (Ubuntu 18.04).
EDIT: The error comes from bluegl, that currently can't be built on ARM targets: google/filament#1135.
A quick fix seems to deactivate the Open3D GUI, with-DENABLE_GUI=OFF: #1861
getting the same error.
This could be a hard one. @crea397 are you getting the same error after disabling the GUI as proposed by @TheophileBlard ?
Same configuration, same problem... and -DENABLE_GUI=OFF does not solve the problem...
tried also to build with Cuda support and it did not work.
Same device:
[ 6%] Built target 3rdparty_imgui
Scanning dependencies of target ext_filament
[ 7%] Creating directories for 'ext_filament'
[ 7%] Performing download step (download, verify and extract) for 'ext_filament'
-- Downloading...
dst='/home/prikshet/Open3D/build/filament/src/filament-v1.8.1-linux.tgz'
timeout='none'
-- Using src='https://github.com/google/filament/releases/download/v1.8.1/filament-v1.8.1-linux.tgz'
-- Retrying...
-- Using src='https://github.com/google/filament/releases/download/v1.8.1/filament-v1.8.1-linux.tgz'
-- Retry after 5 seconds (attempt #2) ...
-- Using src='https://github.com/google/filament/releases/download/v1.8.1/filament-v1.8.1-linux.tgz'
-- Retry after 5 seconds (attempt #3) ...
-- Using src='https://github.com/google/filament/releases/download/v1.8.1/filament-v1.8.1-linux.tgz'
-- Retry after 15 seconds (attempt #4) ...
-- Using src='https://github.com/google/filament/releases/download/v1.8.1/filament-v1.8.1-linux.tgz'
-- Retry after 60 seconds (attempt #5) ...
-- Using src='https://github.com/google/filament/releases/download/v1.8.1/filament-v1.8.1-linux.tgz'
CMake Error at ext_filament-stamp/download-ext_filament.cmake:159 (message):
Each download failed!
error: downloading 'https://github.com/google/filament/releases/download/v1.8.1/filament-v1.8.1-linux.tgz' failed
status_code: 1
status_string: "Unsupported protocol"
log:
--- LOG BEGIN ---
Protocol "https" not supported or disabled in libcurl
Closing connection -1
--- LOG END ---
error: downloading 'https://github.com/google/filament/releases/download/v1.8.1/filament-v1.8.1-linux.tgz' failed
status_code: 1
status_string: "Unsupported protocol"
log:
--- LOG BEGIN ---
Protocol "https" not supported or disabled in libcurl
Closing connection -1
--- LOG END ---
error: downloading 'https://github.com/google/filament/releases/download/v1.8.1/filament-v1.8.1-linux.tgz' failed
status_code: 1
status_string: "Unsupported protocol"
log:
--- LOG BEGIN ---
Protocol "https" not supported or disabled in libcurl
Closing connection -1
--- LOG END ---
error: downloading 'https://github.com/google/filament/releases/download/v1.8.1/filament-v1.8.1-linux.tgz' failed
status_code: 1
status_string: "Unsupported protocol"
log:
--- LOG BEGIN ---
Protocol "https" not supported or disabled in libcurl
Closing connection -1
--- LOG END ---
error: downloading 'https://github.com/google/filament/releases/download/v1.8.1/filament-v1.8.1-linux.tgz' failed
status_code: 1
status_string: "Unsupported protocol"
log:
--- LOG BEGIN ---
Protocol "https" not supported or disabled in libcurl
Closing connection -1
--- LOG END ---
error: downloading 'https://github.com/google/filament/releases/download/v1.8.1/filament-v1.8.1-linux.tgz' failed
status_code: 1
status_string: "Unsupported protocol"
log:
--- LOG BEGIN ---
Protocol "https" not supported or disabled in libcurl
Closing connection -1
--- LOG END ---
CMakeFiles/ext_filament.dir/build.make:109: recipe for target 'filament/src/ext_filament-stamp/ext_filament-download' failed
make[2]: *** [filament/src/ext_filament-stamp/ext_filament-download] Error 1
CMakeFiles/Makefile2:928: recipe for target 'CMakeFiles/ext_filament.dir/all' failed
make[1]: *** [CMakeFiles/ext_filament.dir/all] Error 2
Makefile:148: recipe for target 'all' failed
make: *** [all] Error 2
Earlier was using the hash
git checkout 488e324be587c2b0f467ced7388d07dcd28f2b74
but pulled the latest because the above hash, even though builds successfully, gives the issue #2267 :
Protocol "https" not supported or disabled in libcurl says that libcurl doesn't support https.
You have to recompile libcurl from source with with support for https enabled.
See https://curl.haxx.se/docs/install.html for details and make sure to set
./configure --with-ssl
@zendevil that doesn't work either
What does
curl --version
say?
It outputs a list of supported protocols. If https isn't in this list, there is something wrong with your curl installation.
Try sudo apt remove --purge curl and install from source again.
can't believe this not working and no solution has been found.
We're working on ARM support for Open3D.
If we build with BUILD_GUI=OFF, https://github.com/intel-isl/Open3D/pull/2205 should work. I recommend apt-get install -y gfortran libblas-dev liblapack-dev liblapacke-dev to avoid compiling OpenBLAS from source.
If you need BUILD_GUI=ON, currently Filament does not have official ARM support. We are testing a ARM patch for filament, please stay tuned.
@yxlao kindly please provide us the conda or pip package manager for the future 0.11 release. Installing filament is just not possible with ease. It'll save us a lot of time.
@Zumbalamambo yes we will have conda and pip package for x86, for ARM we require compiling Open3D from source.
Conda does not exist on Jetson...
On Sat, Sep 19, 2020 at 3:32 AM Yixing Lao notifications@github.com wrote:
@Zumbalamambo https://github.com/Zumbalamambo yes we will have conda
and pip package for x86, for arm it requires x86—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/intel-isl/Open3D/issues/1968#issuecomment-695145906,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIDS7445Z737AQQPXTDXM4LSGQC2RANCNFSM4OAJMUZA
.
@Fred3D-tech you could use Archiconda on Jetson. Conda forge has got some libraries that can be installed on Jetson using Archiconda.
Does it work with open3d? I don't think so.
On Sun, Sep 20, 2020 at 8:52 PM Zumbalamambo notifications@github.com
wrote:
@Fred3D-tech https://github.com/Fred3D-tech you could use Archiconda on
Jetson. Conda forge has got some libraries that can be installed on Jetson
using Archiconda.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/intel-isl/Open3D/issues/1968#issuecomment-695822097,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIDS746SSM2SR7QKMEQMLB3SGZFO3ANCNFSM4OAJMUZA
.
@Fred3D-tech currently open3d do not have conda build
False.. they have a conda build but not working with Archiconda.
On Sun, Sep 20, 2020 at 9:27 PM Zumbalamambo notifications@github.com
wrote:
@Fred3D-tech https://github.com/Fred3D-tech currently open3d do not
have conda build—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/intel-isl/Open3D/issues/1968#issuecomment-695825916,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIDS74554SVA42QVXOZGDWDSGZJRPANCNFSM4OAJMUZA
.
@Fred3D-tech Having a conda built-in and itself is not sufficient. A package must have aarch64 build for being able to use it with reference to Jetson as the platform code for Jetson is aarch64 .
ok... the main problem is: do we have a solution or not? Can we install Open3D on the most fitted platform for mobility and then robotic? The answer for me is no. And I don't see any new answer or upgrade. No upgrade have been available since may.
Developing a render had absolutely no interest: a lot of very good renders are available. Working on a working ICP, a good odometry, a system working on Jetson would be more useful .
ARM64 is now supported. See the build guide at https://github.com/intel-isl/Open3D/blob/master/docs/arm.rst. If you encounter any problem, please create a new issue.
ARM64 is now supported. See the build guide at https://github.com/intel-isl/Open3D/blob/master/docs/arm.rst. If you encounter any problem, please create a new issue.
@yxlao nice job! Thank you.
Most helpful comment
ARM64 is now supported. See the build guide at https://github.com/intel-isl/Open3D/blob/master/docs/arm.rst. If you encounter any problem, please create a new issue.