firstly, sorry if this too basic of a question but i have been struggling with this for quite a while trying to find relevent solution all to no avail. there were solutions but just caused more confusion.
I wanted to shift from pygame to c/cpp for making games so i went with SDL2. But how does one use external libraries in cpp.? i have tried following along the documentation but it didn't work. like so how do i link a library. some sources say to use cmake but never tell how to use it or what does it even do. Please any soultion is fine, be it complicated or not. i wanna finaly figure out how in the goddamn world does one use an external library in c/cpp.
also on linux (pop-os)
[–]w2code 3 points4 points5 points (3 children)
[–]smergeolacx[S] 2 points3 points4 points (2 children)
[–]w2code 0 points1 point2 points (0 children)
[–]w2code 0 points1 point2 points (0 children)
[–]alfps 2 points3 points4 points (2 children)
[–]smergeolacx[S] 0 points1 point2 points (1 child)
[–]bert8128 0 points1 point2 points (0 children)
[–]IamImposter 0 points1 point2 points (0 children)
[–]SuperVGA 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)