App42API.cpp
SessionService * App42API::BuildSessionService()
{
SessionService *sessionService = SessionService::Initialize(apiKey, secretKey);
return sessionService;
}
undefined reference to 'SessionService::Initialize(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)'
TestSessionService.cpp
void TestSessionService::getSession(Ref* sender)
{
SessionService *sessionService = App42API::BuildSessionService();
const char* userName = "Nick19811";
sessionService->GetSession(userName, app42callback(TestSessionService::onSessionServiceRequestCompleted, this));
}
undefined reference to 'SessionService::GetSession(char const*, std::__1::function<void (void*)> const&)'
and the rest of SessionService methos are undefined..
I just copied the sample, but I'm getting these errors. how to solve?