Comments (1)
Ok, I've got the solution from GPT that I need to include manually inside the parser.cc:
#include <cctype>
But now I encounter this error:
C:\Users\user\Documents\StableDiffusion\PyTorch\pytorch>python setup.py install --cmake
Building wheel torch-2.3.0a0+gita17979f
-- Building version 2.3.0a0+gita17979f
cmake -GNinja -DBUILD_PYTHON=True -DBUILD_TEST=True -DCMAKE_BUILD_TYPE=Release -DCMAKE_GENERATOR=Ninja -DCMAKE_INCLUDE_PATH=C:\Users\user\Documents\StableDiffusion\PyTorch\mkl\include -DCMAKE_INSTALL_PREFIX=C:\Users\user\Documents\StableDiffusion\PyTorch\pytorch\torch -DCMAKE_PREFIX_PATH=C:\Users\user\AppData\Local\Programs\Python\Python38\Lib\site-packages -DNUMPY_INCLUDE_DIR=C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\numpy\core\include -DPYTHON_EXECUTABLE=C:\Users\user\AppData\Local\Programs\Python\Python38\python.exe -DPYTHON_INCLUDE_DIR=C:\Users\user\AppData\Local\Programs\Python\Python38\Include -DPYTHON_LIBRARY=C:\Users\user\AppData\Local\Programs\Python\Python38/libs/python38.lib -DTORCH_BUILD_VERSION=2.3.0a0+gita17979f -DUSE_NUMPY=True C:\Users\user\Documents\StableDiffusion\PyTorch\pytorch
-- The CXX compiler identification is MSVC 19.16.27051.0
-- The C compiler identification is MSVC 19.16.27051.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: C:/Users/user/AppData/Local/Programs/Python/Python38/Scripts/sccache.exe
-- Check for working CXX compiler: C:/Users/user/AppData/Local/Programs/Python/Python38/Scripts/sccache.exe - broken
CMake Error at C:/Program Files/CMake/share/cmake-3.29/Modules/CMakeTestCXXCompiler.cmake:60 (message):
The C++ compiler
"C:/Users/user/AppData/Local/Programs/Python/Python38/Scripts/sccache.exe"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: 'C:/Users/user/Documents/StableDiffusion/PyTorch/pytorch/build/CMakeFiles/CMakeScratch/TryCompile-468alj'
Run Build Command(s): C:/Users/user/AppData/Local/Programs/Python/Python38/Scripts/ninja.exe -v cmTC_310c8
[1/2] C:\Users\user\AppData\Local\Programs\Python\Python38\Scripts\sccache.exe cl /nologo /TP /DWIN32 /D_WINDOWS /GR /EHsc /Zi /Ob0 /Od /RTC1 -MDd /showIncludes /FoCMakeFiles\cmTC_310c8.dir\testCXXCompiler.cxx.obj /FdCMakeFiles\cmTC_310c8.dir\ /FS -c C:\Users\user\Documents\StableDiffusion\PyTorch\pytorch\build\CMakeFiles\CMakeScratch\TryCompile-468alj\testCXXCompiler.cxx
[2/2] C:\Windows\system32\cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_310c8.dir --rc=C:\PROGRA~2\WINDOW~4\10\bin\100162~1.0\x86\rc.exe --mt=C:\PROGRA~2\WINDOW~4\10\bin\100162~1.0\x86\mt.exe --manifests -- C:\PROGRA~2\MICROS~2\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx86\x86\link.exe /nologo CMakeFiles\cmTC_310c8.dir\testCXXCompiler.cxx.obj /out:cmTC_310c8.exe /implib:cmTC_310c8.lib /pdb:cmTC_310c8.pdb /version:0.0 /machine:X86 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
FAILED: cmTC_310c8.exe
C:\Windows\system32\cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_310c8.dir --rc=C:\PROGRA~2\WINDOW~4\10\bin\100162~1.0\x86\rc.exe --mt=C:\PROGRA~2\WINDOW~4\10\bin\100162~1.0\x86\mt.exe --manifests -- C:\PROGRA~2\MICROS~2\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx86\x86\link.exe /nologo CMakeFiles\cmTC_310c8.dir\testCXXCompiler.cxx.obj /out:cmTC_310c8.exe /implib:cmTC_310c8.lib /pdb:cmTC_310c8.pdb /version:0.0 /machine:X86 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
LINK Pass 1: command "C:\PROGRA~2\MICROS~2\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx86\x86\link.exe /nologo CMakeFiles\cmTC_310c8.dir\testCXXCompiler.cxx.obj /out:cmTC_310c8.exe /implib:cmTC_310c8.lib /pdb:cmTC_310c8.pdb /version:0.0 /machine:X86 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:CMakeFiles\cmTC_310c8.dir/intermediate.manifest CMakeFiles\cmTC_310c8.dir/manifest.res" failed (exit code 1104) with the following output:
LINK : fatal error LNK1104: cannot open file 'kernel32.lib'
ninja: build stopped: subcommand failed.
from instant-ngp.
Related Issues (20)
- Cannot render video out because [Unrecognized option 'preset']
- how to support other image type
- Adjustable camera positions and parameters in software.
- How to get a 3D model of the world size(real size)
- ambiguity in usage of testbed functionality after generating .ingp file
- how can I segment each component of the 3d cad file automatically or by SAM model
- Poor performance using custom dataset results HOT 1
- Mesh Not Rendering When Building From Source in Docker Container
- colmap2nerf.py FATAL: command failed
- RuntimeError: cutlass_matmul.h:330 status failed with error Error Internal
- WARNING Could not free memory arena: D:/a/instant-ngp/instant-ngp/dependencies/tiny-cuda-nn/includeltiny cuda
- Building instant-ngp on WSL
- Rotate world does not work when camera keyframes are placed
- Zero samples got into RuntimeError
- no testbed file generated in the instant-ngp folder HOT 1
- Error running with higher level, features per level (F, L)
- Stuck in the data loading process.
- Uncaught exception: cudaMallocArray() failed: invalid argument
- Could not free memory: cudaFree(rawptr) failed: an illegal memory access was encountered HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from instant-ngp.