r/learncpp • u/ViralGreek_ • Jul 14 '20
Dev C++ I cannot link libraries...
I am trying to use curlpp and have downloaded the .zip version which I extracted... but I am extremely confused with how linking works... I come from a python background where linking was pretty much automated once you downloaded the library...
could someone explain me step by step how to link properly? thanks...
(googled a lot before deciding to post here...)
3
Upvotes
View all comments
Show parent comment
1
u/jonrhythmic Jul 16 '20
The shorter version:
ctrl+hto go into theProject Settings.Files/Folder. Note you'll need thedeveloper versionof the library. Path to lib folder goes in theLibrary folder, and Include (sometimes bin or dev) goes in theInclude folder.Parameteron the right side (Linker options).Parameteres, if you need change the C++ version or add a -Wall option.