SFML community forums

Help => General => Topic started by: apollo11bb on March 28, 2020, 04:09:02 am

Title: Can anyone else help? "undefined reference to 'glClearColor@16'"
Post by: apollo11bb on March 28, 2020, 04:09:02 am
I posted this before. Ive been trying to figure this out for about 2 days now... can anyone help?

I use codeblocks. Downloaded "GCC 5.1.0 TDM (SJLJ) - Code::Blocks - 32-bit"

followed every possible instruction from youtube and forums. SFML suggested linking OpenGL.
But according to SFML a computer running on windows doesn't need to download OpenGL.

I honestly have no idea where Im going wrong. Can anyone please help out?

thx in advance!
Title: Re: Can anyone else help? "undefined reference to 'glClearColor@16'"
Post by: G. on March 28, 2020, 05:38:53 am
WTF why would you double post?  ???

We don't know what you linked.
Did you link opengl32 like exploiter said and like it's written in the official tutorial (https://www.sfml-dev.org/tutorials/2.5/start-cb.php)? Is it linked in the correct order like it's written in the official tutorial (https://www.sfml-dev.org/tutorials/2.5/start-cb.php)?
Title: Re: Can anyone else help? "undefined reference to 'glClearColor@16'"
Post by: eXpl0it3r on March 28, 2020, 12:12:16 pm
Please don't double post https://en.sfml-dev.org/forums/index.php?topic=27048.0