小编Nao*_*dar的帖子

无法安装 libsdl2-dev 或 cmake glfw ..(libxinerama-dev 问题)

所以我打算在切换到Ubuntu后继续学习Opengl,我尝试了这个解释来编译glfw并使用它,但我得到了这个:

-- Using X11 for window creation
-- Using GLX for context creation
CMake Error at CMakeLists.txt:268 (message):
  The Xinerama library and headers were not found


-- Configuring incomplete, errors occurred!
Run Code Online (Sandbox Code Playgroud)

这是CMakeError.log,这是CMakeOutput.log

好的,在 glfw 失败后,我转到了 libsdl2:

sudo apt-get install libsdl2-dev
Run Code Online (Sandbox Code Playgroud)

结果(令人震惊..):

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been …
Run Code Online (Sandbox Code Playgroud)

apt dependencies

5
推荐指数
1
解决办法
6493
查看次数

标签 统计

apt ×1

dependencies ×1