Ok, jetzt klappts
lag daran dass ich anscheinend wie du gemeint hast des %(AdditionalDependencies) gelöscht hab
Jetzt habe ich grad nur des Problem, dass sich bei mir iwie sofort das glfw-fenster aufhängt. Ich habe eigentlich nur folgenden Code benutzt:
|
C-/C++-Quelltext
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#include <GL/glfw3.h>
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, "Test", NULL, NULL);
if (!window) return -1;
/* Loop until the user closes the window */
while (!glfwWindowShouldClose(window))
{
/* Render here */
/* Swap front and back buffers and process events */
glfwSwapBuffers(window);
glfwPollEvents();
}
glfwDestroyWindow(window);
glfwTerminate();
return 0;
}
|
Fehlt da noch was im Quelltext, oder ligt der Fehler diesmal an dem glfw3?
Edit: Hab grad gesehn, dass ich des
glfwMakeContextCurrent(window); vergessen hab. Jetzt funtioniert alles
Danke nochmal an euch für eure Hilfe. Hoffentlich komm ich jetzt erstmal alleine zurecht