Skip to content

: Could not set up the environment for Microsoft Visual Studio using 'C:/Program Files (x86)/Microsoft V isual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/../../../../../../../VC/Auxiliary/Build/vcvars6 4.bat' #709

Open
@SHPEYOLO

Description

@SHPEYOLO

I have a problem. I want to know the solution.

nvcc fatal : Could not set up the environment for Microsoft Visual Studio using 'C:/Program Files (x86)/Microsoft V
isual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/../../../../../../../VC/Auxiliary/Build/vcvars6
4.bat'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\BuildCustomizations\CUDA 11.6.t
argets(879,9): error MSB3721: 命令“"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\bin\nvcc.exe" -dlink -o ngp.
dir\RelWithDebInfo\ngp.device-link.obj -Xcompiler "/EHsc /W1 /nologo /O2 /FdF:\Tutorial\ngp\instant-ngp\build\RelWithDe
bInfo\ngp.pdb /Zi /MD /GR" -L"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\bin/crt" -L"C:\Program Files\NV
IDIA GPU Computing Toolkit\CUDA\v11.6\lib\x64" opengl32.lib dependencies\glfw\src\glfw_objects.dir\RelWithDebInfo\conte
xt.obj dependencies\glfw\src\glfw_objects.dir\RelWithDebInfo\init.obj dependencies\glfw\src\glfw_objects.dir\RelWithDeb
Info\input.obj dependencies\glfw\src\glfw_objects.dir\RelWithDebInfo\monitor.obj dependencies\glfw\src\glfw_objects.dir
\RelWithDebInfo\vulkan.obj dependencies\glfw\src\glfw_objects.dir\RelWithDebInfo\window.obj dependencies\glfw\src\glfw_
objects.dir\RelWithDebInfo\win32_init.obj dependencies\glfw\src\glfw_objects.dir\RelWithDebInfo\win32_joystick.obj depe
ndencies\glfw\src\glfw_objects.dir\RelWithDebInfo\win32_monitor.obj dependencies\glfw\src\glfw_objects.dir\RelWithDebIn
fo\win32_time.obj dependencies\glfw\src\glfw_objects.dir\RelWithDebInfo\win32_thread.obj dependencies\glfw\src\glfw_obj
ects.dir\RelWithDebInfo\win32_window.obj dependencies\glfw\src\glfw_objects.dir\RelWithDebInfo\wgl_context.obj dependen
cies\glfw\src\glfw_objects.dir\RelWithDebInfo\egl_context.obj dependencies\glfw\src\glfw_objects.dir\RelWithDebInfo\osm
esa_context.obj dependencies\glfw\src\glfw_objects.dir\RelWithDebInfo\glfw.res "dependencies\tiny-cuda-nn\src\RelWithDe
bInfo\tiny-cuda-nn.lib" cuda.lib cublas.lib cudadevrt.lib cudart.lib kernel32.lib user32.lib gdi32.lib winspool.lib com
dlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib -forward-unknown-to-host-com
piler -Wno-deprecated-gpu-targets -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 --mach
ine 64 ngp.dir\RelWithDebInfo\camera_path.obj ngp.dir\RelWithDebInfo\common_device.obj ngp.dir\RelWithDebInfo\marching_
cubes.obj ngp.dir\RelWithDebInfo\nerf_loader.obj ngp.dir\RelWithDebInfo\render_buffer.obj ngp.dir\RelWithDebInfo\testbe
d.obj ngp.dir\RelWithDebInfo\testbed_image.obj ngp.dir\RelWithDebInfo\testbed_nerf.obj ngp.dir\RelWithDebInfo\testbed_s
df.obj ngp.dir\RelWithDebInfo\testbed_volume.obj ngp.dir\RelWithDebInfo\tinyexr_wrapper.obj ngp.dir\RelWithDebInfo\tria
ngle_bvh.obj”已退出,返回代码为 1。 [F:\Tutorial\ngp\instant-ngp\build\ngp.vcxproj]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions