我正在尝试使用VS 2015编译this cuda application(如果尝试使用VS 2017编译,则会出现版本不兼容的错误)。它使用了tclap,我必须添加它作为一个附加include。
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol "void __cdecl kernel_wrapper(int,int,int,int,struct CompFab::VoxelGridStruct *,class std::vector<struct CompFab::TriangleStruct,class std::allocator<struct CompFab::TriangleStruct> >,bool)" (?kernel_wrapper@@YAXHHHHPAUVoxelGridStruct@CompFab@@V?$vector@UTriangleStruct@CompFab@@V?$allocator@UTriangleStruct@CompFab@@@std@@@std@@_N@Z) referenced in function _main Project1 c:\Users\Alex\documents\visual studio 2015\Projects\Project1\Project1\main.obj 1