Skip to content

CMake with Ninja generator delets some 3rdparty source files #6644

@dbs4261

Description

@dbs4261

Checklist

Steps to reproduce the issue

I first cloned Open3D by:

git clone https://github.com/isl-org/Open3D.git
cd Open3D

Then, I build Open3D (on Ubuntu 22.04) with:

mkdir cmake-build-debug
cmake -S . -B cmake-build-debug -G Ninja -DCMAKE_BUILD_TYPE=Debug -DGLIBCXX_USE_CXX11_ABI=ON -DBUILD_SHARED_LIBS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_UNIT_TESTS=OFF -DBUILD_GUI=OFF -DWITH_SIMD=ON -DBUILD_WEBRTC=OFF -DUSE_BLAS=OFF -DOPEN3D_USE_ONEAPI_PACKAGES=ON -DUSE_SYSTEM_EIGEN3=ON -DUSE_SYSTEM_CURL=OFF -DBUILD_CURL_FROM_SOURCE=ON -DUSE_SYSTEM_OPENSSL=OFF -DBUILD_ISPC_MODULE=OFF
cmake --build cmake-build-debug --target clean

Error message

Result from `git status -s`

 D 3rdparty/glew/src/glew.c
 D 3rdparty/liblzf/liblzf/lzf_c.c
 D 3rdparty/liblzf/liblzf/lzf_d.c
 D 3rdparty/rply/rply/rply.c
 D 3rdparty/tinyfiledialogs/include/tinyfiledialogs/tinyfiledialogs.c


### Open3D, Python and System information

```markdown
- Operating system: Ubuntu 22.04
- Open3D version: 18.0
- System architecture: x86_64
- Is this a remote workstation?: no
- How did you install Open3D?: build from source
- Compiler version (if built from source): gnu 11.4.0

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    build/installBuild or installation issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions