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

Author Topic: [SOLVED] Main Thread issue :S  (Read 3978 times)

0 Members and 1 Guest are viewing this topic.

strongdrink

  • Newbie
  • *
  • Posts: 43
    • View Profile
    • Email
[SOLVED] Main Thread issue :S
« on: June 20, 2011, 06:19:52 pm »
Hello all, I don't exactly know what this means.. but i just changed my program from sfml 1.6 to 2.0..

Code: [Select]

In file included from /usr/local/include/SFML/System/Thread.hpp:193:0,
                 from /usr/local/include/SFML/System.hpp:39,
                 from /usr/local/include/SFML/Window.hpp:32,
                 from /usr/local/include/SFML/Graphics.hpp:32,
                 from src/header.hpp:1,
                 from src/main.cpp:1:
/usr/local/include/SFML/System/Thread.inl: In member function ‘void sf::priv::ThreadFunctor<T>::Run() [with T = void (*)(void*)]’:
src/main.cpp:197:1:   instantiated from here
/usr/local/include/SFML/System/Thread.inl:39:25: error: too few arguments to function



thanks in advance

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
[SOLVED] Main Thread issue :S
« Reply #1 on: June 20, 2011, 06:22:47 pm »
A lot of things changed in SFML 2.0...

Read the online documentation ;)
Laurent Gomila - SFML developer

strongdrink

  • Newbie
  • *
  • Posts: 43
    • View Profile
    • Email
[SOLVED] Main Thread issue :S
« Reply #2 on: June 20, 2011, 09:09:18 pm »
k i got it all figured out :P