NO

Author Topic: GLEW + GLFW3  (Read 2654 times)

msciej

  • Guest
GLEW + GLFW3
« 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
« Last Edit: January 03, 2016, 12:51:54 AM by msciej »

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
Re: GLEW + GLFW3
« Reply #1 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.
« Last Edit: January 04, 2016, 08:34:07 AM by TimoVJL »
May the source be with you

msciej

  • Guest
Re: GLEW + GLFW3
« Reply #2 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.

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
Re: GLEW + GLFW3
« Reply #3 on: January 07, 2016, 02:59:45 PM »
Start with this ;)
May the source be with you