We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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::allocator > const&)' /usr/bin/ld: opensplat.cpp:(.text.startup+0x4cb5): undefined reference to cv::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 > const&)' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/opensplat.dir/build.make:349: opensplat] Error 1 make[1]: *** [CMakeFiles/Makefile2:212: CMakeFiles/opensplat.dir/all] Error 2 make: *** [Makefile:136: all] Error 2
main': opensplat.cpp:(.text.startup+0x40f7): undefined reference to
cv::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
cv::imread(std::string const&, int)' /usr/bin/ld: CMakeFiles/opensplat.dir/cv_utils.cpp.o: in function
Tried using libtorch 2.2.1 - didn't work
I'm using Ubuntu 24.04 and CPU only
Build Log
The text was updated successfully, but these errors were encountered:
Same error I get
Sorry, something went wrong.
Might be an issue with a newer version of OpenCV.
Same but on 20.04
No branches or pull requests
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::allocator > const&)'/usr/bin/ld: opensplat.cpp:(.text.startup+0x4cb5): undefined reference to
cv::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 > const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/opensplat.dir/build.make:349: opensplat] Error 1
make[1]: *** [CMakeFiles/Makefile2:212: CMakeFiles/opensplat.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
Tried using libtorch 2.2.1 - didn't work
I'm using Ubuntu 24.04 and CPU only
Build Log
The text was updated successfully, but these errors were encountered: