fogleman / Craft

A simple Minecraft clone written in C using modern OpenGL (shaders).
http://www.michaelfogleman.com/craft/
MIT License
10.38k stars 1.39k forks source link

Build and install for Ubuntu #296

Closed PJ-Finlay closed 2 years ago

PJ-Finlay commented 2 years ago

Has anyone been able to successfully run Craft on Ubuntu/Linux? I've been trying to build and install Craft and have had a hard time getting the glfw library to work.

I've been able to compile Craft but get errors linking to glfw. According to this StackOverflow post installing glfw correctly on Linux isn't straightforware so it's possible I have glfw installed incorrectly.

249

This pull request helps debug glfw but with it I was still unable to correctly link to glfw.

PJ-Finlay commented 2 years ago

I was able to build on Linux, I think my primary issue was that I was trying to use a vnc virtual desktop.

Additionally, the pull request linked above does not help and I got compilation to work using the deps/ folder from this repo without changes.