Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Can anyone else help? "undefined reference to 'glClearColor@16'"  (Read 1903 times)

0 Members and 1 Guest are viewing this topic.

apollo11bb

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
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!

G.

  • Hero Member
  • *****
  • Posts: 1593
    • View Profile
Re: Can anyone else help? "undefined reference to 'glClearColor@16'"
« Reply #1 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? Is it linked in the correct order like it's written in the official tutorial?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything