AxRuntime

deadwood · 6319

amigamia

  • Junior Member
  • **
    • Posts: 91
    • Karma: +45/-0
    • AROS World
Reply #15 on: February 07, 2022, 04:09:48 AM
Check on Discord. I have attached the file there


deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1002
    • Karma: +103/-0
Reply #16 on: February 07, 2022, 07:36:08 AM
Ok, I see where the problem is. I'll look into a solution.



deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1002
    • Karma: +103/-0
Reply #17 on: February 08, 2022, 12:35:13 PM
Fix pushed. Please update and rebuild. :)

I did a complete build under Pop!OS 21.10 so you should not get more surprises. One thing to note is that Right-Buttom menu displays underneath the Pop!OS top bar. It is there, but not visible. If you move your mouse to it, submenus will become visible.



amigamia

  • Junior Member
  • **
    • Posts: 91
    • Karma: +45/-0
    • AROS World
Reply #18 on: February 08, 2022, 09:25:03 PM
Fix pushed. Please update and rebuild. :)

I did a complete build under Pop!OS 21.10 so you should not get more surprises. One thing to note is that Right-Buttom menu displays underneath the Pop!OS top bar. It is there, but not visible. If you move your mouse to it, submenus will become visible.

Code: [Select]
Makedepend workbench/classes/datatypes/jpeg/jpegclass.c...
Makedepend bin/runtimelinux-x86_64/gen/workbench/classes/datatypes/jpeg/jpeg/jpeg_end.c...
Makedepend bin/runtimelinux-x86_64/gen/workbench/classes/datatypes/jpeg/jpeg/jpeg_getresident.c...
Makedepend bin/runtimelinux-x86_64/gen/workbench/classes/datatypes/jpeg/jpeg/jpeg_start.c...
/home/vinny/Documents/projects/myrepo/AROS/workbench/classes/datatypes/jpeg/./jpegclass.c:36:10: fatal error: jpeglib.h: No such file or directory
   36 | #include <jpeglib.h>
      |          ^~~~~~~~~~~
compilation terminated.
Compiling  bin/runtimelinux-x86_64/gen/workbench/classes/datatypes/jpeg/jpeg/jpeg_start.c
Compiling  bin/runtimelinux-x86_64/gen/workbench/classes/datatypes/jpeg/jpeg/jpeg_getresident.c
Compiling  workbench/classes/datatypes/jpeg/jpegclass.c
Compiling  workbench/classes/datatypes/jpeg/stubs.c
Compiling  workbench/classes/datatypes/jpeg/memory.c
/tmp/ccxoDELJ.s: Assembler messages:
/tmp/ccxoDELJ.s:444: Warning: setting incorrect section attributes for .text.romtag
Compiling  bin/runtimelinux-x86_64/gen/workbench/classes/datatypes/jpeg/jpeg/jpeg_end.c
Compile failed: /usr/bin/gcc -iquote /home/vinny/Documents/projects/myrepo/AROS/workbench/classes/datatypes/jpeg/./ -iquote /home/vinny/Documents/projects/myrepo/AROS/workbench/classes/datatypes/jpeg -iquote .  -mcmodel=large -mno-red-zone -I /home/vinny/Documents/projects/myrepo/alt-runtimelinux-x86_64-d/bin/runtimelinux-x86_64/AROS/Development/include -D__AROS__ -O0 -fno-omit-frame-pointer -fno-common -Wno-pointer-sign -Wno-parentheses -g -fPIC -fvisibility=hidden -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_PERSONAL -DADEBUG=1 -DMDEBUG=1 -DMYDEBUG -DAROS_LC_SETFUNCS -I/home/vinny/Documents/projects/myrepo/alt-runtimelinux-x86_64-d/bin/runtimelinux-x86_64/gen/workbench/classes/datatypes/jpeg/jpeg/include -include /home/vinny/Documents/projects/myrepo/alt-runtimelinux-x86_64-d/bin/runtimelinux-x86_64/gen/workbench/classes/datatypes/jpeg/jpeg/include/jpeg_deflibdefs.h -D__AROS_GIMME_DEPRECATED__ -D__SRCFILENAME__="workbench/classes/datatypes/jpeg/jpegclass.c" -c /home/vinny/Documents/projects/myrepo/AROS/workbench/classes/datatypes/jpeg/./jpegclass.c -o /home/vinny/Documents/projects/myrepo/alt-runtimelinux-x86_64-d/bin/runtimelinux-x86_64/gen/workbench/classes/datatypes/jpeg/jpeg/jpegclass.o
/home/vinny/Documents/projects/myrepo/AROS/workbench/classes/datatypes/jpeg/./jpegclass.c:36:10: fatal error: jpeglib.h: No such file or directory
   36 | #include <jpeglib.h>
      |          ^~~~~~~~~~~
compilation terminated.
make[1]: *** [mmakefile:1031: /home/vinny/Documents/projects/myrepo/alt-runtimelinux-x86_64-d/bin/runtimelinux-x86_64/gen/workbench/classes/datatypes/jpeg/jpeg/jpegclass.o] Error 1
make[1]: *** Waiting for unfinished jobs....
/home/vinny/Documents/projects/myrepo/AROS/workbench/classes/datatypes/jpeg/./jpegclass.c:36:10: fatal error: jpeglib.h: No such file or directory
   36 | #include <jpeglib.h>
      |          ^~~~~~~~~~~
