Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 30 Jan 2010
Offline Last Active Today, 09:06 AM

Posts I've Made

In Topic: Linker errors Eugh!

13 October 2015 - 12:37 PM

 if dealing with library linkage already gives you so much trouble.



I think this is a total lack of experience and blindly throwing myself into something I no one to talk to about or any where I can learn this stuff (or at least that's my perception at this time).

In Topic: Linker errors Eugh!

11 October 2015 - 03:56 AM

Do I need GLEW or can I just use SDL2 and run all input and sound through that? What's the difference between them as I'm not really sure why I'm wasting my time and sanity trying to get GLEW working.


Does anyone have any experience with them?

In Topic: Linker errors Eugh!

10 October 2015 - 08:06 AM

One more issue is that if you use the pre-compiled files then they might be for a different version of windows and still cause errors. 



glewGetErrorString@4 could not be located

In Topic: Linker errors Eugh!

10 October 2015 - 07:31 AM

AH HA found out why!


This dude -link below- explains in his video that the GLEW files are precompiled for visual studio and not minGW so that's why they won't work:


He gives links to pre-compiled files -link below- for minGW so you can get it running, how frustrating!


In Topic: Linker errors Eugh!

10 October 2015 - 07:29 AM


I've even tried copying the .dll into the folder to bypass and when I put -lglew32 in the linker section it just dies. It's very frustrating:

This raises an immediate alarm. The DLL is completely irrelevant at link time, what you need to care about is the corresponding .lib file (or .a file, depending on which naming convention was followed during build).



Okay for this bit I have a folder in my project directory called 'lib' -minus quotes- and within it the two following files:




in my main.cpp i have the following include:

#include <GL/glew.h>


If I link these using and of the following compiler flags (in Project build options->Linker settings->Other linker options) I get: ld.exe||cannot find -lglew|