VS Code中的构建失败

时间:2019-03-23 20:11:00

标签: visual-studio-code compilation flatpak

我是Debian(Buster)下的Visual Studio Code(1.32.0)的新手,我尝试做一些SFML项目。 因此,我将所需的所有内容添加到了我的makefile中。

当我在外部终端中运行我的make run时,没问题,但是当我在vscode提供的shell中运行它时,我得到此错误:

> Executing task: make run <

rm bin/*
rm: cannot remove 'bin/*': No such file or directory
make: [Makefile:22: clean] Error 1 (ignored)
g++ -Wall -Wextra -std=c++17 -ggdb src/*.cpp -I/usr/include -L/usr/lib/x86_64-linux-gnu  -o bin/main -lsfml-window -lsfml-graphics -lsfml-network -lsfml-system
src/main.cpp:2:29: fatal error: SFML/Graphics.hpp: No such file or directory
 #include "SFML/Graphics.hpp"
                             ^
compilation terminated.
make: *** [Makefile:19: bin/main] Error 1
The terminal process terminated with exit code: 2

当我通过Flatpak安装VS Code(OSS)时,问题可能出在那吗?

0 个答案:

没有答案