Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
BigBoo23127yJust type -llibname -L path as flags though?
You can omit the -L path if it is in your libs folder. -
BigBoo23127y@Kyu96 Welp, can't help you with that. But if you have problems with linking libraries I can recommend trying to write your own simple library, compile it as a library and then use it in some other code to get a feel of the process.
-
dufferz6747yVs code? Took me 4 hours to wrap my head around linking/libs with it..
g++ main.cxx -o main.o -L /path/to/lib
This was so much easier.. -
how is this difficult. You need to try to build a dev environment for some legacy java backend project. Have fun with all the dependencies, they all want a specific version and all the errors don't tell you what version is that.
-
@Kyu96 I prefer writing build scripts in a meta system like CMake, makes it much easier. It can also search for libraries by name (if they were installed in a certain way) and pull them into your build.
-
Kyu9619357y@RememberMe I am doing that. The issue is actually the fuckibg library that is annoying not cmake
-
Fuck dude, it took me installing an isolated dev environment in /opt on my Linux machine to understand linking and includes.
Related Rants
FUCCCCKCKCKKC FUCK FUCK FUCK FUCKING CUNTFUCK BULLSHTI FUCKK!
I SWEAR TO GOD LINKING LIBRARIES IN C++ IS THE WORST FUCKIGN THING ON THE ENTIRE FUCKIGN PLANET.
sfjipomndgsm8h rteügj8jq9rtg
rant
linker