compilation terminated.
[MMAKE] make --no-print-directory TOP=/home/vinny/Documents/projects/myrepo/alt-runtimelinux-x86_64-d SRCDIR=/home/vinny/Documents/projects/myrepo/AROS CURDIR=workbench/classes/datatypes/jpeg TARGET=workbench-datatypes-jpeg --file=mmakefile workbench-datatypes-jpeg failed: 512
[MMAKE] Error: Error while running make in workbench/classes/datatypes/jpeg: No such file or directory
make: *** [Makefile:121: all] Error 10



Not sure what you mean about the submenu. Take a screenshot if you can.


deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1002
    • Karma: +103/-0
Reply #19 on: February 08, 2022, 09:28:01 PM
You are missing a development package on linux side. The list from install instructions should take care of it. :)

Code: [Select]
$ sudo apt install subversion git-core gcc g++ make gawk bison flex bzip2 netpbm autoconf automake libx11-dev libxext-dev libc6-dev liblzo2-dev libxxf86vm-dev libpng-dev gcc-multilib libsdl1.2-dev byacc python-mako python3-mako libxcursor-dev cmake genisoimage libjpeg-dev



amigamia

  • Junior Member
  • **
    • Posts: 91
    • Karma: +45/-0
    • AROS World
Reply #20 on: February 08, 2022, 09:37:06 PM
I ran them at the beginning but I ran them again. I had this message. Just FYI.

Code: [Select]

However the following packages replace it:
  python3-mako

E: Package 'python-mako' has no installation candidate

removed python-mako from the list and had no errors this time. I saw it grabbed the libjpeg or some like that. Now it's cooking with the right oil  :)

Waiting for the script to finish..



amigamia

  • Junior Member
  • **
    • Posts: 91
    • Karma: +45/-0
    • AROS World
Reply #21 on: February 08, 2022, 09:42:17 PM
Code: [Select]
inking    AROS/Development/Debug/Tests/utility/utility50...
Linking    AROS/Development/Debug/Tests/utility/vartags...
[MMAKE] Making boot in boot
Writing /home/vinny/Documents/projects/myrepo/alt-runtimelinux-x86_64-d/bin/runtimelinux-x86_64/AROS/AROS.boot...
[MMAKE] >> Making AROS
2496 /home/vinny/Documents/projects/myrepo/alt-runtimelinux-x86_64-d/bin/runtimelinux-x86_64/gen/errors


Looks like it completed? Going to the next steps of validating now..




amigamia

  • Junior Member
  • **
    • Posts: 91
    • Karma: +45/-0
    • AROS World
Reply #22 on: February 08, 2022, 09:52:21 PM
SUCCESS!!!


deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1002
    • Karma: +103/-0
Reply #23 on: February 09, 2022, 07:30:30 AM
Great! Now you can browse your entire file system with Wanderer. You can't yet create directories with Wanderer, but that will come at some moment. You can also try compiling other parts of AROS. Some of them may already work, some may not yet. For any other executable, you just need to copy the loader. For example the AHI settings programs (which is already compiled), should also work now :)



amigamia

  • Junior Member
  • **
    • Posts: 91
    • Karma: +45/-0
    • AROS World
Reply #24 on: February 10, 2022, 12:32:06 PM
That's very interesting!

So, what if I want to compile a simple SDL2 hello world for AROS, can I use AxRuntime the other way around?


deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1002
    • Karma: +103/-0
Reply #25 on: February 10, 2022, 03:06:28 PM
I think the best answer is for your case is like this: think about AxRuntime like a set of additional libraries that you can use in your Linux application. If you application uses SDL2, it will use Linux-side SDL2 which will open a Linux window that is not controlled by Intuition.  However in the same application you can use Dos calls to read files, or show Intuition requesters or use Datatypes. This will work together with Linux-side SDL2. Of course this application won't be available under AROS, because we are missing SDL2 port ATM.



deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1002
    • Karma: +103/-0
Reply #26 on: February 17, 2022, 03:56:29 PM
Hi,

Some update from me: I'm currently working on making AROSShell to be available under Linux. This means AmigaDOS commands and scripts can be used directly when using Linux.




OlafS3

  • Senior Member
  • ****
    • Posts: 410
    • Karma: +46/-0
Reply #27 on: February 18, 2022, 11:43:21 AM
I am only wondering what you are aiming to?

a kind of linux distribution with look&feel and all libraries from aros?



deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1002
    • Karma: +103/-0
Reply #28 on: February 18, 2022, 12:16:07 PM
There are two directions.

From developers point of view, this should shorten development cycle and let you use modern tooling available on Linux, which is not always available on Amiga-like OSs. There is already one uses describe here: https://www.sicpers.info/2020/05/continuous-integration-for-amiga/

From users point of view, eventually this can lead to what you describe. A system with look & feel & behavior of AmigaOS, but running on wide range of hardware as well as having modern applications (read: browser). Ideally someone who is interesting in building distributions would step up to this, I would focus on providing software.



OlafS3

  • Senior Member
  • ****
    • Posts: 410
    • Karma: +46/-0
Reply #29 on: February 18, 2022, 12:37:46 PM
There are two directions.

From developers point of view, this should shorten development cycle and let you use modern tooling available on Linux, which is not always available on Amiga-like OSs. There is already one uses describe here: https://www.sicpers.info/2020/05/continuous-integration-for-amiga/

From users point of view, eventually this can lead to what you describe. A system with look & feel & behavior of AmigaOS, but running on wide range of hardware as well as having modern applications (read: browser). Ideally someone who is interesting in building distributions would step up to this, I would focus on providing software.

sounds interesting. There should be people interested in supporting it, f.e. a new version of icaros desktop. It sounds a little (naiv said of course ;) ) like what Michal already started. Perhaps you two could work together on it.