Help a brainlet out. How do I link libcurl? Why is not as easy as; Why do I have to type 10+ commands...

Help a brainlet out. How do I link libcurl? Why is not as easy as; Why do I have to type 10+ commands? You told me this shit was more efficient Jow Forums, you lying cocksuckers

import curl

using library curl;

fuck this gay C and C++ low level programming shit. its all made by queers, you cannot even import a library easily, fuck this man

Attached: Screenshot_2018-04-22_05-12-43.png (1920x1080, 59K)

Other urls found in this thread:

tour.golang.org
golang-book.com/
github.com/ksimka/go-is-not-good
bintray.com/bincrafters/public-conan/libcurl:bincrafters
twitter.com/SFWRedditImages

>cannot into C/C++
>call others faggots
You're the only faggot here, brainlet.

He can't figure it out. Lol. What a fag!

Attached: what-a-gay.jpg (247x353, 17K)

more proofs you faggots are all talk but no action. instead of calling me a faggot provide a solution you queers

Attached: disgusted.jpg (817x1000, 151K)

I use static build.sh scripts, unless its fucking huge, then I go full autist with ninja

I don't see any money in my bank account.

How does one import libraries in c/c++? Curious python/javascript developer here.

thank you user, ill check them out. and do you recommend using conan or is it not advisable in the long run
this attitude will get you nowhere
apparently there is no standard way like PyPi/NPM/gems like our kind is used to. You have to mostly build the libs

Attached: images.jpg (696x1044, 86K)

Sounds like a huge pain.

just google `find_package()' function of CMake

tell me about it. and you have to track pointers and shit. apparently there is also a pointer to a pointer.

However Id recommend trying it out, this stuff is totally mind blowing and makes you look at computers with a brand new deeper understanding. for example I finally get the concept of heaps, stacks and overflows now though i crammed the whole concept to pass exams during my college days

i appreciate this user and will look into it

Attached: p3724261a5931256031-300x169.jpg (599x603, 41K)

Just admit you are a brainlet or pretend your time is valuable and use python for glue code.

?
just #inlcude
are webdevs really this dumb?

i know motherfucker. i included it using the already installed libcurl-devel, but this is not portable. i wanted to control everything down to the lib version used
never. you also started somewhere idiot. you werent born writing Makefiles

Attached: Harold.png (1065x902, 1.49M)

>control everything down to the lib version used
why
that makes it unportable

maybe a new version sucks on another platform and need an old version. maybe an older version on a package repo has bugs affecting your program but it wont be updated because the maintainer is non-responsive on bugzilla. maybe my main reason for learning this is so as to write malware during my free time and i want my instances to always run irrespective of what dependencies the target has installed

Attached: trinitybuttocks.jpg (434x326, 24K)

wouldn't the same apply to python and literally all other libraries?

pip beats cmake hands down in package management lad
>wouldn't the same apply to python and literally all other libraries?
no you suggested i use 3rd party prebuilt libraries to which i said i cant because of reasons above

pipenv is even better than pip alone or with manual virtualenv/virtualenvwrapper.

Just use
const request = require('request');
or
import request from 'request';
lad

try something like
cmake_minimum_required(VERSION 3.10)
project(barebones)

set(CMAKE_CXX_STANDARD 14) # use c++14 instead of 11. you'll thank me.

# Find the package you care about and tell CMake this package is required.
find_package(CURL REQUIRED)

add_executable(barebones main.cpp)

# Link to the curl library you found using find_package above. Find package ought to usually result in names of libraries like :: for curl, both of those happen to be CURL. You can check this looking at /usr/share/cmakewhatever/modules/... I think, or just do a `find /usr/share -type f -name FindCURL.cmake` and look at the various things in that directory.
target_link_libraries(barebones PRIVATE CURL::CURL)


Always make sure to actually properly find your libraries (or write cmake modules to find them) so you get all the header information and stuff too.

I never used cmake I make do with make
I hardly use more than 1 or 2 libraries anyway

learn Go and stop wasting time with this shit:
tour.golang.org
golang-book.com/

>cmake
>easy

lmao.

meson bro

it...it unironically worked. Thanks user. are you a hacker or something?
i just wanted to learn cmake incase i work on a complicated project
the good life
using virtualenv is a must, since the OSes depend so much on Python nowadays, you dont want to mess with system Python
even normies think this language is shit
github.com/ksimka/go-is-not-good

Attached: p6UZVJx.jpg (1268x1695, 190K)

pipenv uses virtualenv behind the scenes

This is a generic person complaining about web devs. No, this is not how you import libraries in C/C++. You do this and you'll get unresolved external errors when linking.

wew lad, why didnt you come in earlier. this looks high quality
its a godsend.
>muh C++ is the best language
>muh C++ is more effecient anons
ive been fiddling with the libraries for the past hour , i havent even started writing shit yet

Attached: Screenshot_2018-04-22_05-12-43.png (1920x1080, 50K)

>even normies think this language is shit
well, if you fall for memes, you have no one to blame but yourself
in any case, I'm not wasting more time ITT.

why is there no equivalent to npm install curl or pipenv install curl

This fucking thread is gold
OP is a weblet (brainlet) retard to can't even use google.
seriously fuck off, this isn't a forum for your problems, go back to r3ddit.

>(((pointer to a pointer)))

apt install libcurl-dev

at least i learned something from fucking Jow Forums of all places today unlike you who is damaging yourself by spewing hate and cancer across the internet. be a better person dude, think positive
czeched
dnf install libcurl-devel
emerge --ask dev-libs/libcurl

Attached: newfagbeit.png (1110x1080, 912K)

what are you on about?
just add -l it when compiling that's it
never had any external errors

>not using conan to manage your packages
bintray.com/bincrafters/public-conan/libcurl:bincrafters

Typical javascript fag. Worries more about libraries than the main language.

The cancer killing StackOverflow.

>just #inlcude
Let's all take a moment to contemplate on how retarded a person has to be to make a post like yours.

its 2018 and C/C++ still dont have a usable package manager

Attached: 1478211197585.png (400x400, 4K)