You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I would like to use the work in the repository but when I compile I get
/usr/bin/ld: CMakeFiles/gcn_ftr.dir/src/main.cc.o: in function main': /home/michele/semantic_feature_points/src/main.cc:22: undefined reference to cv::imread(std::string const&, int)'
/usr/bin/ld: /home/michele/semantic_feature_points/src/main.cc:70: undefined reference to cv::imshow(std::string const&, cv::_InputArray const&)' /usr/bin/ld: CMakeFiles/gcn_ftr.dir/src/GCNextractor.cc.o: in function Mat':
/usr/local/include/opencv4/opencv2/core/mat.inl.hpp:591: undefined reference to cv::error(int, std::string const&, char const*, char const*, int)' /usr/bin/ld: /usr/local/include/opencv4/opencv2/core/mat.inl.hpp:577: undefined reference to cv::error(int, std::string const&, char const*, char const*, int)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [CMakeFiles/gcn_ftr.dir/build.make:129: gcn_ftr] Error 1
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/gcn_ftr.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
Do you know why? (I'm using Opencv 4,Python 3.8 , Ubuntu 20.04, pytorch 1.12
The text was updated successfully, but these errors were encountered:
Hi, I would like to use the work in the repository but when I compile I get
/usr/bin/ld: CMakeFiles/gcn_ftr.dir/src/main.cc.o: in function
main': /home/michele/semantic_feature_points/src/main.cc:22: undefined reference to
cv::imread(std::string const&, int)'/usr/bin/ld: /home/michele/semantic_feature_points/src/main.cc:70: undefined reference to
cv::imshow(std::string const&, cv::_InputArray const&)' /usr/bin/ld: CMakeFiles/gcn_ftr.dir/src/GCNextractor.cc.o: in function
Mat':/usr/local/include/opencv4/opencv2/core/mat.inl.hpp:591: undefined reference to
cv::error(int, std::string const&, char const*, char const*, int)' /usr/bin/ld: /usr/local/include/opencv4/opencv2/core/mat.inl.hpp:577: undefined reference to
cv::error(int, std::string const&, char const*, char const*, int)'clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [CMakeFiles/gcn_ftr.dir/build.make:129: gcn_ftr] Error 1
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/gcn_ftr.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
Do you know why? (I'm using Opencv 4,Python 3.8 , Ubuntu 20.04, pytorch 1.12
The text was updated successfully, but these errors were encountered: