{"action":"created","issue":{"url":"https://api.github.com/repos/enigma-dev/enigma-dev/issues/944","labels_url":"https://api.github.com/repos/enigma-dev/enigma-dev/issues/944/labels{/name}","comments_url":"https://api.github.com/repos/enigma-dev/enigma-dev/issues/944/comments","events_url":"https://api.github.com/repos/enigma-dev/enigma-dev/issues/944/events","html_url":"https://github.com/enigma-dev/enigma-dev/issues/944","id":83300296,"number":944,"title":"LGM crashes on startup","user":{"login":"gandalf3","id":11167504,"avatar_url":"https://avatars.githubusercontent.com/u/11167504?v=3","gravatar_id":"","url":"https://api.github.com/users/gandalf3","html_url":"https://github.com/gandalf3","followers_url":"https://api.github.com/users/gandalf3/followers","following_url":"https://api.github.com/users/gandalf3/following{/other_user}","gists_url":"https://api.github.com/users/gandalf3/gists{/gist_id}","starred_url":"https://api.github.com/users/gandalf3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gandalf3/subscriptions","organizations_url":"https://api.github.com/users/gandalf3/orgs","repos_url":"https://api.github.com/users/gandalf3/repos","events_url":"https://api.github.com/users/gandalf3/events{/privacy}","received_events_url":"https://api.github.com/users/gandalf3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":35,"created_at":"2015-06-01T04:06:26Z","updated_at":"2015-11-07T01:35:08Z","closed_at":null,"body":"I installed LGM + enigma from my AUR package [here](https://aur.archlinux.org/packages/enigma-dev-git/).\r\nIt used to work fine, but now LGM crashes right after starting (the splash goes away and a window briefly appears):\r\n\r\n    Java Version: 10700 (1.7.0_79)\r\n    Loading lib files in /opt/enigma-dev-git/lateralgm.jar\r\n    01_move.lgl 02_main1.lgl 03_main2.lgl 04_control.lgl \r\n    05_score.lgl 06_extra.lgl 07_draw.lgl \r\n    Calling `make eTCpath=\"\"`\r\n    > make -j 3 -C CompilerSource \r\n    > make[1]: Entering directory '/opt/enigma-dev-git/CompilerSource'\r\n    > make[1]: Nothing to be done for 'all'.\r\n    > make[1]: Leaving directory '/opt/enigma-dev-git/CompilerSource'\r\n    0\r\n    Process terminated\r\n    Initializing Enigma: \r\n    Failed to create make directory at /home/gandalf3/.enigma/\r\n    Make directory is: \"/home/gandalf3/.enigma/\"\r\n    Linking up to IDE\r\n    Implementing JDI basics\r\n    UnimplementedUnimplemented\r\n\r\n    Choosing language: C++\r\n    Reading GCC builtins\r\n    Read key `defines` as `cpp -dM -x c++ -E $blank`\r\n    Parsed `cpp` `-dM -x c++ -E \"/home/gandalf3/.enigma/enigma_blank.txt\"`: redirect=yes\r\n    TRUE\r\n\r\n\r\n\r\n\r\n    *********** EXECUTE \r\n    `/usr/bin/cpp`\r\n    `-dM`\r\n    `-x`\r\n    `c++`\r\n    `-E`\r\n    `/home/gandalf3/.enigma/enigma_blank.txt`\r\n\r\n\r\n\r\n    Call succeeded\r\n    Read key `searchdirs` as `gcc -E -x c++ -v $blank`\r\n    Parsed `gcc` `-E -x c++ -v \"/home/gandalf3/.enigma/enigma_blank.txt\"`: redirect=yes\r\n    TRUE\r\n\r\n\r\n\r\n\r\n    *********** EXECUTE \r\n    `/usr/bin/gcc`\r\n    `-E`\r\n    `-x`\r\n    `c++`\r\n    `-v`\r\n    `/home/gandalf3/.enigma/enigma_blank.txt`\r\n\r\n\r\n\r\n    Call succeeded\r\n    Searching for directories between \"#include <...> search starts here:\" and \"End of search list.\"\r\n    Toolchain returned 9 search directories:\r\n    Creating parse context\r\n    Parsing settings...\r\n    TOINT: 0\r\n    TOINT: 0\r\n    TOINT: 1\r\n    TOINT: 0\r\n    TOINT: 0\r\n    TOINT: 0\r\n    Setting up IDE editables... \r\n    java: symbol lookup error: /opt/enigma-dev-git/libcompileEGMf.so: undefined symbol: _Z2fcPKc\r\n\r\nI've tried running it with java 8, but the same thing happens. "},"comment":{"url":"https://api.github.com/repos/enigma-dev/enigma-dev/issues/comments/154595884","html_url":"https://github.com/enigma-dev/enigma-dev/issues/944#issuecomment-154595884","issue_url":"https://api.github.com/repos/enigma-dev/enigma-dev/issues/944","id":154595884,"user":{"login":"gandalf3","id":11167504,"avatar_url":"https://avatars.githubusercontent.com/u/11167504?v=3","gravatar_id":"","url":"https://api.github.com/users/gandalf3","html_url":"https://github.com/gandalf3","followers_url":"https://api.github.com/users/gandalf3/followers","following_url":"https://api.github.com/users/gandalf3/following{/other_user}","gists_url":"https://api.github.com/users/gandalf3/gists{/gist_id}","starred_url":"https://api.github.com/users/gandalf3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gandalf3/subscriptions","organizations_url":"https://api.github.com/users/gandalf3/orgs","repos_url":"https://api.github.com/users/gandalf3/repos","events_url":"https://api.github.com/users/gandalf3/events{/privacy}","received_events_url":"https://api.github.com/users/gandalf3/received_events","type":"User","site_admin":false},"created_at":"2015-11-07T01:35:08Z","updated_at":"2015-11-07T01:35:08Z","body":"LGM only crashes when attempting to use 64 bit java (thanks for clarifying that :). The problem finding `compileEGMf.so` seems separate; I guess LGM only gets to that point when running on 32 bit java.\r\n\r\nIf I delete the .so, run LGM with 32bit java once to compile, see the error about not finding `libcompileEGMf.so` then run it again, I get the same error:\r\n\r\n\t% java32 -jar lateralgm.jar\r\n\tJava Version: 10800 (1.8.0_66)\r\n\tLoading lib files in /opt/enigma-dev-git/lateralgm.jar\r\n\t01_move.lgl 02_main1.lgl 03_main2.lgl 04_control.lgl \r\n\t 05_score.lgl 06_extra.lgl 07_draw.lgl \r\n\tCalling `make eTCpath=\"\"`\r\n\t> make -j 3 -C CompilerSource \r\n\t> make[1]: Entering directory '/opt/enigma-dev-git/CompilerSource'\r\n\t> make[1]: Nothing to be done for 'all'.\r\n\t> make[1]: Leaving directory '/opt/enigma-dev-git/CompilerSource'\r\n\t0\r\n\tProcess terminated\r\n\tThread-4: \r\n\tjava.lang.UnsatisfiedLinkError: Unable to load library 'compileEGMf': Native library (linux-x86/libcompileEGMf.so) not found in resource path ([file:/opt/enigma-dev-git/plugins/enigma.jar])\r\n\t        at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:271)\r\n\t        at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:398)\r\n\t        at com.sun.jna.Library$Handler.<init>(Library.java:147)\r\n\t        at com.sun.jna.Native.loadLibrary(Native.java:412)\r\n\t        at com.sun.jna.Native.loadLibrary(Native.java:391)\r\n\t        at org.enigma.EnigmaRunner.attemptLib(EnigmaRunner.java:247)\r\n\t        at org.enigma.EnigmaRunner.access$1(EnigmaRunner.java:240)\r\n\t        at org.enigma.EnigmaRunner$3.run(EnigmaRunner.java:178)\r\n\tjava.lang.UnsatisfiedLinkError: Unable to load library 'compileEGMf': Native library (linux-x86/libcompileEGMf.so) not found in resource path ([file:/opt/enigma-dev-git/plugins/enigma.jar])\r\n\t        at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:271)\r\n\t        at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:398)\r\n\t        at com.sun.jna.Library$Handler.<init>(Library.java:147)\r\n\t        at com.sun.jna.Native.loadLibrary(Native.java:412)\r\n\t        at com.sun.jna.Native.loadLibrary(Native.java:391)\r\n\t        at org.enigma.EnigmaRunner.attemptLib(EnigmaRunner.java:247)\r\n\t        at org.enigma.EnigmaRunner.access$1(EnigmaRunner.java:240)\r\n\t        at org.enigma.EnigmaRunner$3.run(EnigmaRunner.java:178)\r\n\r\n`libcompileEGMf.so` is/gets placed in `/opt/enigma-dev-git/libcompileEGMf.so`. I get the same error if I move it to `/opt/enigma-dev-git/plugins/libcompileEGMf.so` (next to `enigma.jar`).\r\n\r\nWhere is this file expected to be?"}}