31
General / Re: Graphics.hpp Link error
« on: January 09, 2018, 04:37:35 pm »
Your image says you've configured for the x64 Platform, are you building for x64, or x86/Win32?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
[This function is not intended for general use. It may be altered or unavailable in subsequent versions of Windows.]and
This function is typically called to maintain window z-ordering.That makes me think it might not do quite what the name says it would.
In file included from main.cpp:4:0:(The arguments in your constructor don't match up with the expected)
/usr/include/c++/7/thread: In instantiation of ‘struct std::thread::_Invoker<std::tuple<void (ClassWithThread::*)(sf::RenderWindow&), ClassWithThread*> >’:
/usr/include/c++/7/thread:127:22: required from ‘std::thread::thread(_Callable&&, _Args&& ...) [with _Callable = void (ClassWithThread::*)(sf::RenderWindow&); _Args = {ClassWithThread*}]’
main.cpp:11:41: required from here
/usr/include/c++/7/thread:240:2: error: no matching function for call to ‘std::thread::_Invoker<std::tuple<void (ClassWithThread::*)(sf::RenderWindow&), ClassWithThread*> >::_M_invoke(std::thread::_Invoker<std::tuple<void (ClassWithThread::*)(sf::RenderWindow&), ClassWithThread*> >::_Indices)’
operator()()
^~~~~~~