Problem building the emu

Talk about anything concerning the source code.
Post Reply
User avatar
Zero
Posts: 68
Joined: Tue Aug 16, 2011 9:10 pm

Problem building the emu

Post by Zero »

Happy new year Matlo, :)

I've taken the source from the GIT repo but I am failing to build it on a linux box.
More specifically I cant build the emu client (make emu).

I get the following error:
connectors/sixaxis.o: In function `sixaxis_connect':
sixaxis.c:(.text+0x1ada): undefined reference to `GE_AddSource'
sixaxis.c:(.text+0x1afc): undefined reference to `GE_AddSource'
controllers/ds3.o: In function `ds3_report_build':
ds3.c:(.text+0x8a): undefined reference to `clamp'
ds3.c:(.text+0xab): undefined reference to `clamp'
ds3.c:(.text+0xcc): undefined reference to `clamp'
ds3.c:(.text+0xed): undefined reference to `clamp'
ds3.c:(.text+0x213): undefined reference to `clamp'
controllers/ds3.o:ds3.c:(.text+0x23f): more undefined references to `clamp' follow
collect2: error: ld returned 1 exit status
make: *** [emu] Error 1

I've noticed you've changed the makefile's recently and I'm not sure how to get it to compile.
The methods specified above are added in dependencies at the beginning of the file if I'm not mistaking ... so I'm not sure
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Problem building the emu

Post by Matlo »

Happy new year :)

There is no more emu in the master branch, which currently is the dev branch.
I merged emu and emuclient in a single binary called gimx.

The following command is equivalent to running emu+emuclient:

Code: Select all

gimx -c <config file> -b <ps3 bdaddr>
Note that the -b argument should be the last one.
For example if you want to add the subpos and status flags:

Code: Select all

gimx -c <config file> --status --curses -b <ps3 bdaddr>
GIMX creator
User avatar
Zero
Posts: 68
Joined: Tue Aug 16, 2011 9:10 pm

Re: Problem building the emu

Post by Zero »

Cool Matlo :)
Thank you for the update.
So I take it the service listening for network updates is gone and now all the updates of the sixaxis are done directly in memory?
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Problem building the emu

Post by Matlo »

Yes, everything can be done with a single process, which is better, especially on small targets.

But the network capabilities got expanded: it's possible to make a gimx process send updates to another gimx process (that can run on the same host, or another one).
GIMX creator
Post Reply