-
Notifications
You must be signed in to change notification settings - Fork 912
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
Error while linking executable #260
Comments
The code here uses vmware and Ubuntu 22.04 LTS. ` /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:49:91: note: suggested alternatives: /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:49:95: note: suggested alternatives: /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:49:99: note: suggested alternatives: /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:49:103: note: suggested alternatives: /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:134:97: note: suggested alternatives: /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:134:101: note: suggested alternatives: /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:134:105: note: suggested alternatives: /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:134:109: note: suggested alternatives: /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:646:119: note: suggested alternatives: /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:646:123: note: suggested alternatives: /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:646:127: note: suggested alternatives: /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:646:131: note: suggested alternatives: |
The code here uses xshell and Ubuntu 18.04.6 LTS.
~/nikdso/src/dso/build$ make [ 92%] Built target dso [ 96%] Linking CXX executable bin/dso_dataset CMakeFiles/dso_dataset.dir/src/main_dso_pangolin.cpp.o: In function
main::{lambda()#1}::operator()() const':/home/zhangfangfei/nikdso/src/dso/src/util/DatasetReader.h:256: undefined reference to
zip_fopen' /home/zhangfangfei/nikdso/src/dso/src/util/DatasetReader.h:257: undefined reference to
zip_fread'/home/zhangfangfei/nikdso/src/dso/src/util/DatasetReader.h:264: undefined reference to
zip_fopen' /home/zhangfangfei/nikdso/src/dso/src/util/DatasetReader.h:265: undefined reference to
zip_fread'/home/zhangfangfei/nikdso/src/dso/src/util/DatasetReader.h:256: undefined reference to
zip_fopen' /home/zhangfangfei/nikdso/src/dso/src/util/DatasetReader.h:257: undefined reference to
zip_fread'/home/zhangfangfei/nikdso/src/dso/src/util/DatasetReader.h:264: undefined reference to
zip_fopen' /home/zhangfangfei/nikdso/src/dso/src/util/DatasetReader.h:265: undefined reference to
zip_fread'CMakeFiles/dso_dataset.dir/src/main_dso_pangolin.cpp.o: In function
ImageFolderReader::~ImageFolderReader()': /home/zhangfangfei/nikdso/src/dso/src/util/DatasetReader.h:170: undefined reference to
zip_close'CMakeFiles/dso_dataset.dir/src/main_dso_pangolin.cpp.o: In function
ImageFolderReader::ImageFolderReader(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)': /home/zhangfangfei/nikdso/src/dso/src/util/DatasetReader.h:125: undefined reference to
zip_open'/home/zhangfangfei/nikdso/src/dso/src/util/DatasetReader.h:133: undefined reference to
zip_get_num_entries' /home/zhangfangfei/nikdso/src/dso/src/util/DatasetReader.h:136: undefined reference to
zip_get_name'collect2: error: ld returned 1 exit status
CMakeFiles/dso_dataset.dir/build.make:152: recipe for target 'bin/dso_dataset' failed
make[2]: *** [bin/dso_dataset] Error 1
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/dso_dataset.dir/all' failed
make[1]: *** [CMakeFiles/dso_dataset.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2`
The text was updated successfully, but these errors were encountered: