我是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)时,问题可能出在那吗?