Top.Mail.Ru
Ответы

OpenGL GLFW - Ссылка на неразрешенный внешний символ - Visual Studio 2013

Как решить эту проблему? уже который раз не получается запустить программу а код элементарный

#include

int main(void)
{
GLFWwindow* window;

/* Initialize the library */
if (!glfwInit())
return -1;

/* Create a windowed mode window and its OpenGL context */
window = glfwCreateWindow(640, 480, "Hello World", NULL, NULL);
if (!window)
{
glfwTerminate();
return -1;
}

/* Make the window's context current */
glfwMakeContextCurrent(window);

/* Loop until the user closes the window */
while (!glfwWindowShouldClose(window))
{
/* Render here */

/* Swap front and back buffers */
glfwSwapBuffers(window);

/* Poll for and process events */
glfwPollEvents();
}

glfwTerminate();
return 0;
}

Что я не так делаю?
Объясните подробно как решить это

По дате
По рейтингу
Аватар пользователя
Просветленный
9лет

Неразрешенный символ - значит вы забыли какую-нибудь библиотеку включить.