I’m trying to implement the play_sound into my own visual studio project. I couldn’t get it to work, so I copied the code directly from the example into my project. Setup the include directories. However I get the following errors, when trying to build the project.
1>main.obj : error LNK2019: unresolved external symbol “void __cdecl Common_Fatal(char const *,…)” (?Common_Fatal@@YAXPEBDZZ) referenced in function SDL_main
1>main.obj : error LNK2019: unresolved external symbol “void __cdecl ERRCHECK_fn(enum FMOD_RESULT,char const *,int)” (?ERRCHECK_fn@@YAXW4FMOD_RESULT@@PEBDH@Z) referenced in function SDL_main
1>main.obj : error LNK2019: unresolved external symbol “void __cdecl Common_Init(void * *)” (?Common_Init@@YAXPEAPEAX@Z) referenced in function SDL_main
1>main.obj : error LNK2019: unresolved external symbol “void __cdecl Common_Update(void)” (?Common_Update@@YAXXZ) referenced in function SDL_main
1>main.obj : error LNK2019: unresolved external symbol “void __cdecl Common_Exit(int)” (?Common_Exit@@YAXH@Z) referenced in function SDL_main
1>main.obj : error LNK2019: unresolved external symbol “bool __cdecl Common_BtnPress(enum Common_Button)” (?Common_BtnPress@@YA_NW4Common_Button@@@Z) referenced in function SDL_main
Any ideas why this is happening?