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

Author Topic: Compiling Error  (Read 1552 times)

0 Members and 1 Guest are viewing this topic.

Harris6310

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Compiling Error
« on: September 04, 2013, 12:29:35 am »
Hello. I have recently installed 'libsfml-dev' on my Linux system. I have tried compiling a basic SFML application using the g++ compiler from command line. Yet I receive this error:

Quote
/usr/include/SFML/Window/OpenGL.hpp:47:23: fatal error: GL/gl.h: No such file or directory

What is it that I am doing wrong?


G.

  • Hero Member
  • *****
  • Posts: 1592
    • View Profile
Re: Compiling Error
« Reply #1 on: September 04, 2013, 12:59:03 am »
http://en.sfml-dev.org/forums/index.php?topic=7140.0
first link when googling your fatal error. ;)

Harris6310

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: Compiling Error
« Reply #2 on: September 11, 2013, 12:27:11 am »
Thank you for you help.

I have tried using SFML under Windows with Code::Blocks but when I try to compile, I get this error:

Quote
The procedure entry point __gxx_personality_v0 could not be located in the dynamic link library

What am I doing wrong now?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10829
    • View Profile
    • development blog
    • Email
AW: Compiling Error
« Reply #3 on: September 11, 2013, 12:32:09 am »
You're most probably using the wrong SFML package. Make sure the versions match.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Harris6310

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: Compiling Error
« Reply #4 on: September 11, 2013, 12:45:48 am »
I am using SFML 2.1 GCC 4.7 MinGW (DW2) - 32 bits.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10829
    • View Profile
    • development blog
    • Email
AW: Compiling Error
« Reply #5 on: September 11, 2013, 12:59:57 am »
And C::B's default compiler is SJLJ based, as stated everywhere including the official SFML tutorials. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Harris6310

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: Compiling Error
« Reply #6 on: September 11, 2013, 01:05:25 am »
Oh right. I went for the one with MinGW in the name. I have tried the other and it works. Thanks.