PDA

View Full Version : Installing glfw on Ubuntu 16.04



842Mono
10-22-2017, 06:51 AM
Hello!

I'm very new to opengl. I found this nice tutorial: https://www.youtube.com/watch?v=OR4fNpBjmq8

This video talks about how to install glfw on windows. He says what he's doing is going to be cross platform. I want to follow along in my Ubuntu 16.04 but I'm having trouble setting up my environment. I can't find a simple guide with simple steps. I don't know much about cmake nor clang. I know a little about g++.

Actually the main problem might be that I'm also very new to c++. I'm planning to give some time to c++ but I can't do that now. I have to work with opengl. Can someone give me a simple step by step guide for 16.04 of just what I need to install and how to compile?

I have an nvidia GTX770 card and I'm using nvidia drivers. What other information do I need to provide? Thx :D

842Mono
10-26-2017, 11:42 AM
bump

anyone? :dejection:

Dark Photon
10-26-2017, 04:12 PM
Just:


Run your package manager (LINK (https://help.ubuntu.com/lts/serverguide/package-management.html)),
Tag the packages for glfw development (probably libglfw3 and libglfw3-dev) (LINK (https://packages.ubuntu.com/search?keywords=glfw&searchon=names&suite=zesty&section=all)), and
Click OK to install them.

Now you're ready to compile and link programs which use GLFW.