运行此命令:
g++ /workspace/2016FallCSE2022/Week15/glfw_examples/CarDriving2D/main.cpp -lGL -lglut -lGLEW -I/path/to/glm/headers
导致此错误:
In file included from /workspace/2016FallCSE2022/Week15/glfw_examples/CarDriving2D/GLSquare.h:9,
from /workspace/2016FallCSE2022/Week15/glfw_examples/CarDriving2D/CarDrivingGame.h:10,
from /workspace/2016FallCSE2022/Week15/glfw_examples/CarDriving2D/main.cpp:19:
/workspace/2016FallCSE2022/Week15/glfw_examples/CarDriving2D/Box2D.h:9:9: fatal error: glm\glm.hpp: No such file or directory
9 | #include<glm\glm.hpp>
| ^~~~~~~~~~~~~
compilation terminated.
什么是错误,我该如何解决?