But I have everything:
What is happening?
If I have all of the dependencies, why does it not compile?
I use Solus 3.
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.