Lab10 Ex1 warnings
Opened this issue · 0 comments
Robadob commented
Not the most urgent fix, this lab hasn't been used since the module was simplified during Corona lockdown.
Both the lab src and sln are affected, will need to check the lab sheet too.
Deprecated cudaGLSetGLDevice()
Undefined glutLeaveMainLoop()
1>------ Rebuild All started: Project: Lab10_Exercise01, Configuration: Debug x64 ------
1>Compiling CUDA source file Exercise01.cu...
1>
1>U:\COMCUDA_labs\Lab10_Exercise01>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\bin\nvcc.exe" -gencode=arch=compute_52,code=\"sm_52,compute_52\" -gencode=arch=compute_61,code=\"sm_61,compute_61\" --use-local-env -ccbin "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\HostX64\x64" -x cu -I../include -I..\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\include" -G --keep-dir x64\Debug -maxrregcount=0 --machine 64 --compile -cudart static -g -DWIN32 -DWIN64 -D_DEBUG -D_CONSOLE -D_MBCS -Xcompiler "/EHsc /W3 /nologo /Od /Fdx64\Debug\vc143.pdb /FS /Zi /RTC1 /MDd " -o U:\COMCUDA_labs\Lab10_Exercise01\x64\Debug\Exercise01.cu.obj "U:\COMCUDA_labs\Lab10_Exercise01\Exercise01.cu"
1>Exercise01.cu
1>U:\COMCUDA_labs\Lab10_Exercise01\Exercise01.cu(89): warning C4996: 'cudaGLSetGLDevice': was declared deprecated
1>Done building project "Lab10_Exercise01.vcxproj".
1>OpenGLInstanceViewer.c
1>U:\COMCUDA_labs\Lab10_Exercise01\OpenGLInstanceViewer.c(318,3): warning C4013: 'glutLeaveMainLoop' undefined; assuming extern returning int
1>Lab10_Exercise01.vcxproj -> U:\COMCUDA_labs\x64\Debug\Lab10_Exercise01.exe
1>copy "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\bin\cudart*.dll" "U:\COMCUDA_labs\x64\Debug\"
1>C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\bin\cudart32_110.dll
1>C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\bin\cudart64_110.dll
1> 2 file(s) copied.
1>Done building project "Lab10_Exercise01.vcxproj".
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========