arm64 support?

Talk about anything concerning the source code.
Post Reply
sephirotdnf
Posts: 66
Joined: Sat Feb 23, 2013 4:11 pm

arm64 support?

Post by sephirotdnf » Thu Feb 08, 2018 12:09 am

Hello @Matlo

I'm switching from Raspberry PI 3 to Rock64. Received my unit yesterday.
https://www.pine64.org/?page_id=7147
It's way more powerful and has 1gb LAN that actually works (1gb up and down on NAND and 500down/1000up on my old HDD.
The problem is, it's arm64 not armhf.
I installed Ubuntu Xenial armhf but LAN speed drops in half.
Is there any possibility to install GIMX on Debian Stretch with arm64 architecture?

I know there is no official support and I don't require one. Just ability to install it and test if it works or not.

User avatar
Matlo
Posts: 4769
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: arm64 support?

Post by Matlo » Fri Feb 09, 2018 7:57 pm

Hi,

I moved the topic to the dev section.
Please have a look at this wiki page:
https://gimx.fr/wiki/index.php?title=De ... t_on_Linux
GIMX creator Donate Shop

sephirotdnf
Posts: 66
Joined: Sat Feb 23, 2013 4:11 pm

Re: arm64 support?

Post by sephirotdnf » Fri Feb 09, 2018 10:14 pm

I've been there already. Got some errors unfortunately.

Code: Select all

rock64@rock64:/etc/openvpn$ sudo apt-get install git g++ libwxgtk2.8-dev libblue                                                                                                                                                             tooth-dev libxml2-dev libusb-1.0-0-dev libncursesw5-dev gettext xterm xdg-utils                                                                                                                                                              libmhash-dev libcurl4-gnutls-dev libxi-dev libx11-dev
[sudo] password for rock64:
Sorry, try again.
[sudo] password for rock64:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libwxgtk2.8-dev
E: Couldn't find any package by glob 'libwxgtk2.8-dev'
E: Couldn't find any package by regex 'libwxgtk2.8-dev'
rock64@rock64:/etc/openvpn$ sudo apt-get install build-essential pkg-config git                                                                                                                                                              g++ libwxgtk3.0-dev libbluetooth-dev libxml2-dev libusb-1.0-0-dev libncursesw5-d                                                                                                                                                             ev gettext xterm xdg-utils libmhash-dev libcurl4-gnutls-dev libxi-dev libx11-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libbluetooth-dev is already the newest version (5.43-2+deb9u1).
build-essential is already the newest version (12.3).
g++ is already the newest version (4:6.3.0-4).
gettext is already the newest version (0.19.8.1-2).
git is already the newest version (1:2.11.0-3+deb9u2).
libusb-1.0-0-dev is already the newest version (2:1.0.21-1).
libx11-dev is already the newest version (2:1.6.4-3).
libxi-dev is already the newest version (2:1.7.9-1).
libmhash-dev is already the newest version (0.9.9.9-7).
libncursesw5-dev is already the newest version (6.0+20161126-1+deb9u1).
pkg-config is already the newest version (0.29-4+b1).
libwxgtk3.0-dev is already the newest version (3.0.2+dfsg-4).
xdg-utils is already the newest version (1.1.1-1).
xterm is already the newest version (327-2).
libcurl4-gnutls-dev is already the newest version (7.52.1-5+deb9u4).
libxml2-dev is already the newest version (2.9.4+dfsg1-2.2+deb9u2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
rock64@rock64:/etc/openvpn$
rock64@rock64:/etc/openvpn$ sudo apt-get install build-essential pkg-config git                                                                                                                                                              g++ libwxgtk2.8-dev libbluetooth-dev libxml2-dev libusb-1.0-0-dev libncursesw5-d                                                                                                                                                             ev gettext xterm xdg-utils libmhash-dev libcurl4-gnutls-dev libxi-dev libx11-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libwxgtk2.8-dev
E: Couldn't find any package by glob 'libwxgtk2.8-dev'
E: Couldn't find any package by regex 'libwxgtk2.8-dev'
rock64@rock64:/etc/openvpn$
rock64@rock64:/etc/openvpn$ yum -y install wxGTK-devel bluez-libs-devel glib2-de                                                                                                                                                             vel libxml2-devel libXi-devel libusb-devel (to be completed)
-bash: syntax error near unexpected token `('
rock64@rock64:/etc/openvpn$
rock64@rock64:/etc/openvpn$ cd $home
rock64@rock64:~$ git clone -b master --single-branch --depth 1 --recursive -j8 h                                                                                                                                                             ttps://github.com/matlo/GIMX.git
fatal: destination path 'GIMX' already exists and is not an empty directory.
rock64@rock64:~$
rock64@rock64:~$ git clone -b master --single-branch --depth 1 --recursive -j8 h                                                                                                                                                             ttps://github.com/matlo/GIMX.git
Cloning into 'GIMX'...
remote: Counting objects: 317, done.
remote: Compressing objects: 100% (278/278), done.
remote: Total 317 (delta 46), reused 105 (delta 20), pack-reused 0
Receiving objects: 100% (317/317), 551.10 KiB | 0 bytes/s, done.
Resolving deltas: 100% (46/46), done.
Submodule 'shared/gimx-adapter-protocol' (https://github.com/matlo/gimx-adapter-                                                                                                                                                             protocol.git) registered for path 'shared/gimx-adapter-protocol'
Submodule 'shared/gimx-network-protocol' (https://github.com/matlo/gimx-network-                                                                                                                                                             protocol.git) registered for path 'shared/gimx-network-protocol'
Submodule 'shared/gimxcommon' (https://github.com/matlo/gimxcommon.git) register                                                                                                                                                             ed for path 'shared/gimxcommon'
Submodule 'shared/gimxhid' (https://github.com/matlo/gimxhid.git) registered for                                                                                                                                                              path 'shared/gimxhid'
Submodule 'shared/gimxinput' (https://github.com/matlo/gimxinput.git) registered                                                                                                                                                              for path 'shared/gimxinput'
Submodule 'shared/gimxlog' (https://github.com/matlo/gimxlog.git) registered for                                                                                                                                                              path 'shared/gimxlog'
Submodule 'shared/gimxpoll' (https://github.com/matlo/gimxpoll.git) registered f                                                                                                                                                             or path 'shared/gimxpoll'
Submodule 'shared/gimxprio' (https://github.com/matlo/gimxprio.git) registered f                                                                                                                                                             or path 'shared/gimxprio'
Submodule 'shared/gimxserial' (https://github.com/matlo/gimxserial.git) register                                                                                                                                                             ed for path 'shared/gimxserial'
Submodule 'shared/gimxtimer' (https://github.com/matlo/gimxtimer.git) registered                                                                                                                                                              for path 'shared/gimxtimer'
Submodule 'shared/gimxuhid' (https://github.com/matlo/gimxuhid.git) registered f                                                                                                                                                             or path 'shared/gimxuhid'
Submodule 'shared/gimxusb' (https://github.com/matlo/gimxusb.git) registered for                                                                                                                                                              path 'shared/gimxusb'
Cloning into '/home/rock64/GIMX/shared/gimx-adapter-protocol'...
remote: Counting objects: 10, done.
remote: Total 10 (delta 0), reused 0 (delta 0), pack-reused 10
Cloning into '/home/rock64/GIMX/shared/gimx-network-protocol'...
remote: Counting objects: 13, done.
remote: Total 13 (delta 0), reused 0 (delta 0), pack-reused 13
Cloning into '/home/rock64/GIMX/shared/gimxcommon'...
remote: Counting objects: 92, done.
remote: Total 92 (delta 0), reused 0 (delta 0), pack-reused 92
Cloning into '/home/rock64/GIMX/shared/gimxprio'...
remote: Counting objects: 45, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 45 (delta 1), reused 3 (delta 1), pack-reused 39
Cloning into '/home/rock64/GIMX/shared/gimxlog'...
remote: Counting objects: 37, done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 37 (delta 15), reused 32 (delta 10), pack-reused 0
Cloning into '/home/rock64/GIMX/shared/gimxpoll'...
remote: Counting objects: 52, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 52 (delta 1), reused 3 (delta 1), pack-reused 46
Cloning into '/home/rock64/GIMX/shared/gimxhid'...
remote: Counting objects: 98, done.
remote: Total 98 (delta 0), reused 0 (delta 0), pack-reused 98
Cloning into '/home/rock64/GIMX/shared/gimxinput'...
remote: Counting objects: 196, done.
remote: Compressing objects: 100% (25/25), done.
remote: Total 196 (delta 7), reused 15 (delta 5), pack-reused 165
Receiving objects: 100% (196/196), 138.31 KiB | 0 bytes/s, done.
Resolving deltas: 100% (86/86), done.
Cloning into '/home/rock64/GIMX/shared/gimxusb'...
remote: Counting objects: 75, done.
remote: Total 75 (delta 0), reused 0 (delta 0), pack-reused 75
Cloning into '/home/rock64/GIMX/shared/gimxserial'...
remote: Counting objects: 73, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 73 (delta 0), reused 2 (delta 0), pack-reused 68
Cloning into '/home/rock64/GIMX/shared/gimxuhid'...
remote: Counting objects: 61, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 61 (delta 0), reused 2 (delta 0), pack-reused 56
Cloning into '/home/rock64/GIMX/shared/gimxtimer'...
remote: Counting objects: 68, done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 68 (delta 1), reused 7 (delta 1), pack-reused 58
Submodule path 'shared/gimx-adapter-protocol': checked out 'f087e1318c6732422c55                                                                                                                                                             297f9c7e1d9cbbb47f18'
Submodule path 'shared/gimx-network-protocol': checked out 'a4b269da0b35df9e4aea                                                                                                                                                             2000868fadbd1326af53'
Submodule path 'shared/gimxcommon': checked out '9a8dee9cb6da1848dba2b6e0ac03904                                                                                                                                                             531671b10'
Submodule path 'shared/gimxhid': checked out '54108db45eb56207aaf3d36671cc4876d2                                                                                                                                                             0b1c2e'
Submodule path 'shared/gimxinput': checked out '717907ccb93e9e8b5fe4482138ee6dca                                                                                                                                                             641fd4b1'
Submodule path 'shared/gimxlog': checked out '9ee1bd2f7284c6e3edf6249caf6754d2b2                                                                                                                                                             5680f7'
Submodule path 'shared/gimxpoll': checked out 'c54e1453cb9e7e1b9b2298e51c678e314                                                                                                                                                             dc1603c'
Submodule path 'shared/gimxprio': checked out '1b503dbc247a7f8e3c4b9bcc31014112a                                                                                                                                                             5b26272'
Submodule path 'shared/gimxserial': checked out 'a285463964c75d9735006f507c91b15                                                                                                                                                             30c8d828f'
Submodule path 'shared/gimxtimer': checked out 'ebdb53af31afb79b2e7f2b3059a61d53                                                                                                                                                             5c7d8841'
Submodule path 'shared/gimxuhid': checked out 'f0ef93b50de919ac50506be3bb311b6e2                                                                                                                                                             d196d70'
Submodule path 'shared/gimxusb': checked out 'dae4e658f1856349e96a177d8fe6b43083                                                                                                                                                             7d4b51'
rock64@rock64:~$
rock64@rock64:~$ cd GIMX
rock64@rock64:~/GIMX$ make -j 4
make -C shared
make -C loader
make -C po
make[1]: Entering directory '/home/rock64/GIMX/po'
make[1]: Entering directory '/home/rock64/GIMX/loader'
make[1]: 'all' is up to date.
make[1]: Leaving directory '/home/rock64/GIMX/po'
make[1]: Entering directory '/home/rock64/GIMX/shared'
make -C gimxlog UHID=1
make -C gimxcontroller UHID=1
make -C gimxupdater UHID=1
make[2]: Entering directory '/home/rock64/GIMX/shared/gimxupdater'
make[2]: Entering directory '/home/rock64/GIMX/shared/gimxlog'
make[2]: Entering directory '/home/rock64/GIMX/shared/gimxcontroller'
g++ -Wall -Wextra -O3 -I../shared `wx-config --cflags` -Winvalid-pch -include wx                                                                                                                                                             _pch.h -DWX_PRECOMP -Wno-unused-local-typedefs  -c -o gimx-loader.o gimx-loader.                                                                                                                                                             cpp
g++ -fPIC -Wall -Wextra -O3 -I../  -c -o updater.o updater.cpp
cc -fPIC -Iinclude -Wall -Wextra -O3 -I../  -c -o src/df_ps2.o src/df_ps2.c
cc -fPIC -Wall -Wextra -O3 -DGLOG_NAME=gimxlog -Iinclude -I../  -c -o src/glog.o                                                                                                                                                              src/glog.c
cc -fPIC -Iinclude -Wall -Wextra -O3 -I../  -c -o src/gtf_ps2.o src/gtf_ps2.c
cc -Iinclude -I../ -fPIC -Wall -Wextra -O3 -DGLOG_NAME=gimxlog -Wall -Wextra -O3                                                                                                                                                              -shared src/glog.o -o libgimxlog.so
make[2]: Leaving directory '/home/rock64/GIMX/shared/gimxlog'
make -C gimxconfigupdater UHID=1
make[2]: Entering directory '/home/rock64/GIMX/shared/gimxconfigupdater'
g++ -fPIC -Wall -Wextra -O3 -I../  -c -o configupdater.o configupdater.cpp
cc -fPIC -Iinclude -Wall -Wextra -O3 -I../  -c -o src/g27_ps3.o src/g27_ps3.c
cc -fPIC -Iinclude -Wall -Wextra -O3 -I../  -c -o src/dfp_ps2.o src/dfp_ps2.c
cc -fPIC -Iinclude -Wall -Wextra -O3 -I../  -c -o src/g29_ps4.o src/g29_ps4.c
cc -fPIC -Iinclude -Wall -Wextra -O3 -I../  -c -o src/joystick.o src/joystick.c
cc -fPIC -Iinclude -Wall -Wextra -O3 -I../  -c -o src/ds2.o src/ds2.c
cc -fPIC -Iinclude -Wall -Wextra -O3 -I../  -c -o src/t300rs_ps4.o src/t300rs_ps                                                                                                                                                             4.c
cc -fPIC -Iinclude -Wall -Wextra -O3 -I../  -c -o src/xbox.o src/xbox.c
cc -fPIC -Iinclude -Wall -Wextra -O3 -I../  -c -o src/ds4.o src/ds4.c
cc -fPIC -Iinclude -Wall -Wextra -O3 -I../  -c -o src/controller.o src/controlle                                                                                                                                                             r.c
cc -fPIC -Iinclude -Wall -Wextra -O3 -I../  -c -o src/xone.o src/xone.c
cc -fPIC -Iinclude -Wall -Wextra -O3 -I../  -c -o src/ds3.o src/ds3.c
cc -I../ -Wall -Wextra -O3 -fPIC -Wall -Wextra -O3 -shared configupdater.o -o li                                                                                                                                                             bgimxconfigupdater.so -lstdc++ `curl-config --libs`
cc -fPIC -Iinclude -Wall -Wextra -O3 -I../  -c -o src/x360.o src/x360.c
cc -I../ -Wall -Wextra -O3 -fPIC -Wall -Wextra -O3 -shared updater.o -o libgimxupdater.so -lstdc++ `curl-config --libs`
make[2]: Leaving directory '/home/rock64/GIMX/shared/gimxconfigupdater'
make -C gimxhid UHID=1
make[2]: Entering directory '/home/rock64/GIMX/shared/gimxhid'
cc -fPIC -Wall -Wextra -O3 -DGLOG_NAME=gimxhid -Iinclude -I. -I../  -c -o src/libusb/ghid.o src/libusb/ghid.c
cc -I../ -fPIC -Iinclude -Wall -Wextra -O3 -Wall -Wextra -O3 -shared src/df_ps2.o src/gtf_ps2.o src/g27_ps3.o src/dfp_ps2.o src/g29_ps4.o src/joystick.o src/ds2.o src/t300rs_ps4.o src/xbox.o src/ds4.o src/controller.o src/xone.o src/ds3.o src/x360.o -o libgimxcontroller.so
cc -fPIC -Wall -Wextra -O3 -DGLOG_NAME=gimxhid -Iinclude -I. -I../  -c -o src/libusb/gusbhid.o src/libusb/gusbhid.c
make[2]: Leaving directory '/home/rock64/GIMX/shared/gimxcontroller'
make -C gimxpoll UHID=1
make[2]: Entering directory '/home/rock64/GIMX/shared/gimxpoll'
make[2]: Leaving directory '/home/rock64/GIMX/shared/gimxupdater'
make -C gimxprio UHID=1
make[2]: Entering directory '/home/rock64/GIMX/shared/gimxprio'
cc -fPIC -Wall -Wextra -O3 -DGLOG_NAME=gimxpoll -Iinclude -I../  -c -o src/posix/gpoll.o src/posix/gpoll.c
cc -fPIC -Wall -Wextra -O3 -DGLOG_NAME=gimxprio -Iinclude -I../  -c -o src/linux/gprio.o src/linux/gprio.c
cc -Iinclude -I../ -fPIC -Wall -Wextra -O3 -DGLOG_NAME=gimxprio -Wall -Wextra -O3 -shared src/linux/gprio.o -o libgimxprio.so -L../gimxlog -lgimxlog
make[2]: Leaving directory '/home/rock64/GIMX/shared/gimxprio'
make -C gimxserial UHID=1
make[2]: Entering directory '/home/rock64/GIMX/shared/gimxserial'
cc -fPIC -Wall -Wextra -O3 -DGLOG_NAME=gimxserial -Iinclude -I. -I../  -c -o async.o ../gimxcommon/src/posix/async.c
cc -Iinclude -I../ -fPIC -Wall -Wextra -O3 -DGLOG_NAME=gimxpoll -Wall -Wextra -O3 -shared src/posix/gpoll.o -o libgimxpoll.so -L../gimxlog -lgimxlog
make[2]: Leaving directory '/home/rock64/GIMX/shared/gimxpoll'
make -C gimxtimer UHID=1
make[2]: Entering directory '/home/rock64/GIMX/shared/gimxtimer'
cc -fPIC -Wall -Wextra -O3 -DGLOG_NAME=gimxtimer -Iinclude -I. -I../  -c -o src/linux/gtimer.o src/linux/gtimer.c
cc -Iinclude -I. -I../ -fPIC -Wall -Wextra -O3 -DGLOG_NAME=gimxtimer -Wall -Wextra -O3 -shared src/linux/gtimer.o -o libgimxtimer.so -L../gimxlog -lgimxlog
cc -fPIC -Wall -Wextra -O3 -DGLOG_NAME=gimxserial -Iinclude -I. -I../  -c -o src/posix/gserial.o src/posix/gserial.c
make[2]: Leaving directory '/home/rock64/GIMX/shared/gimxtimer'
make -C gimxusb UHID=1
make[2]: Entering directory '/home/rock64/GIMX/shared/gimxusb'
cc -fPIC -Wall -Wextra -O3 -DGLOG_NAME=gimxusb -Iinclude -I. -I../  -c -o src/gusb.o src/gusb.c
cc -Iinclude -I. -I../ -fPIC -Wall -Wextra -O3 -DGLOG_NAME=gimxserial -Wall -Wextra -O3 -shared async.o src/posix/gserial.o -o libgimxserial.so -L../gimxlog -lgimxlog
make[2]: Leaving directory '/home/rock64/GIMX/shared/gimxserial'
make -C gimxuhid UHID=1
make[2]: Entering directory '/home/rock64/GIMX/shared/gimxuhid'
cc -fPIC -Wall -Wextra -O3 -DGLOG_NAME=gimxuhid -Iinclude -I. -I../  -c -o src/linux/uhidasync.o src/linux/uhidasync.c
cc -Iinclude -I. -I../ -fPIC -Wall -Wextra -O3 -DGLOG_NAME=gimxhid -Wall -Wextra -O3 -shared src/libusb/ghid.o src/libusb/gusbhid.o -o libgimxhid.so -L../gimxlog -lgimxlog -lusb-1.0
make[2]: Leaving directory '/home/rock64/GIMX/shared/gimxhid'
make -C gimxinput UHID=1
make[2]: Entering directory '/home/rock64/GIMX/shared/gimxinput'
cc -fPIC -DUHID -Wall -Wextra -O3 -DGLOG_NAME=gimxinput -Iinclude -I. -I../  -c -o src/queue.o src/queue.c
cc -fPIC -DUHID -Wall -Wextra -O3 -DGLOG_NAME=gimxinput -Iinclude -I. -I../  -c -o src/conversion.o src/conversion.c
cc -Iinclude -I. -I../ -fPIC -Wall -Wextra -O3 -DGLOG_NAME=gimxuhid -Wall -Wextra -O3 -shared src/linux/uhidasync.o -o libgimxuhid.so -L../gimxlog -lgimxlog
make[2]: Leaving directory '/home/rock64/GIMX/shared/gimxuhid'
make -C gimxgpp UHID=1
make[2]: Entering directory '/home/rock64/GIMX/shared/gimxgpp'
cc -fPIC -Iinclude -Wall -Wextra -O3 -I../  -c -o pcprog.o pcprog.c
cc -fPIC -DUHID -Wall -Wextra -O3 -DGLOG_NAME=gimxinput -Iinclude -I. -I../  -c -o src/ginput.o src/ginput.c
cc -I../ -fPIC -Iinclude -Wall -Wextra -O3 -Wall -Wextra -O3 -shared pcprog.o -o libgimxgpp.so -L../gimxlog -L../gimxhid -lgimxlog -lgimxhid
make[2]: Leaving directory '/home/rock64/GIMX/shared/gimxgpp'
cc -fPIC -DUHID -Wall -Wextra -O3 -DGLOG_NAME=gimxinput -Iinclude -I. -I../  -c -o src/hid/steamcontroller.o src/hid/steamcontroller.c
cc -fPIC -DUHID -Wall -Wextra -O3 -DGLOG_NAME=gimxinput -Iinclude -I. -I../  -c -o src/hid/logitechwheel.o src/hid/logitechwheel.c
cc -Iinclude -I. -I../ -fPIC -Wall -Wextra -O3 -DGLOG_NAME=gimxusb -Wall -Wextra -O3 -shared src/gusb.o -o libgimxusb.so -L../gimxlog -lusb-1.0 -lgimxlog
make[2]: Leaving directory '/home/rock64/GIMX/shared/gimxusb'
cc -fPIC -DUHID -Wall -Wextra -O3 -DGLOG_NAME=gimxinput -Iinclude -I. -I../  -c -o src/hid/hidinput.o src/hid/hidinput.c
cc -fPIC -DUHID -Wall -Wextra -O3 -DGLOG_NAME=gimxinput -Iinclude -I. -I../  -c -o src/linux/mkb.o src/linux/mkb.c
cc -fPIC -DUHID -Wall -Wextra -O3 -DGLOG_NAME=gimxinput -Iinclude -I. -I../  -c -o src/linux/events.o src/linux/events.c
cc -fPIC -DUHID -Wall -Wextra -O3 -DGLOG_NAME=gimxinput -Iinclude -I. -I../  -c -o src/linux/js.o src/linux/js.c
cc -fPIC -DUHID -Wall -Wextra -O3 -DGLOG_NAME=gimxinput -Iinclude -I. -I../  -c -o src/linux/keycodes.o src/linux/keycodes.c
cc -fPIC -DUHID -Wall -Wextra -O3 -DGLOG_NAME=gimxinput -Iinclude -I. -I../  -c -o src/linux/xinput.o src/linux/xinput.c
g++ -Wall -Wextra -O3 -I../shared `wx-config --cflags` -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wno-unused-local-typedefs  -c -o loaderApp.o loaderApp.cpp
cc -Iinclude -I. -I../ -fPIC -DUHID -Wall -Wextra -O3 -DGLOG_NAME=gimxinput -Wall -Wextra -O3 -shared src/queue.o src/conversion.o src/ginput.o src/hid/steamcontroller.o src/hid/logitechwheel.o src/hid/hidinput.o src/linux/mkb.o src/linux/events.o src/linux/js.o src/linux/keycodes.o src/linux/xinput.o -o libgimxinput.so -L../gimxlog -L../gimxhid -L../gimxuhid -lgimxlog -lgimxhid -lgimxuhid -lXi -lX11
make[2]: Leaving directory '/home/rock64/GIMX/shared/gimxinput'
make -C gimxconfigeditor UHID=1
make[2]: Entering directory '/home/rock64/GIMX/shared/gimxconfigeditor'
g++ -fPIC `xml2-config --cflags` -Iinclude -Wall -Wextra -O3 -I../  -c -o src/EventCatcher.o src/EventCatcher.cpp
g++ -fPIC `xml2-config --cflags` -Iinclude -Wall -Wextra -O3 -I../  -c -o src/Trigger.o src/Trigger.cpp
g++ -fPIC `xml2-config --cflags` -Iinclude -Wall -Wextra -O3 -I../  -c -o src/XmlWritter.o src/XmlWritter.cpp
In file included from /usr/include/wx-3.0/wx/version.h:16:0,
                 from /usr/include/wx-3.0/wx/defs.h:193,
                 from /usr/include/wx-3.0/wx/wxprec.h:12,
                 from ./wx_pch.h:6,
                 from <command-line>:0:
gimx-loader.cpp: In member function 'void loaderFrame::OnAbout(wxCommandEvent&)':
/usr/include/wx-3.0/wx/chartype.h:238:44: error: 'LINFO_ARCH' was not declared in this scope
             #define wxT(x) wxCONCAT_HELPER(L, x)
                                            ^
/usr/include/wx-3.0/wx/cpp.h:18:37: note: in definition of macro 'wxCONCAT_HELPER'
 #define wxCONCAT_HELPER(text, line) text ## line
                                     ^~~~
gimx-loader.cpp:171:71: note: in expansion of macro 'wxT'
     info.SetVersion(wxT(INFO_VERSION) + wxString(wxT(" ")) + wxString(wxT(INFO_ARCH)));
                                                                       ^~~
<builtin>: recipe for target 'gimx-loader.o' failed
make[1]: *** [gimx-loader.o] Error 1
make[1]: *** Waiting for unfinished jobs....
g++ -fPIC `xml2-config --cflags` -Iinclude -Wall -Wextra -O3 -I../  -c -o src/Event.o src/Event.cpp
g++ -fPIC `xml2-config --cflags` -Iinclude -Wall -Wextra -O3 -I../  -c -o src/ControlMapper.o src/ControlMapper.cpp
g++ -fPIC `xml2-config --cflags` -Iinclude -Wall -Wextra -O3 -I../  -c -o src/Controller.o src/Controller.cpp
g++ -fPIC `xml2-config --cflags` -Iinclude -Wall -Wextra -O3 -I../  -c -o src/ConfigurationFile.o src/ConfigurationFile.cpp
g++ -fPIC `xml2-config --cflags` -Iinclude -Wall -Wextra -O3 -I../  -c -o src/MouseOptions.o src/MouseOptions.cpp
g++ -fPIC `xml2-config --cflags` -Iinclude -Wall -Wextra -O3 -I../  -c -o src/JoystickCorrections.o src/JoystickCorrections.cpp
g++ -fPIC `xml2-config --cflags` -Iinclude -Wall -Wextra -O3 -I../  -c -o src/Profile.o src/Profile.cpp
g++ -fPIC `xml2-config --cflags` -Iinclude -Wall -Wextra -O3 -I../  -c -o src/ForceFeedback.o src/ForceFeedback.cpp
make[1]: Leaving directory '/home/rock64/GIMX/loader'
Makefile:15: recipe for target 'build-loader' failed
make: *** [build-loader] Error 2
make: *** Waiting for unfinished jobs....
g++ -fPIC `xml2-config --cflags` -Iinclude -Wall -Wextra -O3 -I../  -c -o src/Device.o src/Device.cpp
g++ -fPIC `xml2-config --cflags` -Iinclude -Wall -Wextra -O3 -I../  -c -o src/Intensity.o src/Intensity.cpp
g++ -fPIC `xml2-config --cflags` -Iinclude -Wall -Wextra -O3 -I../  -c -o src/XmlReader.o src/XmlReader.cpp
cc -I../ -Wall -Wextra -O3 -fPIC `xml2-config --cflags` -Iinclude -Wall -Wextra -O3 -shared src/EventCatcher.o src/Trigger.o src/XmlWritter.o src/Event.o src/ControlMapper.o src/Controller.o src/ConfigurationFile.o src/MouseOptions.o src/JoystickCorrections.o src/Profile.o src/ForceFeedback.o src/Device.o src/Intensity.o src/XmlReader.o -o libgimxconfigeditor.so -lstdc++ -L../gimxhid -L../gimxinput -L../gimxtimer -L../gimxpoll -L../gimxcontroller -L../gimxuhid `xml2-config --libs` -lgimxhid -lgimxinput -lgimxtimer -lgimxpoll -lgimxcontroller -lgimxuhid
make[2]: Leaving directory '/home/rock64/GIMX/shared/gimxconfigeditor'
make[1]: Leaving directory '/home/rock64/GIMX/shared'
rock64@rock64:~/GIMX$ sudo chmod u+s /usr/bin/gimx /usr/bin/sixaddr /usr/bin/bdaddr /usr/bin/hcirevision
chmod: cannot access '/usr/bin/gimx': No such file or directory
rock64@rock64:~/GIMX$


User avatar
Matlo
Posts: 4769
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: arm64 support?

Post by Matlo » Sat Feb 10, 2018 9:54 am

I just added a fallback value for INFO_ARCH if architecture is unknown.

Please pull and try compiling again:

Code: Select all

cd /home/rock64/GIMX
git pull
make -j 4
GIMX creator Donate Shop

sephirotdnf
Posts: 66
Joined: Sat Feb 23, 2013 4:11 pm

Re: arm64 support?

Post by sephirotdnf » Sat Feb 10, 2018 10:31 am

gimx-launcher.cpp: In member function 'void launcherFrame::OnMenuUpdate(wxCommandEvent&)':
gimx-launcher.cpp:1771:57: error: 'DOWNLOAD_URL' was not declared in this scope
u->SetParams(VERSION_URL, VERSION_FILE, INFO_VERSION, DOWNLOAD_URL, DOWNLOAD_FILE);

User avatar
Matlo
Posts: 4769
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: arm64 support?

Post by Matlo » Sat Feb 10, 2018 3:37 pm

Ok, I disabled updater when architecture is unknown.

Please clean, pull, and try compiling again:

Code: Select all

cd /home/rock64/GIMX
make clean
git pull
make -j 4
GIMX creator Donate Shop

sephirotdnf
Posts: 66
Joined: Sat Feb 23, 2013 4:11 pm

Re: arm64 support?

Post by sephirotdnf » Sat Feb 10, 2018 4:41 pm

Worked like a charm!

Thank You!!

Post Reply