Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 21994

gcc cannot find -lglfw3

$
0
0

I'm on a linux system (arch linux specifically) and I'm trying to compile the introduction project from the official glfw page but I cannot seem to get gcc to compile it. If anyone doesn't know what I'm talking about it's this.

Also this is how I'm trying to compile it:

gcc -Iinclude test.c -o test -lglfw3 -lm -lGL -lGLU

and it gives me the following errors:

/usr/bin/ld: cannot find -lglfw3

collect2: error: ld returned 1 exit status

Viewing all articles
Browse latest Browse all 21994

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>