I'm trying to build my application on Linux. However I fail on Lua.
KDevelop uses my CMakeLists.txt, sadly I cannot get it to work. I get "undefined reference" with all kinds of Lua methods which my Lua binding tries to call.
The Lua binding is header-only and works just perfect.
On a Windows machine, I know what I need to link to. Sadly, using CMake and Unix is quite a new experience for me, so I have no idea on what to link in the list file.
Could someone help me out? Maybe even tell me the commands I need to include?
The commands I use for Lua:
Do I have to explicitly link the Lua-lib-file? But what are the lib files on Unix? I could not find anything namend *.lib.
Edited by Angelic Ice, 02 September 2016 - 07:12 AM.