I am creating a text compression using huffman algorithm . In this I want to create a Huffman Tree , CreateHMNode accept two nodes and create a node with sum of frequency of others .
but it shows this error ,please help me to solve
LNK2019 unresolved external symbol "public: __cdecl HMnode::HMnode(void)" (??0HMnode@@QEAA@XZ) referenced in function "public: void __cdecl HMtree::build_tree(class HMnode *,class HMnode *)" (?build_tree@HMtree@@QEAAXPEAVHMnode@@0@Z)
void  build_tree(HMnode* temp3, HMnode* temp13)
{
    HMnode* head1;
    HMnode* newnode = new HMnode;
    newnode = createHMNode(temp3, temp13);
    head1 = newnode;
    HMnode* mytemp = calldeque();
    createHMNode(newnode, mytemp);
}
 
    