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

Author Topic: Cant Compile SFML Program on codeblocks  (Read 1947 times)

0 Members and 1 Guest are viewing this topic.

burningprodigy

  • Newbie
  • *
  • Posts: 4
    • View Profile
Cant Compile SFML Program on codeblocks
« on: April 03, 2011, 04:55:31 am »
hello, i have linked all the libraries and completely set up everything. Everything else works fine but when i add a sprite to my program an error occurs:
multiple definitions of rf::Sprite

followed by 27 more errors of the same kind.

OniLinkPlus

  • Hero Member
  • *****
  • Posts: 500
    • View Profile
Cant Compile SFML Program on codeblocks
« Reply #1 on: April 03, 2011, 09:59:09 pm »
Can we see some minimal and complete code which shows this problem? You probably did something weird with the includes.
I use the latest build of SFML2

 

anything