GLFW/glfw3.h error in dev c++

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 :slight_smile:

http://www.glfw.org/

which links to:

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

[QUOTE=Dark Photon;1290265]http://www.glfw.org/

which links to:

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

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

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?

[QUOTE=FlamingBurrito15;1290272]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?[/QUOTE]

I forgot int main… :doh:

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.