Quantcast
Viewing all articles
Browse latest Browse all 22037

How to link to pistache in Eclipse C++

I fail to link the pistache library in Eclipse C++ on my Ubuntu machine. I already make this reference:

  1. Properties > C/C++ Build > Settings > Tool Settings
  2. Under GCC C++ Linker > Libraries > Library search path
  3. Under GCC C++ Compiler > Includes > Include paths
  4. Add /usr/local/include/pistache to each

It throws a bunch of errors like this:

.... undefined reference to `Pistache::Ipv4::any()'

Why does this fail? The autocomplete is able to see the reference when I try rewrite the whole line, but it still errors out.


Viewing all articles
Browse latest Browse all 22037

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>