4
我正在做一个需要我使用SOIL的任务。我安装了它使用命令sudo apt-get install libsoil-dev
,但是当我尝试编译我的程序,我得到以下错误:不能在linux mint中使用SOIL
textureMain.cpp:19:18: fatal error: SOIL.h: No such file or directory
compilation terminated.
textureParams.cpp:17:18: fatal error: SOIL.h: No such file or directory
compilation terminated.
为什么我不能编译,即使我安装了土壤中的程序?
我不是把它放在我的/ usr/lib文件夹中,'find'变成空白。它位于哪里? – Ataraxia 2013-05-11 01:06:48
'-I'(include)选项用于'* .h'头文件,通常位于'/ usr/include /'下面, – 2013-05-11 08:06:09