Home Forums GAMES在线课程(现代计算机图形学入门)讨论区 作业5,windows下运行出问题

Viewing 3 reply threads
  • Author
    Posts
    • #4963 Score: 0
      Keneyr
      Participant
      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.
    • #4970 Score: 0
      米色猫猫
      Participant
      -1 pt

      同问,我win10的vs,-fsanitize=undefined可以留下,但是前面的/W那些要扔掉一半,不知道会不会影响结果,Ubuntu还试不了

    • #4986 Score: 0
      米色猫猫
      Participant
      -1 pt

      VS可以用,把提示错误的地方删掉就行

    • #6609 Score: 1
      kaq
      Participant
      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.
Viewing 3 reply threads
  • You must be logged in to reply to this topic.