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

Lua C Compiling -llua Error

$
0
0

I am attempting to compile some C code to run with Lua through the command:

gcc -o first first.c -llua -lm

and the output I receive:

ld: library not found for -llua
clang: error: linker command failed with exit code 1

I have also tried:

-llua53
-llua5.3

But it still provides the same error. Would anyone be able to lead me to find out what library I need to provide with compiling, and where it's located?


Viewing all articles
Browse latest Browse all 22091

Trending Articles



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