Skip to content
This repository has been archived by the owner on Apr 6, 2019. It is now read-only.

Compile project Ubuntu #180

Open
gabriel-joy opened this issue May 26, 2018 · 0 comments
Open

Compile project Ubuntu #180

gabriel-joy opened this issue May 26, 2018 · 0 comments

Comments

@gabriel-joy
Copy link

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 function main': main.cpp:(.text.startup+0x813): undefined reference to cpp_redis::client::client()'
main.cpp:(.text.startup+0x892): undefined reference to cpp_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 to cpp_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 2

Thanks,
Gabriel

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant