I am trying to link my simple program to cpp-netlib. I downloaded and extracted the distribution, then ran the make file. It seems to find the header files fine, but it cannot find the libraries.
Here is my command that I am running to compile.
However, it is saying the libraries are not found.
Cross posted over at DreamInCode. Any help is much appreciated.
Here is my command that I am running to compile.
Code:
g++ Test.cpp -o Test -I/usr/local/cpp-netlib-0.10.1/ -l/usr/local/cpp-netlib-0.10.1/build/libs/network/src/libcppnetlib-client-connections.a -l/usr/local/cpp-netlib-0.10.1/build/libs/network/src/libcppnetlib-server-parsers.a -l/usr/local/cpp-netlib-0.10.1/build/libs/network/src/libcppnetlib-uri.a
However, it is saying the libraries are not found.
Code:
ld: library not found for -l/usr/local/cpp-netlib-0.10.1/build/libs/network/src/libcppnetlib-client-connections.a
collect2: ld returned 1 exit status
Cross posted over at DreamInCode. Any help is much appreciated.