C++11 Lightweight Redis client: async, thread-safe, no dependency, pipelining, multi-platform - NO LONGER MAINTAINED - Please check https://github.com/cpp-redis/cpp_redis
1.25k
stars
554
forks
source link
Compile project Ubuntu #180
Open
gabriel-joy opened 6 years ago
Hi,
When I'm compiling my project I'm receiving the following errors, do you have any idea?
CMakeFiles/black.dir/src/main.cpp.o: In function
std::_Function_handler<void (cpp_redis::reply&), main::{lambda(cpp_redis::reply&)#2}>::_M_invoke(std::_Any_data const&, cpp_redis::reply&)': main.cpp:(.text+0x2d6): undefined reference to
operator<<(std::ostream&, cpp_redis::reply const&)' CMakeFiles/black.dir/src/main.cpp.o: In functionmain': main.cpp:(.text.startup+0x813): undefined reference to
cpp_redis::client::client()' main.cpp:(.text.startup+0x892): undefined reference tocpp_redis::client::connect(std::string const&, unsigned long, std::function<void (std::string const&, unsigned long, cpp_redis::client::connect_state)> const&, unsigned int, int, unsigned int)' main.cpp:(.text.startup+0x959): undefined reference to
cpp_redis::client::set(std::string const&, std::string const&, std::function<void (cpp_redis::reply&)> const&)' main.cpp:(.text.startup+0x39dc): undefined reference tocpp_redis::client::~client()' main.cpp:(.text.startup+0x48b4): undefined reference to
cpp_redis::client::~client()' collect2: error: ld returned 1 exit status make[2]: [blackbird] Error 1 make[1]: [CMakeFiles/black.dir/all] Error 2 make: *** [all] Error 2Thanks, Gabriel