无法运行Git项目? QtCreator需要帮助

时间:2017-12-24 19:45:56

标签: c++ git visual-studio qt

您好,我正在尝试运行我找到的开源GitHub项目。

项目链接:https://github.com/mcisek/Neural_network_GAME

我无法在VS2013 / 2017中运行此功能,因为它会导致有关Qt GUI导入的错误。

我已尝试在QtCreator中运行此功能,但在尝试创建make文件时,我收到错误"无法运行编译器' g ++'。也许你忘了设置环境了?"

以下是visual studio错误:

Error   2   error C1083: Cannot open include file: 'QDebug': No such file or directory  c:\users\jd\desktop\neural_network_game-master\player.cpp   1   1   ConsoleApplication6
Error   5   error C1083: Cannot open include file: 'QFile': No such file or directory   c:\users\jd\desktop\neural_network_game-master\map.cpp  1   1   ConsoleApplication6
Error   9   error C1083: Cannot open include file: 'QGraphicsRectItem': No such file or directory   c:\users\jd\desktop\neural_network_game-master\enemy.h  4   1   ConsoleApplication6
Error   1   error C1083: Cannot open include file: 'QGraphicsScene': No such file or directory  c:\users\jd\desktop\neural_network_game-master\game.h   4   1   ConsoleApplication6
Error   4   error C1083: Cannot open include file: 'QGraphicsScene': No such file or directory  c:\users\jd\desktop\neural_network_game-master\game.h   4   1   ConsoleApplication6
Error   7   error C1083: Cannot open include file: 'QGraphicsScene': No such file or directory  c:\users\jd\desktop\neural_network_game-master\game.h   4   1   ConsoleApplication6
Error   8   error C1083: Cannot open include file: 'QGraphicsView': No such file or directory   c:\users\jd\desktop\neural_network_game-master\game.cpp 1   1   ConsoleApplication6
Error   3   error C1083: Cannot open include file: 'QKeyEvent': No such file or directory   c:\users\jd\desktop\neural_network_game-master\object.cpp   1   1   ConsoleApplication6
Error   6   error C1083: Cannot open include file: 'QQApplication': No such file or directory   c:\users\jd\desktop\neural_network_game-master\main.cpp 1   1   ConsoleApplication6
Error   10  error C1083: Cannot open include file: 'QTimer': No such file or directory  c:\users\jd\desktop\neural_network_game-master\bullet.cpp   1   1   ConsoleApplication6

如何编译和运行此项目?!

0 个答案:

没有答案