OpenSplat
OpenSplat copied to clipboard
Build Failed on Ubuntu
Same error as #112
[100%] Linking CXX executable opensplat
/usr/bin/ld: CMakeFiles/opensplat.dir/opensplat.cpp.o: in function main': opensplat.cpp:(.text.startup+0x40f7): undefined reference to
cv::imwrite(std::string const&, cv::_InputArray const&, std::vector<int, std::allocatorcv::imwrite(std::string const&, cv::_InputArray const&, std::vector<int, std::allocator<int> > const&)' /usr/bin/ld: CMakeFiles/opensplat.dir/cv_utils.cpp.o: in function
imreadRGB(std::string const&)':
cv_utils.cpp:(.text+0x233): undefined reference to cv::imread(std::string const&, int)' /usr/bin/ld: CMakeFiles/opensplat.dir/cv_utils.cpp.o: in function
imwriteRGB(std::string const&, cv::Mat const&)':
cv_utils.cpp:(.text+0x35d): undefined reference to `cv::imwrite(std::string const&, cv::_InputArray const&, std::vector<int, std::allocator
Tried using libtorch 2.2.1 - didn't work
I'm using Ubuntu 24.04 and CPU only