pezcode / open3d-core-android

Cross-compiling and using the core Open3D library on Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ninja stopped: subcommand failed.

raju535482 opened this issue · comments

Hi, I am tried following your steps to cross compile open3d core for Android, but I am getting this error.

D:\Experiments\open3d-core-android\build>cmake -G Ninja -DCMAKE_INSTALL_PREFIX=../install .. && cmake --build .
-- Configuring done
-- Generating done
-- Build files have been written to: D:/Experiments/open3d-core-android/build
[1/37] Performing patch step for 'open3d-fetch'
FAILED: CMakeExternals/Stamp/open3d-fetch/open3d-fetch-patch D:/Experiments/open3d-core-android/build/CMakeExternals/Stamp/open3d-fetch/open3d-fetch-patch
cmd.exe /C "cd /D D:\Experiments\open3d-core-android\build\CMakeExternals\Source\open3d-fetch && "C:\Program Files\Git\cmd\git.exe" apply D:/Experiments/open3d-core-android/open3d-android.patch && "C:\Program Files\CMake\bin\cmake.e
xe" -E touch D:/Experiments/open3d-core-android/build/CMakeExternals/Stamp/open3d-fetch/open3d-fetch-patch"
error: No valid patches in input (allow with "--allow-empty")
ninja: build stopped: subcommand failed.

added --allow-empty in patch command