Home › Forums › GAMES在线课程(现代计算机图形学入门)讨论区 › 作业5,windows下运行出问题 Tagged: windows+cmake+make+vscode+raytracing This topic has 3 replies, 3 voices, and was last updated 4 years, 6 months ago by kaq. Viewing 3 reply threads Author Posts 2020年3月30日 at 下午8:04 #4963 Score: 0 KeneyrParticipant Karma: 7 pts 大家有用windows系统运行程序的吗。我用的是mingw+cmake+vscode,同样的代码,在Ubuntu下可以正常运行,但是在win10下make的时候就会报错。 如果CMakeList.txt中的-fsanitize=undefined给去掉,make可以成功,但是exe报错 有没有大佬可以看看咋回事 Attachments:You must be logged in to view attached files. 2020年3月30日 at 下午9:43 #4970 Score: 0 米色猫猫Participant Karma: -1 pt 同问,我win10的vs,-fsanitize=undefined可以留下,但是前面的/W那些要扔掉一半,不知道会不会影响结果,Ubuntu还试不了 2020年3月31日 at 下午12:58 #4986 Score: 0 米色猫猫Participant Karma: -1 pt VS可以用,把提示错误的地方删掉就行 2020年6月5日 at 上午2:52 #6609 Score: 1 kaqParticipant Karma: 1 pt mingw+cmake+vscode: 把cmake后三行注释掉,就可以build了。不影响最后结果。 This post has received 1 vote up. This reply was modified 4 years, 6 months ago by kaq. Author Posts Viewing 3 reply threads You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In