Então eu continuaria aprendendo o Opengl depois de mudar para o Ubuntu,
Eu tentei esta explicação para compilar o glfw e usá-lo, mas eu tenho isso:
-- 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!
Este é o CMakeError.log e este é o CMakeOutput.log .
Ok, depois de falhar no glfw, mudei para a libsdl2:
sudo apt-get install libsdl2-dev
E o resultado (chocante ...):
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 moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libsdl2-dev : Depends: libxinerama-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
O que posso fazer?
Eu tentei isso:
sudo apt-get install libxinerama-dev
O resultado que obtenho é o seguinte:
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 moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libxinerama-dev : Depends: libxinerama1 (= 2:1.1.3-1) but 2:1.1.3-1+b1 is to be installed
E: Unable to correct problems, you have held broken packages.
Obrigado antecipadamente.