I'm trying to create an opengl window with c ++ but I encounter this error "cannot open file 'soil2-debug.lib'" (I added the folder to linker> general)
That's the code
#include "libs.h"
int main ()
{
glfwInit ();
const int WINDOW_WIDTH = 640;
const int WINDOW_HEIGHT = 480;
int FramebufferWidth = 0;
int FramebufferHeight = 0;
glfwWindowHint (GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
glfwWindowHint (GLFW_CONTEXT_VERSION_MAJOR, 4);
glfwWindowHint (GLFW_CONTEXT_VERSION_MINOR, 4);
glfwWindowHint (GLFW_RESIZABLE, GLFW_FALSE);
glfwWindowHint (GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
GLFWwindow * window = glfwCreateWindow (WINDOW_WIDTH, WINDOW_HEIGHT, "Yairk_bit", NULL, NULL);
glfwGetFramebufferSize (window, & FramebufferWidth, & FramebufferHeight);
glViewport (0, 0, FramebufferWidth, FramebufferHeight);
glfwMakeContextCurrent (window);
glewExperimental = GL_TRUE;
if (glewInit ()! = GLEW_OK)
{
std :: cout << "ERR :: main.cpp :: GlewInit Faild" << "\ n";
glfwTerminate ();
}
while (! glfwWindowShouldClose (window))
{
}
glfwTerminate ();
return 0;
}