Author Topic: ARNOLD and Pocket C.H.I.P. Compilation Problem (ARMv7)  (Read 683 times)

0 Members and 1 Guest are viewing this topic.

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.553
  • Country: us
    • Homepage
  • Liked: 823
  • Likes Given: 626
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. 


Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.332
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2246
  • Likes Given: 3477
Re: ARNOLD and Pocket C.H.I.P. Compilation Problem (ARMv7)
« Reply #1 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.
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.553
  • Country: us
    • Homepage
  • Liked: 823
  • Likes Given: 626
Re: ARNOLD and Pocket C.H.I.P. Compilation Problem (ARMv7)
« Reply #2 on: 16:20, 18 September 18 »
Hi arnoldemu, thanks for looking into it.
I got the version from Github.

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.553
  • Country: us
    • Homepage
  • Liked: 823
  • Likes Given: 626
Re: ARNOLD and Pocket C.H.I.P. Compilation Problem (ARMv7)
« Reply #3 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.
« Last Edit: 16:51, 18 September 18 by LambdaMikel »

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.553
  • Country: us
    • Homepage
  • Liked: 823
  • Likes Given: 626
Re: ARNOLD and Pocket C.H.I.P. Compilation Problem (ARMv7)
« Reply #4 on: 19:29, 19 September 18 »

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.332
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2246
  • Likes Given: 3477
Re: ARNOLD and Pocket C.H.I.P. Compilation Problem (ARMv7)
« Reply #5 on: 19:34, 19 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

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.553
  • Country: us
    • Homepage
  • Liked: 823
  • Likes Given: 626
Re: ARNOLD and Pocket C.H.I.P. Compilation Problem (ARMv7)
« Reply #6 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.

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.332
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2246
  • Likes Given: 3477
Re: ARNOLD and Pocket C.H.I.P. Compilation Problem (ARMv7)
« Reply #7 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





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

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.553
  • Country: us
    • Homepage
  • Liked: 823
  • Likes Given: 626
Re: ARNOLD and Pocket C.H.I.P. Compilation Problem (ARMv7)
« Reply #8 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.
« Last Edit: 17:13, 20 September 18 by LambdaMikel »

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.553
  • Country: us
    • Homepage
  • Liked: 823
  • Likes Given: 626
Re: ARNOLD and Pocket C.H.I.P. Compilation Problem (ARMv7)
« Reply #9 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.

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.553
  • Country: us
    • Homepage
  • Liked: 823
  • Likes Given: 626
Re: ARNOLD and Pocket C.H.I.P. Compilation Problem (ARMv7)
« Reply #10 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

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.553
  • Country: us
    • Homepage
  • Liked: 823
  • Likes Given: 626
Re: ARNOLD and Pocket C.H.I.P. Compilation Problem (ARMv7)
« Reply #11 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!