-
Notifications
You must be signed in to change notification settings - Fork 121
Description
The SIBR_viewers/install/bin has following files:
The only error I got while building was in the middle of the logs:
....
Creating library my_project_root/SIBR_viewers/install/lib/sibr_video.lib and object my_project_root/SIBR_viewers/install/lib/sibr_video.exp
FFmpegVideoEncoder.obj : error LNK2001: unresolved external symbol "public: virtual bool _cdecl cv::VideoCapture::open
(class std::basic_string<char,struct std::char_traits,class std::allocator > const &,int,class std::vector<
int,class std::allocator > const &)" (?open@VideoCapture@cv@@UEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@v?$al
locator@D@2@@std@@HAEBV?$vector@HV?$allocator@H@std@@@4@@z) [my_project_root\SIBR
viewers\build\src\core\video\sibr_video.vcxproj]
Video.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl cv::VideoCapture::open(class std::b
asic_string<char,struct std::char_traits,class std::allocator > const &,int,class std::vector<int,class std
::allocator > const &)" (?open@VideoCapture@cv@@UEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@
std@@HAEBV?$vector@HV?$allocator@H@std@@@4@@z) [my_project_root\SIBR_viewers\build
\src\core\video\sibr_video.vcxproj]
VideoUtils.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl cv::VideoCapture::open(class s
td::basic_string<char,struct std::char_traits,class std::allocator > const &,int,class std::vector<int,clas
s std::allocator > const &)" (?open@VideoCapture@cv@@UEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@v?$allocator@
D@2@@std@@HAEBV?$vector@HV?$allocator@H@std@@@4@@z) [my_project_root\SIBR_viewers
build\src\core\video\sibr_video.vcxproj]
FFmpegVideoEncoder.obj : error LNK2001: unresolved external symbol "public: virtual bool _cdecl cv::VideoCapture::open
(int,int,class std::vector<int,class std::allocator > const &)" (?open@VideoCapture@cv@@UEAA_NHHAEBV?$vector@HV?$a
llocator@H@std@@@std@@@z) [my_project_root\SIBR_viewers\build\src\core\video\sibr
video.vcxproj]
Video.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl cv::VideoCapture::open(int,int,clas
s std::vector<int,class std::allocator > const &)" (?open@VideoCapture@cv@@UEAA_NHHAEBV?$vector@HV?$allocator@H@st
d@@@std@@@z) [my_project_root\SIBR_viewers\build\src\core\video\sibr_video.vcxproj
]
VideoUtils.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl cv::VideoCapture::open(int,int
,class std::vector<int,class std::allocator > const &)" (?open@VideoCapture@cv@@UEAA_NHHAEBV?$vector@HV?$allocator
@h@std@@@std@@@z) [my_project_root\SIBR_viewers\build\src\core\video\sibr_video.vc
xproj]
my_project_root\SIBR_viewers\install\bin\sibr_video.dll : fatal error LNK1120: 2 u
nresolved externals [my_project_root\SIBR_viewers\build\src\core\video\sibr_video.
vcxproj]
....
The last lines from the logs are:
ProxyMesh.cpp
Creating library my_project_root/SIBR_viewers/install/lib/sibr_imgproc.lib an
d object my_project_root/SIBR_viewers/install/lib/sibr_imgproc.exp
sibr_imgproc.vcxproj -> my_project_root\SIBR_viewers\install\bin\sibr_imgproc.dl
l
RenderTargetTextures.cpp
Generating Code...
Creating library my_project_root/SIBR_viewers/install/lib/sibr_scene.lib and
object my_project_root/SIBR_viewers/install/lib/sibr_scene.exp
sibr_scene.vcxproj -> my_project_root\SIBR_viewers\install\bin\sibr_scene.dll
My configurations are:
Cmake 3.22.1
Visual studio 2019 Build Tools
CUDA Toolkit 12.1
I followed the exact steps shown in this repo. Opencv and ffmped were downloaded on own when building the viewer.