-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hi,
I am trying to use CMake to create a project on windows 10, visual studio 2014 64 bit, but I got an linking error. The error is shown as follows
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol "void __cdecl ICP::initSimulation(class std::vector<struct glm::tvec4<float,0>,class std::allocator<struct glm::tvec4<float,0> > >,class std::vector<struct glm::tvec4<float,0>,class std::allocator<struct glm::tvec4<float,0> > >)" (?initSimulation@ICP@@yaxv?$vector@U?$tvec4@M$0A@@glm@@v?$allocator@U?$tvec4@M$0A@@glm@@@std@@@std@@0@Z) referenced in function "bool __cdecl init(int,char * *)" (?init@@YA_NHPEAPEAD@Z) cis565_ICP
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol "void __cdecl ICP::endSimulation(void)" (?endSimulation@ICP@@yaxxz) referenced in function main cis565_ICP
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol "void __cdecl ICP::stepGPU(void)" (?stepGPU@ICP@@yaxxz) referenced in function "void __cdecl runCUDA(void)" (?runCUDA@@yaxxz) cis565_ICP
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol "void __cdecl ICP::copyPointsToVBO(float *,float *)" (?copyPointsToVBO@ICP@@YAXPEAM0@Z) referenced in function "void __cdecl runCUDA(void)" (?runCUDA@@yaxxz) cis565_ICP
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol "void __cdecl ICP::unitTest(void)" (?unitTest@ICP@@yaxxz) referenced in function "bool __cdecl init(int,char * *)" (?init@@YA_NHPEAPEAD@Z)
Are there any solution for this error. I am not familiar to GPU coding, so i do not know how to fix error. Any body can help me solve it.
Thank you.