hmartiro / redox

Modern, asynchronous, and wicked fast C++11 client for Redis
Apache License 2.0
389 stars 101 forks source link

Manage version of hiredis #12

Open hmartiro opened 9 years ago

hmartiro commented 9 years ago

Either require specific version, or just submodule it. It's a small library, might just be worth submoduling. Would it be smart to do the same with libev?

junoteam commented 9 years ago

Hello, I am pretty new in C++ on Linux,

when I am trying to run your example code. I get this error: root@calvin:~# g++ basic.cpp -o hello -std=c++11 -lredox -lev -lhiredis /usr/bin/ld: cannot find -lredox collect2: error: ld returned 1 exit status

Can you help?

vim basic.cpp

include iostream

include root/redox/include/redox.hpp

hmartiro commented 9 years ago

Hello. Did you make redox and then sudo make install? The linker is unable to find libredox.so.

On Wed, May 20, 2015 at 2:10 AM, junoteam notifications@github.com wrote:

Hello, I am pretty new in C++ on Linux,

when I am trying to run your example code. I get this error: root@calvin:~# g++ basic.cpp -o hello -std=c++11 -lredox -lev -lhiredis /usr/bin/ld: cannot find -lredox collect2: error: ld returned 1 exit status

Can you help?

vim basic.cpp

include

include

— Reply to this email directly or view it on GitHub https://github.com/hmartiro/redox/issues/12#issuecomment-103818840.