This is in a Windows Console application, so I have no idea how this is happening at all.
#include "Library.h"
//poglathon.cpp
//starting region
bool Poglathon(std::vector<std::string>& text,Player *player){
using namespace std;
cout << "You see a town to one side and a path leading to a dark, murky forest in the other side." << endl;
int chosen = player->giveOptions(2,"Town","Path","","","");
return true;
}
error LNK2019: unresolved external symbol "bool __cdecl Poglathon(class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > &,class Player)" (?Poglathon@@YA_NAAV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@VPlayer@@@Z) referenced in function _mainPoglathonis the symbol. Please provide the definition, the declaration and the call statement of Poglathon.Poglathon(vec, 0); // bang, you're deadCheck for null (a valid pointer value!) or use a reference.