Skip to content
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

Make failed in Windows no makefile found #120

Open
febrifahmi opened this issue Aug 8, 2024 · 2 comments
Open

Make failed in Windows no makefile found #120

febrifahmi opened this issue Aug 8, 2024 · 2 comments

Comments

@febrifahmi
Copy link

Hi, I tried to build OpenSplat in Windows 11 and during following the documentation, the process failed during make. The CMake version is following the documentation. Here is the complete message:

D:\CODING\opensplat\OpenSplat\build>cmake -DCMAKE_PREFIX_PATH="C:\Users\tkbgp\Downloads\libtorch-win-cpu\libtorch\share\cmake\Torch;C:\Users\tkbgp\Downloads\libtorch-win-cpu\libtorch\share\cmake\OpenCV" .. && make -j2
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631.
-- The C compiler identification is MSVC 19.38.33134.0
-- The CXX compiler identification is MSVC 19.38.33134.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
OpenSplat Version: 1.1.3 (git commit 7c9a9cc)
-- Using the multi-header code from D:/CODING/opensplat/OpenSplat/build/_deps/nlohmann_json-src/include/
-- nanoflann version: 1.5.5
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
-- GLM: Version 1.0.1
-- GLM: Build with C++ features auto detection
-- Found CUDAToolkit: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.7/include (found version "11.7.99")
-- ** Updated TORCH_CUDA_ARCH_LIST to 7.0 7.5 8.0 **
-- The CUDA compiler identification is NVIDIA 11.7.99
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.7/bin/nvcc.exe - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- Found Torch: C:/Users/tkbgp/Downloads/libtorch-win-cpu/libtorch/lib/torch.lib
-- Configuring done (69.0s)
-- Generating done (0.2s)
-- Build files have been written to: D:/CODING/opensplat/OpenSplat/build
make: *** No targets specified and no makefile found.  Stop.

Also tried to open the resulted project in VisualStudio 2022 and build Release x64 but face another error. Is there any solution for this issue? Thanks

@pierotofy
Copy link
Owner

Instructions for building on Windows: https://github.com/pierotofy/OpenSplat?tab=readme-ov-file#windows

@febrifahmi
Copy link
Author

Instructions for building on Windows: https://github.com/pierotofy/OpenSplat?tab=readme-ov-file#windows

Tried this but still no luck.. the only difference is that the CUDA version (mine is v11.7).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants