News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
L

ARNOLD and Pocket C.H.I.P. Compilation Problem (ARMv7)

Started by LambdaMikel, 07:48, 18 September 18

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LambdaMikel

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. 


arnoldemu

Quote from: LambdaMikel on 07: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.
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.
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

LambdaMikel

Hi arnoldemu, thanks for looking into it.
I got the version from Github.

LambdaMikel

#3
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.


arnoldemu


Quote from: LambdaMikel on 14: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.
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.

My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

LambdaMikel

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.

arnoldemu



Quote from: LambdaMikel on 18: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.
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





My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

LambdaMikel

#8
... 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.

LambdaMikel

In the release directory, I have unzipped roms.zip, and started arnold again, but I am still getting the grey screen.

LambdaMikel

Quote from: arnoldemu on 09:37, 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

LambdaMikel

Quote from: LambdaMikel on 15:28, 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!

Powered by SMFPacks Menu Editor Mod