Linux Compiling error 'SDL_HasAVX' was not declared in this scope
Cross platform Game Creation Software
Brought to you by:
tedx2k
mokoi-0_96-source.tar.bz2
When compiling on Linux Slackware 14.1 64-bit, with 32-bit compatibility libraries, I get errors:
As a side note, I'm not sure it's related, but I also get an error on the LuxEngine hosted here: https://github.com/lukesalisbury/luxengine/issues/1
Update SDL2 to 2.0.3.
or
remove that line from luxengine/src/platform/sdl2/core.cpp
Thanks! Compiling Mokoi and running LuxEngine works now!
However, now I'm having trouble running Open Zelda. I managed to figure out that the content package goes in /home/lunac/mokoi-games/content-package-2.0alpha/ , and it finds ("Browse", package shows up right) and runs much of the code, but it's missing a "main" script?:
Compiling scripts/maps/section_map1.mps from /home/lunac/mokoi-games///content-package-2.0alpha/ to /home/lunac/.local/share/mokoi-1.0/[a3945d7a]
Running pawn_compiler4 Status 32256
Compiling scripts/maps/section_map2.mps from /home/lunac/mokoi-games///content-package-2.0alpha/ to /home/lunac/.local/share/mokoi-1.0/[a3945d7a]
Running pawn_compiler4 Status 32256
Entity not found 'main'
[Entity:34] No data for parent|main
I can't seem to find any documentation on how to get the game running manually.
If you are trying to run a development version of a game (an Directory not a file), it's recommend to run it from the editor Meg as they often don't include compiled version of entities.
luxengine accepts game as an argument so these would work
./luxengine /game/
./luxengine /game/game.mokoi
./luxengine /compiled.game