-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
CMake error upon configuration: No download info given for 'ext_turbojpeg' and its source directory #3640
Comments
Hi @pwlems, building Open3D from a zipped archive is currently not well supported as some of the 3rd party dependencies are defined as git submodules and not included in the archive. We are currently improving the support in #3643 which is a first step to that goal. In the meantime, you can use |
Hi @stotko , thank you for your quick reply. I originally tried compiling from the git repo directly using the --recursive flag but came across a lot of errors, which I why I then tried to compile from the zip file from an official release. cmake does properly generate the build files when I use the git repo directly, however when I run
I get lots of errors regarding the download of dependencies. The log from one of these errors is as follows: Creating directories for 'ext_turbojpeg' CUSTOMBUILD : error : downloading 'https://github.com/libjpeg-turbo/libjpeg-turbo/archive/refs/tags/2.0.6.tar.gz' faile
Do you know what might be causing this issue? |
Could you perform a clean build, i.e. delete the |
Hi @stotko , I just tried that and got the same result. Here is the error log as a text file. |
@pwlems We have occasionally had transient network issues with users unable to download from github. Deleting the affected 3rdparty module ( |
Hi @ssheorey , the issue persists even after deleting those turbojpeg files. Downloading the file directly via curl works as expected. |
Downgrading cmake to 3.19.0 (the minimum version required by Open3D) resolves the issue. For reference, previously I was running cmake 3.21.0-rc. |
@pwlems Great to hear that you solved the issue. This looks actually like a bug/regression in CMake. If you like, you can also inform the CMake developers and submit a bug report here: https://gitlab.kitware.com/cmake/cmake/-/issues |
I get the same issue when I build open3d with CMake 3.19.4 on windows |
You can download cmake 3.19.0 from the official github repository: https://github.com/Kitware/CMake/releases/tag/v3.19.0 |
Describe the bug
cmake fails with the following errors:
-- libturbojpeg: WITH_CRT_DLL=OFF
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/ExternalProject.cmake:2866 (message):
No download info given for 'ext_turbojpeg' and its source directory:
D:/Documents/Brown/Open3D-0.13.0/3rdparty/libjpeg-turbo/libjpeg-turbo
is not an existing non-empty directory. Please specify one of:
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/ExternalProject.cmake:3700 (_ep_add_download_command)
3rdparty/libjpeg-turbo/libjpeg-turbo.cmake:54 (ExternalProject_Add)
3rdparty/find_dependencies.cmake:496 (include)
CMakeLists.txt:613 (include)
And secondly,
-- Building library 3rdparty_fmt from source
CMake Error at 3rdparty/find_dependencies.cmake:782 (add_subdirectory):
The source directory
does not contain a CMakeLists.txt file.
Call Stack (most recent call first):
CMakeLists.txt:613 (include)
To Reproduce
Expected behavior
cmake should generate a Visual Studio solution file from which I should be able to successfully run the BUILD and INSTALL projects.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: