Original Post
I'm getting the error:
1>main.obj : error LNK2019: unresolved external symbol "class City __cdecl Ice_Palace_City(void)" (?Ice_Palace_City@@YA?AVCity@@XZ) referenced in function _main
I cannot figure out why this is occurring.... I made the City.h file and setup all my prototypes, then made the City.cpp file to declare everything, now when I use the class I get this error.
Any reason why this is happening?
I have #include "City.h" in my main.cpp file, and City.cpp file.
What can I do to fix this? Only thing that changed since my last successful build was adding this class.
1>main.obj : error LNK2019: unresolved external symbol "class City __cdecl Ice_Palace_City(void)" (?Ice_Palace_City@@YA?AVCity@@XZ) referenced in function _main
I cannot figure out why this is occurring.... I made the City.h file and setup all my prototypes, then made the City.cpp file to declare everything, now when I use the class I get this error.
Any reason why this is happening?
I have #include "City.h" in my main.cpp file, and City.cpp file.
What can I do to fix this? Only thing that changed since my last successful build was adding this class.