Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linking error when applying on Windows #1

Open
hungmiu opened this issue Jun 5, 2018 · 0 comments
Open

Linking error when applying on Windows #1

hungmiu opened this issue Jun 5, 2018 · 0 comments

Comments

@hungmiu
Copy link

hungmiu commented Jun 5, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant