Comments (17)
For whomever is encountering this problem:
Make sure you run a cmake in command line environment in which cl.exe can be found - if you have BuildTools installed, then Native Tools Command Prompt gives you this. Additionally, make sure to remove any previous cmake cache.
from instant-ngp.
For anyone who still has issues after getting cl.exe into your path etc - make sure you remove the "build" directory before running cmake again.
from instant-ngp.
Hey, still getting this same issue with a reinstall and trying Native Tools. not sure how to further troubleshoot.
Same here
I right clicked inside the folder where I needed to run the compiler and clicked show more options, and selected the option to open with Visual Studio. A folder called .vs was created run the command line and it worked
from instant-ngp.
What should the cl.exe path entry look like? What is the location of the "build" folder, should it have been created inside the "instant-ngp" repo folder?
In case it's a help, I had the same error, evidently because Cmake tried to run Visual Studio 2022's compiler by default. I removed the "build" directory in GitHub\instant-ngp (which gets rid of the cached compiler settings), then did this in the Developer Command Prompt (for VS 2022, which might have been the wrong one to use...):
cmake . -B build -G "Visual Studio 16 2019"
followed by the usual:
cmake --build build --config RelWithDebInfo -j 16
This worked for me.
Also, you'll find the Developer Command Prompt executable in "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Visual Studio 2019\Visual Studio Tools" (or 2022).
from instant-ngp.
Please look at #18
from instant-ngp.
Please look at #18
It's a different one. I've found the solution for CUDA toolkit, too
from instant-ngp.
This might help. mitsuba-renderer/mitsuba2#103 (comment)
from instant-ngp.
This might help. mitsuba-renderer/mitsuba2#103 (comment)
I have a different issue that this
from instant-ngp.
Got the same problem here, did you find a solution? I'm using MSVC 342 btw
from instant-ngp.
Got the same problem here, did you find a solution? I'm using MSVC 342 btw
Hummm I reinstalled vs2019 and it somehow works, I don't know why but maybe you can also have a try
from instant-ngp.
if you have BuildTools installed, then Native Tools Command Prompt gives you this. Additionally, make sure to remove any previous cmake cache.
Yes! This worked!
from instant-ngp.
Hey, still getting this same issue with a reinstall and trying Native Tools. not sure how to further troubleshoot.
from instant-ngp.
Hey, still getting this same issue with a reinstall and trying Native Tools. not sure how to further troubleshoot.
Same here
from instant-ngp.
@ciwolsey What should the cl.exe path entry look like? What is the location of the "build" folder, should it have been created inside the "instant-ngp" repo folder?
from instant-ngp.
What should the cl.exe path entry look like? What is the location of the "build" folder, should it have been created inside the "instant-ngp" repo folder?
In case it's a help, I had the same error, evidently because Cmake tried to run Visual Studio 2022's compiler by default. I removed the "build" directory in GitHub\instant-ngp (which gets rid of the cached compiler settings), then did this in the Developer Command Prompt (for VS 2022, which might have been the wrong one to use...):
cmake . -B build -G "Visual Studio 16 2019"
followed by the usual:
cmake --build build --config RelWithDebInfo -j 16
This worked for me.
Also, you'll find the Developer Command Prompt executable in "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Visual Studio 2019\Visual Studio Tools" (or 2022).
This worked for me! Thanks!
from instant-ngp.
What should the cl.exe path entry look like? What is the location of the "build" folder, should it have been created inside the "instant-ngp" repo folder?
In case it's a help, I had the same error, evidently because Cmake tried to run Visual Studio 2022's compiler by default. I removed the "build" directory in GitHub\instant-ngp (which gets rid of the cached compiler settings), then did this in the Developer Command Prompt (for VS 2022, which might have been the wrong one to use...):
cmake . -B build -G "Visual Studio 16 2019"
followed by the usual:
cmake --build build --config RelWithDebInfo -j 16
This worked for me.
Also, you'll find the Developer Command Prompt executable in "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Visual Studio 2019\Visual Studio Tools" (or 2022).
worked for me! Thanks!
from instant-ngp.
I had same error message, but none of the above helped me.
I used shared folder between linux and windows guest to store source tree. After I moved source to C:\ the problem went away. huh.
from instant-ngp.
Related Issues (20)
- error C2039: 'tolower': is not a member of 'std' HOT 1
- 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
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.