Okay I am trying to make a thread in c++ that runs the function storePose();
that function takes nine parameters as doubles. Every time I try to create the thread it complains about the parameters. I will post my code below. I have not a clue why this wont work. Thanks in advanced
CODE:
std::thread t(storePose,x_position, y_position, z_position, azimuth, att_pitch, att_roll, yaw, cam_pitch, cam_roll);
t.detach();
ERROR GIVEN:
12 IntelliSense: no instance of constructor "std::thread::thread" matches the argument list
argument types are: (<unknown-type>, double, double, double, double, double, double, double, double, double)
EDIT: Sorry I forgot to mention that I am using Visual Studio 2012