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

Author Topic: Buffers?  (Read 7462 times)

0 Members and 1 Guest are viewing this topic.

Zaid

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Buffers?
« Reply #15 on: July 12, 2012, 11:13:22 pm »
Quote
You have to #define SFML_STATIC.

...wat?  :-[

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Buffers?
« Reply #16 on: July 13, 2012, 12:45:14 am »
What wat? ???

Since you (for some reason) refuse to use normal project settings, you'll just have to define SFML_STATIC before you include any SFML headers, e.g.:
#define SFML_STATIC

#include <SFML/Graphics.hpp>
// ...

int main()
{
    sf::RenderWindow(sf::VideoMode(1024, 768), "Hello World");
    // ....
}
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/