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

Author Topic: Can you integrate allegro into an sfml window?  (Read 4120 times)

0 Members and 1 Guest are viewing this topic.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: Can you integrate allegro into an sfml window?
« Reply #15 on: May 24, 2024, 08:25:35 am »
Those are OpenGL functions, you'll also have to link OpenGL.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Me-Myself-And-I

  • Jr. Member
  • **
  • Posts: 93
    • View Profile
Re: Can you integrate allegro into an sfml window?
« Reply #16 on: May 25, 2024, 06:53:59 pm »
I can't find out how to link opengl32.lib. I can't locate that file.

fallahn

  • Hero Member
  • *****
  • Posts: 507
  • Buns.
    • View Profile
    • Trederia
Re: Can you integrate allegro into an sfml window?
« Reply #17 on: May 26, 2024, 11:43:02 am »
Based on your earlier post I assume you're using Dev C++ in which case check their FAQ: https://bloodshed.net/FAQ#9

Else if you're using CMake use the FindOpenGL command https://cmake.org/cmake/help/latest/module/FindOpenGL.html

Or in Visual Studio add "opengl32.lib" to the library list in the project properties and it'll find the file automatically.

Me-Myself-And-I

  • Jr. Member
  • **
  • Posts: 93
    • View Profile
Re: Can you integrate allegro into an sfml window?
« Reply #18 on: May 27, 2024, 08:25:22 pm »
Thankyou very much! It works fine! ;D

 

anything