1
SFML projects / Re: [2D Platformer] Melting Saga
« on: April 30, 2016, 07:03:25 pm »
Ok, so I just downloaded the two archives and unzipped both them in the same directory as the MeltingSaga exectuable, but I still get the same error
.
Of course :
It is not really beautyfull but it works
.
I also replaced every

[klafyvel@klafyvel bin]$ ./MeltingSaga
Data/GameScripts/ScrInit.lua:20: unexpected symbol near ';'
[string "protect("ID")"]:1: attempt to call global 'protect' (a nil value)
[string "protect("Private")"]:1: attempt to call global 'protect' (a nil value)
[string "protect("Public")"]:1: attempt to call global 'protect' (a nil value)
type mismatch
[string "table.insert(Core.ImportedLibs, "Console")"]:1: attempt to index global 'Core' (a nil value)
PANIC: unprotected error in call to Lua API (attempt to index a nil value)
Data/GameScripts/ScrInit.lua:20: unexpected symbol near ';'
[string "protect("ID")"]:1: attempt to call global 'protect' (a nil value)
[string "protect("Private")"]:1: attempt to call global 'protect' (a nil value)
[string "protect("Public")"]:1: attempt to call global 'protect' (a nil value)
type mismatch
[string "table.insert(Core.ImportedLibs, "Console")"]:1: attempt to index global 'Core' (a nil value)
PANIC: unprotected error in call to Lua API (attempt to index a nil value)
Could you show me the content of your CMakeLists.txt?
Of course :
(click to show/hide)
It is not really beautyfull but it works

I also replaced every
#include <Windows.h>
to #ifdef _WIN32
#include <Windows.h>
#endif
#include <Windows.h>
#endif