first, git clone https://github.com/conan-io/examples.git
and then cd into libraries/poco/md5
run ./build.sh
got error like that:
+ cmake --build .
Scanning dependencies of target md5
[ 50%] Building CXX object CMakeFiles/md5.dir/md5.cpp.o
[100%] Linking CXX executable bin/md5
CMakeFiles/md5.dir/md5.cpp.o: In function `main':
md5.cpp:(.text.startup+0x9b): undefined reference to `Poco::DigestEngine::digestToHex[abi:cxx11](std::vector<unsigned char, std::allocator > const&)'
collect2: error: ld returned 1 exit status
CMakeFiles/md5.dir/build.make:83: recipe for target 'bin/md5' failed
make[2]: *** [bin/md5] Error 1
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/md5.dir/all' failed
make[1]: *** [CMakeFiles/md5.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
first,
git clone https://github.com/conan-io/examples.gitand then cd into
libraries/poco/md5run
./build.shgot error like that:
md5.cpp:(.text.startup+0x9b): undefined reference to `Poco::DigestEngine::digestToHex[abi:cxx11](std::vector<unsigned char, std::allocator > const&)'
collect2: error: ld returned 1 exit status
CMakeFiles/md5.dir/build.make:83: recipe for target 'bin/md5' failed
make[2]: *** [bin/md5] Error 1
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/md5.dir/all' failed
make[1]: *** [CMakeFiles/md5.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2