Author Topic: What's the best simple graphics library for C++?  (Read 16069 times)

fiorel

  • Newcomer
  • Posts: 11
  • Karma: +0/-0
    • View Profile
    • Darkfire RPG
Re: What's the best simple graphics library for C++?
« Reply #15 on: August 18, 2013, 01:52:18 PM »
I recently dumped SDL, because it was so complicated to build an executable that would run on different versions of windows. You need lots of extra libraryies to do simple things like loading a jpeg or png file. With all those libraries come the linking nightmares.

I wonder if SDL 2 will be any easier to use...
My retro-style indie RPG:
http://darkfire-rpg.com

NON

  • Rogueliker
  • ***
  • Posts: 349
  • Karma: +0/-0
    • View Profile
    • Infra Arcana
    • Email
Re: What's the best simple graphics library for C++?
« Reply #16 on: August 18, 2013, 04:43:09 PM »
I recently dumped SDL, because it was so complicated to build an executable that would run on different versions of windows. You need lots of extra libraryies to do simple things like loading a jpeg or png file. With all those libraries come the linking nightmares.
Huh, funny. I just went back to SDL because it supports many different operating systems so well, and tends to work really smooth and problem free. And adding another library for extended functionality is no more trouble than setting up the main SDL.
Happy is the tomb where no wizard hath lain and happy the town at night whose wizards are all ashes.

TheCreator

  • Rogueliker
  • ***
  • Posts: 370
  • Karma: +0/-0
    • View Profile
    • Fame
    • Email
Re: What's the best simple graphics library for C++?
« Reply #17 on: August 19, 2013, 05:53:16 AM »
I recently dumped SDL, because it was so complicated to build an executable that would run on different versions of windows. You need lots of extra libraryies to do simple things like loading a jpeg or png file. With all those libraries come the linking nightmares.

I wonder if SDL 2 will be any easier to use...

If I were you, I wouldn't worry about linking problems when choosing graphics framework. You will face them anyway, using external libraries or not. And you will face them many times since they are a common problem in C++. No library will save you from them. Better learn how to deal with common problems now so you are prepared for future.

Or write in Java.

OK, the last one was a joke, of course ;).
Fame (Untitled) - my game. Everything is a roguelike.