Pelles C forum

C language => Beginner questions => Topic started by: msciej on January 03, 2016, 12:36:02 AM

Title: GLEW + GLFW3
Post by: msciej on January 03, 2016, 12:36:02 AM
Hi,

I have been using Pelles C for a few years and I like it a lot - it Works fine for winapi stuff.

Recently I decided to go through some opengl tutorials and the problem is I am not able to get the glew and glfw3 libs working with it. This could be either the pelles c settings or these libs should be recompiled for pelles c. Can someone please post his/her libs and header files (preferably also dlls)? Win 32bit
Title: Re: GLEW + GLFW3
Post by: TimoVJL on January 04, 2016, 08:23:12 AM
Look http://forum.pellesc.de/index.php?topic=5402.msg20740#msg20740

If you use dll's, it should be easy, see example.
Example is compiles as __cdecl.
Title: Re: GLEW + GLFW3
Post by: msciej on January 07, 2016, 08:51:19 AM
Thanks! I finally got a working template. Still had to play a little with glew but glfw3 works flawlessly. It's all I needed to start the tutorials. I am a bit curious, is there any chance for full static linking in Pelles C? I am perfectly fine with what I got, I am simply curious.
Title: Re: GLEW + GLFW3
Post by: TimoVJL on January 07, 2016, 02:59:45 PM
Start with this ;)