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

Author Topic: Can't Use sf::Strings.  (Read 9045 times)

0 Members and 1 Guest are viewing this topic.

Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
Can't Use sf::Strings.
« Reply #15 on: October 13, 2009, 01:48:54 pm »
Second parameter of constructor takes a reference to a font:
http://www.sfml-dev.org/documentation/1.5/classsf_1_1String.htm#30f985ba0047a5fbe7f9aca68083212c

Regarding to static linkage: Throw away "SFML_DYNAMIC" from your preprocessor defines and link to the SFML libraries ending with -s.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Can't Use sf::Strings.
« Reply #16 on: October 13, 2009, 06:14:14 pm »
Quote from: "racumin"
How do I provide my own sf::Font when instanciating a String?
That's described in the tutorials. Read them!
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

 

anything