error LNK2019: unresolved external symbol "public: __thiscall P_Model::P_Model(void)" (??0P_Model@@QAE@XZ) referenced in function "public: void __thiscall P_Model::Load_File(char *)" (?Load_File@P_Model@@QAEXPAD@Z)
i am actually trying to read information from the ply file
and this is the simple function i am using.
the function is pretty much ok i feel but dont know what this error is about
please help if possible
here is the function
void P_Model::Load_File(char* ascii_filepath)
{
P_Model P_Triangle;
P_Model vertex;
std::ifstream fin(ascii_filepath);
int num_elements;
int num_faces;
int color_red;
int color_green;
int color_blue;
int i;
int edge_index;
that link error basically amounts to "I don't know what or where P_Model is."
So, what is P_Model? Where is it defined? Is it some external sources that need to be included and compiled with your source code, or is it an external library that must be linked in?