Menu

#14 Linux Compiling error 'SDL_HasAVX' was not declared in this scope

Stable_Release
closed
nobody
None
1
2015-04-13
2015-04-11
MajorLunaC
No

mokoi-0_96-source.tar.bz2

When compiling on Linux Slackware 14.1 64-bit, with 32-bit compatibility libraries, I get errors:

http://pastebin.com/8we8pk76

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

Discussion

  • Luke

    Luke - 2015-04-12

    Update SDL2 to 2.0.3.
    or
    remove that line from luxengine/src/platform/sdl2/core.cpp

     
  • MajorLunaC

    MajorLunaC - 2015-04-12

    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

    Opening the Game
    <-----------------LuxEngine::Close-----------------|
    < Closing the Game
    < EntitySection Close 0
    OpenGL Renderer: Mesa DRI Intel(R) Haswell Desktop 3.0 Mesa 10.0.3
    OpenGL Feature: NPOT FBO
    Checking Shader Support: Objects:1 Language:1 Vertex:1 Fragment:1
    <-----------------LuxEngine::Close-----------------|

    I can't seem to find any documentation on how to get the game running manually.

     
  • Luke

    Luke - 2015-04-13

    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

     
  • Luke

    Luke - 2015-04-13
    • status: open --> closed
     

Log in to post a comment.