But I have everything:
What is happening?
If I have all of the dependencies, why does it not compile?
I use Solus 3.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
The meaning of
-lglut32 (as an example) is, load the library
The result of the
ls you execute showed that you have the header file for
In order to solve the problem of cannot find -l-library-name
Help gcc/the linker to find the library by providing the path to the library
Update the "Dynamic Linker":
-llibrary -l library Search the library named library when linking. -Ldir Add directory dir to the list of directories to be searched for -l.