Hacker News new | past | comments | ask | show | jobs | submit login

It really is not that complicated. You just use -llibrary when linking and it links.



Oh I never realized I was supposed to install -dev packages, I thought I had to compile myself.


Whether you need -dev packages (for headers) depends on your operating system. I run Gentoo. All headers are always on the system. Other distributions ship the headers separately in -dev packages to save space and you need to install them. You likely can install all -dev packages for everything on your system so you do not need to get the individual ones.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: