PDA

View Full Version : GLFW/glfw3.h error in dev c++



FlamingBurrito15
01-24-2018, 03:21 PM
Hello I have no idea where to post this so I am going to post it here since it fits... kind of... So I seen someone was trying to install GLFW\glfw3.h for dev c++ and so someone linked them to a devpak download (for dev c++...) and so I assumed that it would have GLFW\glfw3.h but it did not the only one that was close to it (and was the only include file) was GL\glfw.h so my question would be is GLFW\glfw3.h the same as GL\glfw.h? if it is not then would you know where I can download this GLFW\glfw3.h file/devpak for dev c++?

Thanks in Advance :)

Dark Photon
01-24-2018, 06:02 PM
http://www.glfw.org/

which links to:

https://github.com/glfw/glfw/releases/download/3.2.1/glfw-3.2.1.zip

FlamingBurrito15
01-24-2018, 07:16 PM
http://www.glfw.org/

which links to:

https://github.com/glfw/glfw/releases/download/3.2.1/glfw-3.2.1.zip

Thanks I just have to put the files in the correct places and I should be good! :)

FlamingBurrito15
01-24-2018, 07:42 PM
So I added the include folder and i get these two errors:
"18 C:\crossdev\src\mingw-w64-v3-git\mingw-w64-crt\crt\crt0_c.c undefined reference to `WinMain'"
"C:\Users\flami\Desktop\KEEP\Codes\CPP\Test Files\collect2.exe [Error] ld returned 1 exit status"

And I have no idea on how to fix it... Any suggestions?

FlamingBurrito15
01-25-2018, 12:05 PM
So I added the include folder and i get these two errors:
"18 C:\crossdev\src\mingw-w64-v3-git\mingw-w64-crt\crt\crt0_c.c undefined reference to `WinMain'"
"C:\Users\flami\Desktop\KEEP\Codes\CPP\Test Files\collect2.exe [Error] ld returned 1 exit status"

And I have no idea on how to fix it... Any suggestions?

I forgot int main... :doh: