How can i setup cmake/make to use the correct Lua version? I'm not sure that is the problem, but it seems it is, i already have that problem when compiling OTClient.
However, the error that make outputs is:
I already googled this issue, and one of the answers i found is to use LIBS=-ldl make instead of make, it didn't solved anything
Of course with a proper IDE that would be relatively easy to solve, i just need to change the path to the library and that's it, but I'm still too noob on Linux to properly transfer a project from cmake/make to an IDE project, so, any help on that would be AMAZING too.
However, the error that make outputs is:
Linking CXX executable tfs
/usr/bin/ld: /usr/local/lib/liblua.a(loadlib.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
I already googled this issue, and one of the answers i found is to use LIBS=-ldl make instead of make, it didn't solved anything
Of course with a proper IDE that would be relatively easy to solve, i just need to change the path to the library and that's it, but I'm still too noob on Linux to properly transfer a project from cmake/make to an IDE project, so, any help on that would be AMAZING too.