I'm trying to compile and link my c++ GLFW3 program with g++, this is a simple test program i wrote:
#include <GLFW/glfw3.h>
#include <iostream>
int main()
{
if (!glfwInit())
std::cout << "glfwInit(); // ERROR" << std::endl;
return 0;
}
I'm using this command on ubuntu 14.04: g++ src/main.cpp -lglfw3
,
and it gives me the following extremely long list of errors: http://pastebin.com/p58k3x41