Albert Zeyer

Results 880 comments of Albert Zeyer
trafficstars

Submitted by albertzeyer You can download two examples (mod sources) here: http://openlierox.git.sourceforge.net/git/gitweb.cgi?p=openlierox/openlierox;a=snapshot;h=7b0c3d1664a292532766e2c75e5789130d5c92c0;sf=tgz http://openlierox.git.sourceforge.net/git/gitweb.cgi?p=openlierox/openlierox;a=snapshot;h=b516e40fa3de36c000fc81cdfaef719e5f51d12b;sf=tgz Btw., it works only with 0.58, maybe you are using an old version (0.57) here.

Submitted by pelya Oops, wrong link http://openlierox.git.sourceforge.net/git/gitweb.cgi?p=openlierox/openlierox;a=blob;f=tools/GameCompiler/distrib/gc_lx56.exe;h=a5d23a8da08b2905939eeab162d9514528127c7d;hb=refs/heads/0.59

After some `brew upgrade`, this problem is resolved. Unfortunately I'm not exactly sure now what package caused the problem, and what update fixed it. I saw some Linux header related...

Ok, strange, now I get the same error again, but for Python 3.9 (after `brew upgrade` updated also my Python).

I checked, my `/usr/include/linux/input-event-codes.h` contains the `ABS_RESERVED` definition. So, I assume the C compilation then uses some different Linux headers.

So, I checked, I added `-v` to the GCC command to print the search dirs, and this is my output: ``` GNU C99 (Ubuntu 5.4.0-6ubuntu1~16.04.12) version 5.4.0 20160609 (x86_64-linux-gnu) compiled...

For reference: ``` lrwxrwxrwx 1 zeyer assi 48 Oct 5 13:49 /u/zeyer/.linuxbrew/include/linux -> ../Cellar/[email protected]/4.4.80/include/linux/ ```

But anyway, I think the main problem is that `build_ecodes` uses a different Linux header than GCC does. So I think there are two potential options: - Make sure GCC...

Hm ok for some reason this can not be seen in the initial log. Here the new snippet: ``` gcc-5 -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/u/zeyer/.linuxbrew/include -I/u/zeyer/.linuxbrew/opt/[email protected]/include...

Note, as a temporary workaround, this could be done: ``` brew unlink linux-headers ```