CPCWiki forum

General Category => Emulators => Topic started by: LambdaMikel on 09:48, 18 September 18

Title: ARNOLD and Pocket C.H.I.P. Compilation Problem (ARMv7)
Post by: LambdaMikel on 09:48, 18 September 18
Is the maintainer / developer of ARNOLD a member here? (Sorry if this is a stupid question  ;) Still relatively new to the CPC scene!)

Problem - it doesn't compile on Pocket C.H.I.P.
I am attaching the output of configure and make, and config.status.
make fails with "/usr/bin/ld: invalid BFD target `elf32-i386'".

I tried setting this manually (obviously, the architecture is wrong - it should be ARMv7 or the like)
in the generated makefile to armv7l, but to no avail. 

Title: Re: ARNOLD and Pocket C.H.I.P. Compilation Problem (ARMv7)
Post by: arnoldemu on 11:18, 18 September 18
Is the maintainer / developer of ARNOLD a member here? (Sorry if this is a stupid question  ;) Still relatively new to the CPC scene!)

Problem - it doesn't compile on Pocket C.H.I.P.
I am attaching the output of configure and make, and config.status.
make fails with "/usr/bin/ld: invalid BFD target `elf32-i386'".

I tried setting this manually (obviously, the architecture is wrong - it should be ARMv7 or the like)
in the generated makefile to armv7l, but to no avail.
Hi!

It looks like you are compiling the older version of Arnold. This version is not actively maintained.The "wip" (work in progress) is the actively maintained one.

I have compiled the old version on raspberry pi and I will need to look at the makefile. I think the target also needs to be defined for the linker in the makefile.
Title: Re: ARNOLD and Pocket C.H.I.P. Compilation Problem (ARMv7)
Post by: LambdaMikel on 16:20, 18 September 18
Hi arnoldemu, thanks for looking into it.
I got the version from Github.
Title: Re: ARNOLD and Pocket C.H.I.P. Compilation Problem (ARMv7)
Post by: LambdaMikel on 16:37, 18 September 18
Is this the right version?
http://www.cpctech.org.uk/arnoldsrc.zip

If so, then ./makeit.sh fails with "wxformbuilder: command not found", and "aptitude search wxformbuilder" returns nothing.
Title: Re: ARNOLD and Pocket C.H.I.P. Compilation Problem (ARMv7)
Post by: LambdaMikel on 19:29, 19 September 18

Will be trying Arnold for RPi next -
https://www.raspberrypi.org/forums/viewtopic.php?t=138885 (https://www.raspberrypi.org/forums/viewtopic.php?t=138885)

seems that this links to a file here on the forum:

http://www.cpcwiki.eu/forum/emulators/arnold-wip/?action=dlattach;attach=17709 (http://www.cpcwiki.eu/forum/emulators/arnold-wip/?action=dlattach;attach=17709)
Title: Re: ARNOLD and Pocket C.H.I.P. Compilation Problem (ARMv7)
Post by: arnoldemu on 19:34, 19 September 18

Is this the right version?
http://www.cpctech.org.uk/arnoldsrc.zip (http://www.cpctech.org.uk/arnoldsrc.zip)

If so, then ./makeit.sh fails with "wxformbuilder: command not found", and "aptitude search wxformbuilder" returns nothing.
it's best to use ./make_arnz80_release.sh


wxformbuilder builds the GUIFrame.xrc file (the UI definition). It will be up to date in the source so it's not needed.

Title: Re: ARNOLD and Pocket C.H.I.P. Compilation Problem (ARMv7)
Post by: LambdaMikel on 20:41, 19 September 18
I have successfully compiled / built it!
It starts up, but I am getting a grey screen.
SCreenresolution? How do I change that?
I couldn't find a config file. And none of the
command line options seems to have it.
Title: Re: ARNOLD and Pocket C.H.I.P. Compilation Problem (ARMv7)
Post by: arnoldemu on 11:37, 20 September 18


I have successfully compiled / built it!
It starts up, but I am getting a grey screen.
SCreenresolution? How do I change that?
I couldn't find a config file. And none of the
command line options seems to have it.
sounds like it can't find the roms, it's doing like a real cpc would ;) What do people see when the rom is broken in a real cpc? A grey screen with black border.



"make install" should then do it. You will need to change to the build_arnz80_release folder to do that.


It either installs to ~/.local/bin
or /usr/local/bin or /usr/bin





Title: Re: ARNOLD and Pocket C.H.I.P. Compilation Problem (ARMv7)
Post by: LambdaMikel on 17:11, 20 September 18
... but there is no rule to make target 'install'.
Can I supply the ROM location by hand to arnold?
Also, the install.txt reads "Linux .. Arnold doesn't need to be installed".
And it has built the executable in exe.
Title: Re: ARNOLD and Pocket C.H.I.P. Compilation Problem (ARMv7)
Post by: LambdaMikel on 17:17, 20 September 18
In the release directory, I have unzipped roms.zip, and started arnold again, but I am still getting the grey screen.
Title: Re: ARNOLD and Pocket C.H.I.P. Compilation Problem (ARMv7)
Post by: LambdaMikel on 17:28, 20 September 18
You will need to change to the build_arnz80_release folder to do that.
Upps, I should read before I post - let me check again  ;D
Title: Re: ARNOLD and Pocket C.H.I.P. Compilation Problem (ARMv7)
Post by: LambdaMikel on 17:57, 20 September 18
Upps, I should read before I post - let me check again  ;D
Actually, no, same thing - no rule for target install. And the INSTALL.TXT says you don't have to do that anyway.If not, it's ok, I have Caprice RPi and Caprice 32 running perfectly fine on the Pocket C.H.I.P. No ned to spend a lotof time looking into that.

Thanks so far!