Pretty new to C++ and even newer to Visual 2010 but basically I'm getting this linker error
Code:
error LNK2019: unresolved external symbol "public: int __thiscall wav::OpenReadEx(char *,int)" (?OpenReadEx@Cwav@@QAEHPADH@Z) referenced in function _wmain
and my test code is basic its like
Code:
#include "stdafx.h"
#include "wav.h"
wav g_wav;
int _tmain(int argc, _TCHAR* argv[])
{
int i;
i=3;
i = g_wav.OpenReadEx("Pink_Noise_Loop",1);
return 0;
}
So im thinking its just the makefile that can't link to the wav.h where the OpenReadEx function is being called from. Okay also in visual ive opened 2 projects one project is test2. and the second is sourceCode. and in the properities of C/C++ i put in the include the directory where the sourceCode is . And sourceCode holds wav.h and wav.cpp so iono why is still having this linker problem