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

Build with VTK #55

Open
qualia0000 opened this issue Jan 30, 2019 · 0 comments
Open

Build with VTK #55

qualia0000 opened this issue Jan 30, 2019 · 0 comments

Comments

@qualia0000
Copy link

Hello. When I am building this with cmake, it reports errors all related to VTK library link.
"D:\sources\caffe-builder\build_v140_x64\ALL_BUILD.vcxproj" (default target) (1) -> "D:\sources\caffe-builder\build_v140_x64\packages\opencv\opencv_debug.vcxproj" (default target) (30) -> types.obj : error LNK2019: unresolved external symbol "public: static class vtkOBJReader * __cdecl vtkOBJReader::New(void)" (?New@vtkOBJReader@@SAPEAV1@XZ) referenced in function "public: static class vtkSmartPoin ter<class vtkOBJReader> __cdecl vtkSmartPointer<class vtkOBJReader>::New(void)" (?New@?$vtkSmartPointer@VvtkOBJReader@@@@SA?AV1@XZ) [D:\sources\caffe-builder\build_v140_x64\packages\opencv\opencv_debug-prefix\src\op encv_debug-build\modules\viz\opencv_viz.vcxproj] [D:\sources\caffe-builder\build_v140_x64\packages\opencv\opencv_debug.vcxproj] vizcore.obj : error LNK2001: unresolved external symbol "public: static class vtkOBJReader * __cdecl vtkOBJReader::New(void)" (?New@vtkOBJReader@@SAPEAV1@XZ) [D:\sources\caffe-builder\build_v140_x64\packages\openc v\opencv_debug-prefix\src\opencv_debug-build\modules\viz\opencv_viz.vcxproj] [D:\sources\caffe-builder\build_v140_x64\packages\opencv\opencv_debug.vcxproj] vizcore.obj : error LNK2019: unresolved external symbol "public: static class vtkSTLReader * __cdecl vtkSTLReader::New(void)" (?New@vtkSTLReader@@SAPEAV1@XZ) referenced in function "public: static class vtkSmartPo inter<class vtkSTLReader> __cdecl vtkSmartPointer<class vtkSTLReader>::New(void)" (?New@?$vtkSmartPointer@VvtkSTLReader@@@@SA?AV1@XZ) [D:\sources\caffe-builder\build_v140_x64\packages\opencv\opencv_debug-prefix\src\ opencv_debug-build\modules\viz\opencv_viz.vcxproj] [D:\sources\caffe-builder\build_v140_x64\packages\opencv\opencv_debug.vcxproj] D:\sources\caffe-builder\build_v140_x64\packages\opencv\opencv_debug-prefix\src\opencv_debug-build\bin\Debug\opencv_viz310d.dll : fatal error LNK1120: 2 unresolved externals [D:\sources\caffe-builder\build_v140_x6 4\packages\opencv\opencv_debug-prefix\src\opencv_debug-build\modules\viz\opencv_viz.vcxproj] [D:\sources\caffe-builder\build_v140_x64\packages\opencv\opencv_debug.vcxproj] types.obj : error LNK2019: unresolved external symbol "public: static class vtkOBJReader * __cdecl vtkOBJReader::New(void)" (?New@vtkOBJReader@@SAPEAV1@XZ) referenced in function "public: static class vtkSmartPoin ter<class vtkOBJReader> __cdecl vtkSmartPointer<class vtkOBJReader>::New(void)" (?New@?$vtkSmartPointer@VvtkOBJReader@@@@SA?AV1@XZ) [D:\sources\caffe-builder\build_v140_x64\packages\opencv\opencv_debug-prefix\src\op encv_debug-build\modules\viz\opencv_viz.vcxproj] [D:\sources\caffe-builder\build_v140_x64\packages\opencv\opencv_debug.vcxproj] vizcore.obj : error LNK2001: unresolved external symbol "public: static class vtkOBJReader * __cdecl vtkOBJReader::New(void)" (?New@vtkOBJReader@@SAPEAV1@XZ) [D:\sources\caffe-builder\build_v140_x64\packages\openc v\opencv_debug-prefix\src\opencv_debug-build\modules\viz\opencv_viz.vcxproj] [D:\sources\caffe-builder\build_v140_x64\packages\opencv\opencv_debug.vcxproj] vizcore.obj : error LNK2019: unresolved external symbol "public: static class vtkSTLReader * __cdecl vtkSTLReader::New(void)" (?New@vtkSTLReader@@SAPEAV1@XZ) referenced in function "public: static class vtkSmartPo inter<class vtkSTLReader> __cdecl vtkSmartPointer<class vtkSTLReader>::New(void)" (?New@?$vtkSmartPointer@VvtkSTLReader@@@@SA?AV1@XZ) [D:\sources\caffe-builder\build_v140_x64\packages\opencv\opencv_debug-prefix\src\ opencv_debug-build\modules\viz\opencv_viz.vcxproj] [D:\sources\caffe-builder\build_v140_x64\packages\opencv\opencv_debug.vcxproj] D:\sources\caffe-builder\build_v140_x64\packages\opencv\opencv_debug-prefix\src\opencv_debug-build\bin\Debug\opencv_viz310d.dll : fatal error LNK1120: 2 unresolved externals [D:\sources\caffe-builder\build_v140_x6 4\packages\opencv\opencv_debug-prefix\src\opencv_debug-build\modules\viz\opencv_viz.vcxproj] [D:\sources\caffe-builder\build_v140_x64\packages\opencv\opencv_debug.vcxproj]
Is there any solutions to this problem?
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