Closed peschkaj closed 8 years ago
Ignore me, I have no idea how to computer
:D
same problem with gcc version 4.9.4 (Ubuntu 4.9.4-2ubuntu1~16.04) + qmake on Linux Mint 18.2
~/QtCreator-projects/searcher/src/docopt/main.cpp:29: error: undefined reference to
docopt::docopt(std::string const&, std::vector<std::string, std::allocatordocopt::operator<<(std::ostream&, docopt::value const&)' :-1: error: collect2: error: ld returned 1 exit status
looks like you're not compiling all the files.
When attempting to build the example code, I get the following compiler error using both g++ (
(Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609
) and clang (3.8.0-2ubuntu4):This is on Ubuntu 16.04.1