Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
93 user(s) are online (74 user(s) are browsing Forums)

Members: 2
Guests: 91

kas1e, K-L, more...

Headlines

 
  Register To Post  

(1) 2 »
Porting astromenace to AmigaOS4
Not too shy to talk
Not too shy to talk


See User information
@all

BSzili and Beworld has ported Astromenace to MOS.
https://github.com/BeWorld2018/astromenace/tree/MorphOS

Now I have cloned MorphOS branch and trying to build on CMake
(I am using amigagccondocker on Ubuntu 22)

First I did this:

cmake -DCMAKE_SYSTEM_NAME=GENERIC -DUSE_SDL2=-DCMAKE_SYSTEM_VERSION=-DLIBCXX_ENABLE_THREADS=ON -DCMAKE_C_COMPILER="/opt/ppc-amigaos/bin/ppc-amigaos-gcc" -DCMAKE_CXX_COMPILER="/opt/ppc-amigaos/bin/ppc-amigaos-g++" -DCMAKE_LINKER="/opt/ppc-amigaos/bin/ppc-amigaos-ld" -DCMAKE_AR="/opt/ppc-amigaos/bin/ppc-amigaos-ar" -DCMAKE_RANLIB="/opt/ppc-amigaos/bin/ppc-amigaos-ranlib" -DCMAKE_FIND_ROOT_PATH="/opt/ppc-amigaos/ppc-amigaos/" -DSDL2_INCLUDE_DIR="/opt/sdk/local/newlib/include/SDL2/" -DSDL2_LIBRARY="/opt/sdk/local/newlib/lib/libSDL2.a" -DOPENGL_INCLUDE_DIR="/opt/sdk/local/newlib/include/EGL/" -DOPENGL_opengl_LIBRARY="/opt/sdk/local/newlib/lib/libGL.a" -DOPENGL_glx_LIBRARY="/opt/sdk/local/newlib/lib/libGL.a" -DOPENAL_INCLUDE_DIR="/opt/sdk/local/newlib/include/AL/" -DOPENAL_LIBRARY="/opt/sdk/local/newlib/lib/libopenal.a" -DALUT_LIBRARY="/opt/sdk/local/newlib/lib/libalut.a" -DALUT_INCLUDE_DIR="/opt/sdk/local/newlib/include/AL/" -DOGG_LIBRARY="/opt/sdk/local/newlib/lib/libogg.a" -DOGG_INCLUDE_DIR="/opt/sdk/local/common/include/ogg/" -DVORBIS_LIBRARY="/opt/sdk/local/newlib/lib/libvorbis.a" -DVORBIS_INCLUDE_DIR="/opt/sdk/local/common/include/vorbis/" -DVORBISFILE_LIBRARY="/opt/sdk/local/newlib/lib/libvorbisfile.a" -DVORBISFILE_INCLUDE_DIR="/opt/sdk/local/common/include/vorbis/" -DFREETYPE_LIBRARY="/opt/sdk/local/newlib/lib/freetype.a" -DFREETYPE_INCLUDE_DIRS="/opt/sdk/local/common/include/freetype/" ..
System is unknown to cmakecreate:
Platform/AMIGAOS4 to use this systemplease post your config file on discourse.cmake.org so it can be added to cmake
Your CMakeCache
.txt file was copied to CopyOfCMakeCache.txtPlease post that file on discourse.cmake.org.
-- 
Found alut: /opt/sdk/local/newlib/lib/libalut.a
-- Found alut headers: /opt/sdk/local/newlib/include/AL
-- Found ogg: /opt/sdk/local/newlib/lib/libogg.a
-- Found ogg headers: /opt/sdk/local/common/include/ogg
-- Found vorbis: /opt/sdk/local/newlib/lib/libvorbis.a
-- Found vorbisfile: /opt/sdk/local/newlib/lib/libvorbisfile.a
-- Found vorbisfile headers: /opt/sdk/local/common/include/vorbis
-- Found freetype2 headers: /opt/sdk/local/common/include/freetype/
-- 
CMAKE_CXX_FLAGS:  -std=c++11 -fno-exceptions -fno-rtti -Wnon-virtual-dtor -Wshadow -Winit-self -Wcast-align -Winline -Wunreachable-code -Wmissing-include-dirs -Wmain -Wextra -Wall -Weffc++ -Wno-attributes -Wzero-as-null-pointer-constant
Game data dir
: /opt/Desktop/astromenace/gamedata/
-- 
Configuring done
-- Generating done
-- Build files have been written to: /opt/Desktop/astromenace/build


When I try "make":

root@6d0fe1651822:/opt/Desktop/astromenace/build# make
[  0%] Building CXX object CMakeFiles/astromenace.dir/src/assets/audio.cpp.obj
cc1plus
warning: /opt/sdk/local/newlib/include/SDL2No such file or directory [-Wmissing-include-dirs]
cc1pluswarning: /opt/sdk/local/newlib/include/EGLNo such file or directory [-Wmissing-include-dirs]
cc1pluswarning: /opt/sdk/local/newlib/include/ALNo such file or directory [-Wmissing-include-dirs]
cc1pluswarning: /opt/sdk/local/common/include/oggNo such file or directory [-Wmissing-include-dirs]
cc1pluswarning: /opt/sdk/local/common/include/vorbisNo such file or directory [-Wmissing-include-dirs]
cc1pluswarning: /opt/sdk/local/common/include/freetypeNo such file or directory [-Wmissing-include-dirs]
[  
1%] Building CXX object CMakeFiles/astromenace.dir/src/assets/loading.cpp.obj
cc1plus
warning: /opt/sdk/local/newlib/include/SDL2No such file or directory [-Wmissing-include-dirs]
cc1pluswarning: /opt/sdk/local/newlib/include/EGLNo such file or directory [-Wmissing-include-dirs]
cc1pluswarning: /opt/sdk/local/newlib/include/ALNo such file or directory [-Wmissing-include-dirs]
cc1pluswarning: /opt/sdk/local/common/include/oggNo such file or directory [-Wmissing-include-dirs]
cc1pluswarning: /opt/sdk/local/common/include/vorbisNo such file or directory [-Wmissing-include-dirs]
cc1pluswarning: /opt/sdk/local/common/include/freetypeNo such file or directory [-Wmissing-include-di


Why does it use cc1plus instead of "ppc-amigaos-g++" ?

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: Porting astromenace to AmigaOS4
Just popping in
Just popping in


See User information
Hey
This fork isnt finish and not working....
I have some problem with endian... again endian... arggg

I only publish 1.3.2 for MorphOS with BZsili source's.

Go to top
Re: Porting astromenace to AmigaOS4
Not too shy to talk
Not too shy to talk


See User information
@beworld

So the version @ https://www.morphos-storage.net/?id=1950214 is another fork ?

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: Porting astromenace to AmigaOS4
Just popping in
Just popping in


See User information
@SinanSam460
I only publish 1.3.2 for MorphOS with BZsili source's.

It's SDL1 version

I will try to fin some time to publish it

Go to top
Re: Porting astromenace to AmigaOS4
Not too shy to talk
Not too shy to talk


See User information
@beworld

Ok..thank you..

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: Porting astromenace to AmigaOS4
Just popping in
Just popping in


See User information
@SinanSam460

This version should work on SDL2.
https://github.com/viewizard/astromenace/tree/1.3.2

just change in config.h #define use_SDL2.
then just change in $BUILD_DIR/CMakeFIles/AstroMence.dir/link.txt from -lSDL to -lSDL2.

I needed a version for SDL1 this is what I discovered today.
I still have a problem as usual.... on AOS4.
I checked as usual on Linuxe and both versions of SDL1 and SDL2 work fine.



https://ibb.co/FVtRcVt

https://ibb.co/G3NKp0C

Go to top
Re: Porting astromenace to AmigaOS4
Just popping in
Just popping in


See User information
Hi, here morphos source (SDL1) (with Bszili changes)

You can find endian fix into.

https://www.morphos-storage.net/upload/test/AstroMenace132-mos.zip

Go to top
Re: Porting astromenace to AmigaOS4
Just popping in
Just popping in


See User information
@beworld

Thanks to you and Bszili for the code sharing

Go to top
Re: Porting astromenace to AmigaOS4
Not too shy to talk
Not too shy to talk


See User information
@beworld

Thanks

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: Porting astromenace to AmigaOS4
Not too shy to talk
Not too shy to talk


See User information
@smarkusg

Did you try compiling Beworld's sources ?

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: Porting astromenace to AmigaOS4
Just popping in
Just popping in


See User information
@SinanSam460

Today I didn't have time. I had to finish something else. I will be checking tomorrow

Go to top
Re: Porting astromenace to AmigaOS4
Not too shy to talk
Not too shy to talk


See User information
@smarkusg

I worked on astromenace tonight, I have a problem related to png and libfreetype2

-lopenal -lpng16 -lSDL -lSDL_ttf -lalut -lGLU -lGL -lfreetype -lvorbisfile -lvorbis -logg -lpthread -lz -lm -lc


/opt/ppc-amigaos/ppc-amigaos/SDK/local/newlib/lib/libfreetype.a(sfnt.o): In function `error_callback':
sfnt.c:(.text+0x7c24): undefined reference to 
`png_get_error_ptr'
sfnt.c:(.text+0x7c40): undefined reference to `png_set_longjmp_fn'
/opt/ppc-amigaos/ppc-amigaos/SDK/local/newlib/lib/libfreetype.a(sfnt.o): In function `Load_SBit_Png.isra.22':
sfnt.c:(.text+0xbe8c): undefined reference to 
`png_create_read_struct'
sfnt.c:(.text+0xbe9c): undefined reference to `png_create_info_struct'
sfnt.c:(.text+0xbebc): undefined reference to `png_set_longjmp_fn'
sfnt.c:(.text+0xbedc): undefined reference to 
`png_set_read_fn'
sfnt.c:(.text+0xbee8): undefined reference to `png_read_info'
sfnt.c:(.text+0xbf10): undefined reference to `png_get_IHDR'
sfnt.c:(.text+0xbf90): undefined reference to 
`png_set_expand_gray_1_2_4_to_8'
sfnt.c:(.text+0xbfa0): undefined reference to `png_get_valid'
sfnt.c:(.text+0xbfd4): undefined reference to `png_set_gray_to_rgb'
sfnt.c:(.text+0xbfec): undefined reference to 
`png_set_interlace_handling'
sfnt.c:(.text+0xc000): undefined reference to `png_set_filler'
sfnt.c:(.text+0xc00c): undefined reference to `png_read_update_info'
sfnt.c:(.text+0xc038): undefined reference to 
`png_get_IHDR'
sfnt.c:(.text+0xc074): undefined reference to `png_set_read_user_transform_fn'
sfnt.c:(.text+0xc12c): undefined reference to `png_read_image'
sfnt.c:(.text+0xc138): undefined reference to 
`png_read_end'
sfnt.c:(.text+0xc15c): undefined reference to `png_destroy_read_struct'
sfnt.c:(.text+0xc1bc): undefined reference to `png_destroy_read_struct'
sfnt.c:(.text+0xc204): undefined reference to 
`png_set_packing'
sfnt.c:(.text+0xc214): undefined reference to `png_set_tRNS_to_alpha'
sfnt.c:(.text+0xc224): undefined reference to `png_set_strip_16'
sfnt.c:(.text+0xc234): undefined reference to 
`png_set_palette_to_rgb'
sfnt.c:(.text+0xc25c): undefined reference to `png_set_read_user_transform_fn'
/opt/ppc-amigaos/ppc-amigaos/SDK/local/newlib/lib/libfreetype.a(sfnt.o): In function `read_data_from_FT_Stream':
sfnt.c:(.text+0xc938): undefined reference to 
`png_get_io_ptr'
sfnt.c:(.text+0xc988): undefined reference to `png_get_error_ptr'
sfnt.c:(.text+0xc99c): undefined reference to `png_error'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ld: Dwarf Error: found dwarf version '5', this reader only handles version 2, 3 and 4 information.

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: Porting astromenace to AmigaOS4
Just can't stay away
Just can't stay away


See User information
@SinanSam460

Just move -lpng16 so that it's right after -lfreetype.

Go to top
Re: Porting astromenace to AmigaOS4
Not too shy to talk
Not too shy to talk


See User information
@salass00

Yes moving png16 after libfreetype fixed the problem..However getting lots of dwarf errors at the final stage.

/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ldDwarf Errorfound dwarf version '5'this reader only handles version 2and 4 information.
/
opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/lib/libstdc++.a(eh_alloc.o): In function `_ZN12_GLOBAL__N_14pool4freeEPv.constprop.0':
eh_alloc.cc:(.text._ZN12_GLOBAL__N_14pool4freeEPv.constprop.0+0x58): undefined reference to 
`__gthread_active_p'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ld: Dwarf Error: found dwarf version '
0', this reader only handles version 2, 3 and 4 information.
eh_alloc.cc:(.text._ZN12_GLOBAL__N_14pool4freeEPv.constprop.0+0x104): undefined reference to `__gthread_active_p'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ldDwarf Errorfound dwarf version '53537'this reader only handles version 2and 4 information.
eh_alloc.cc:(.text._ZN12_GLOBAL__N_14pool4freeEPv.constprop.0+0x114): undefined reference to `__gthread_mutex_unlock'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ld: Dwarf Error: found dwarf version '3881', this reader only handles version 2, 3 and 4 information.
eh_alloc.cc:(.text._ZN12_GLOBAL__N_14pool4freeEPv.constprop.0+0x134): undefined reference to 
`__gthread_active_p'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ld: Dwarf Error: found dwarf version '
3246', this reader only handles version 2, 3 and 4 information.
eh_alloc.cc:(.text._ZN12_GLOBAL__N_14pool4freeEPv.constprop.0+0x16c): undefined reference to `__gthread_mutex_lock'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ldDwarf Errorfound dwarf version '216'this reader only handles version 2and 4 information.
/
opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/lib/libstdc++.a(eh_alloc.o): In function `_ZN12_GLOBAL__N_14pool8allocateEj.constprop.0':
eh_alloc.cc:(.text._ZN12_GLOBAL__N_14pool8allocateEj.constprop.0+0x58): undefined reference to 
`__gthread_active_p'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ld: Dwarf Error: found dwarf version '
0', this reader only handles version 2, 3 and 4 information.
eh_alloc.cc:(.text._ZN12_GLOBAL__N_14pool8allocateEj.constprop.0+0xd8): undefined reference to `__gthread_active_p'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ldDwarf Errorfound dwarf version '0'this reader only handles version 2and 4 information.
eh_alloc.cc:(.text._ZN12_GLOBAL__N_14pool8allocateEj.constprop.0+0x12c): undefined reference to `__gthread_mutex_lock'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ld: Dwarf Error: found dwarf version '53527', this reader only handles version 2, 3 and 4 information.
eh_alloc.cc:(.text._ZN12_GLOBAL__N_14pool8allocateEj.constprop.0+0x140): undefined reference to 
`__gthread_mutex_unlock'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ld: Dwarf Error: found dwarf version '
50', this reader only handles version 2, 3 and 4 information.
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/lib/libstdc++.a(eh_alloc.o): In function `_GLOBAL__sub_I_eh_alloc.cc'
:
eh_alloc.cc:(.text.startup._GLOBAL__sub_I_eh_alloc.cc+0x2c): undefined reference to `__gthread_active_p'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ld: Dwarf Error: found dwarf version '1792', this reader only handles version 2, 3 and 4 information.
eh_alloc.cc:(.text.startup._GLOBAL__sub_I_eh_alloc.cc+0x88): undefined reference to 
`__gthread_mutex_init'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ld: Dwarf Error: found dwarf version '
43277', this reader only handles version 2, 3 and 4 information.
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/lib/libstdc++.a(eh_alloc.o): In function `_GLOBAL__sub_D_eh_alloc.cc'
:
eh_alloc.cc:(.text.exit._GLOBAL__sub_D_eh_alloc.cc+0x4c): undefined reference to `__gthread_active_p'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ld: Dwarf Error: found dwarf version '0', this reader only handles version 2, 3 and 4 information.
eh_alloc.cc:(.text.exit._GLOBAL__sub_D_eh_alloc.cc+0x7c): undefined reference to 
`__gthread_mutex_destroy'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ld: Dwarf Error: found dwarf version '
5', this reader only handles version 2, 3 and 4 information.
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/lib/libstdc++.a(eh_globals.o): In function `__cxa_get_globals_fast'
:
eh_globals.cc:(.text.__cxa_get_globals_fast+0x98): undefined reference to `__gthread_getspecific'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ld: Dwarf Error: found dwarf version '0', this reader only handles version 2, 3 and 4 information.
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/lib/libstdc++.a(eh_globals.o): In function 
`__cxa_get_globals':
eh_globals.cc:(.text.__cxa_get_globals+0xac): undefined reference to `__gthread_getspecific'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ldDwarf Errorfound dwarf version '10017'this reader only handles version 2and 4 information.
eh_globals.cc:(.text.__cxa_get_globals+0x110): undefined reference to `__gthread_setspecific'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ld: Dwarf Error: found dwarf version '221', this reader only handles version 2, 3 and 4 information.
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/lib/libstdc++.a(eh_globals.o): In function 
`_GLOBAL__sub_I_eh_globals.cc':
eh_globals.cc:(.text.startup._GLOBAL__sub_I_eh_globals.cc+0x34): undefined reference to `__gthread_active_p'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ldDwarf Errorfound dwarf version '3092'this reader only handles version 2and 4 information.
eh_globals.cc:(.text.startup._GLOBAL__sub_I_eh_globals.cc+0x60): undefined reference to `__gthread_key_create'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ld: Dwarf Error: found dwarf version '81', this reader only handles version 2, 3 and 4 information.
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/lib/libstdc++.a(eh_globals.o): In function 
`_GLOBAL__sub_D_eh_globals.cc':
eh_globals.cc:(.text.exit._GLOBAL__sub_D_eh_globals.cc+0x88): undefined reference to `__gthread_key_delete'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ldDwarf Errorfound dwarf version '5'this reader only handles version 2and 4 information.
/
opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/libgcc_eh.a(unwind-sjlj.o): In function `fc_key_init':
unwind-sjlj.c:(.text+0x18): undefined reference to 
`__gthread_key_create'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ld: Dwarf Error: found dwarf version '
0', this reader only handles version 2, 3 and 4 information.
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/libgcc_eh.a(unwind-sjlj.o): In function `_Unwind_ForcedUnwind_Phase2'
:
unwind-sjlj.c:(.text+0x2d4): undefined reference to `__gthread_setspecific'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ld: Dwarf Error: found dwarf version '44061', this reader only handles version 2, 3 and 4 information.
unwind-sjlj.c:(.text+0x2e4): undefined reference to 
`__gthread_once'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ld: Dwarf Error: found dwarf version '
33098', this reader only handles version 2, 3 and 4 information.
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/libgcc_eh.a(unwind-sjlj.o): In function `_Unwind_SjLj_GetContext'
:
unwind-sjlj.c:(.text+0x3d8): undefined reference to `__gthread_once'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ld: Dwarf Error: found dwarf version '41210', this reader only handles version 2, 3 and 4 information.
unwind-sjlj.c:(.text+0x410): undefined reference to 
`__gthread_getspecific'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ld: Dwarf Error: found dwarf version '
20944', this reader only handles version 2, 3 and 4 information.
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/libgcc_eh.a(unwind-sjlj.o): In function `uw_install_context.constprop.0'
:
unwind-sjlj.c:(.text+0x4d4): undefined reference to `__gthread_setspecific'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ld: Dwarf Error: found dwarf version '3076', this reader only handles version 2, 3 and 4 information.
unwind-sjlj.c:(.text+0x4ec): undefined reference to 
`__gthread_once'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ld: Dwarf Error: found dwarf version '
0', this reader only handles version 2, 3 and 4 information.
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/libgcc_eh.a(unwind-sjlj.o): In function `_Unwind_SjLj_Register'
:
unwind-sjlj.c:(.text+0x588): undefined reference to `__gthread_getspecific'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ld: Dwarf Error: found dwarf version '1385', this reader only handles version 2, 3 and 4 information.
unwind-sjlj.c:(.text+0x5a0): undefined reference to 
`__gthread_setspecific'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ld: Dwarf Error: found dwarf version '
12', this reader only handles version 2, 3 and 4 information.
unwind-sjlj.c:(.text+0x5dc): undefined reference to `__gthread_once'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ldDwarf Errorfound dwarf version '0'this reader only handles version 2and 4 information.
/
opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/libgcc_eh.a(unwind-sjlj.o): In function `_Unwind_SjLj_Unregister':
unwind-sjlj.c:(.text+0x684): undefined reference to 
`__gthread_setspecific'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ld: Dwarf Error: found dwarf version '
3076', this reader only handles version 2, 3 and 4 information.
unwind-sjlj.c:(.text+0x6c0): undefined reference to `__gthread_once'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ldDwarf Errorfound dwarf version '125'this reader only handles version 2and 4 information.
/
opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/libgcc_eh.a(unwind-sjlj.o): In function `_Unwind_SjLj_RaiseException':
unwind-sjlj.c:(.text+0x88c): undefined reference to 
`__gthread_once'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ld: Dwarf Error: found dwarf version '
2053', this reader only handles version 2, 3 and 4 information.
unwind-sjlj.c:(.text+0x8b0): undefined reference to `__gthread_getspecific'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ldDwarf Errorfound dwarf version '93'this reader only handles version 2and 4 information.
/
opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/libgcc_eh.a(unwind-sjlj.o): In function `_Unwind_SjLj_ForcedUnwind':
unwind-sjlj.c:(.text+0x9b8): undefined reference to 
`__gthread_once'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ld: Dwarf Error: found dwarf version '
1024', this reader only handles version 2, 3 and 4 information.
unwind-sjlj.c:(.text+0x9dc): undefined reference to `__gthread_getspecific'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ldDwarf Errorfound dwarf version '57352'this reader only handles version 2and 4 information.
/
opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/libgcc_eh.a(unwind-sjlj.o): In function `_Unwind_Backtrace':
unwind-sjlj.c:(.text+0xbc8): undefined reference to 
`__gthread_once'
/opt/ppc-amigaos/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/bin/ld: Dwarf Error: found dwarf version '
78', this reader only handles version 2, 3 and 4 information.
unwind-sjlj.c:(.text+0xbec): undefined reference to `__gthread_getspecific'
collect2errorld returned 1 exit status
make
: *** [Makefile:178astromenaceError 1
root
@d00ae6ca050e:/opt/Desktop/AstroMenace132#

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: Porting astromenace to AmigaOS4
Quite a regular
Quite a regular


See User information
@SinanSam460

Does the build has some "dwarf" argument or just "-g"? Change it to -gstabs

and maybe "-lpthread -athread=native" (you already have -lpthread, but dunnot "-athread=native" is somehow "mandatory" too).

Go to top
Re: Porting astromenace to AmigaOS4
Not too shy to talk
Not too shy to talk


See User information
@jabirulo

Thanks to guys @Discord amigans channel

After making these changes, game compiles :)

Running 5 fps on Sam460 (MiniGL with Warp3Nova)

ifeq ($(DEBUG), 1)
CFLAGS += -gstabs -athread=native
else
CFLAGS += -O2 -athread=native -DAMIGAOS4 -D__AMIGAOS4__ -D__unix
endif

CFLAGS +=

CXXFLAGS = $(CFLAGS)

LDFLAGS =  -athread=native
LDFLAGS 
+= -lopenal  -lSDL -lSDL_ttf -lalut -lGLU -lGL -lfreetype -lpng16 -lvorbisfile -lvorbis -logg  -lz -lm -lpthread -lunix

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: Porting astromenace to AmigaOS4
Quite a regular
Quite a regular


See User information
@SinanSam460Quote:
SinanSam460 wrote:@jabirulo

Thanks to guys @Discord amigans channel

After making these changes, game compiles :)

Running 5 fps on Sam460 (MiniGL with Warp3Nova)


Is there any way to test this port, I want to try to beat the 5 fps with Wazp3d

If a software renderer is available it should maybe even run well in window mode, is this port based on SDL2 ?

MacStudio ARM M1 Max Qemu/AmigaOs4.1FE/Pegasos2
Go to top
Re: Porting astromenace to AmigaOS4
Just popping in
Just popping in


See User information
@SinanSam460

Cool that you were able to get it working
I haven't checked it yet ...

Have you checked it only version 1.3.2 or also 1.3.3 with patches from beworld and BZsili where SDL2 is ?

Go to top
Re: Porting astromenace to AmigaOS4
Not too shy to talk
Not too shy to talk


See User information
@smarkusg

It is 1.3.2.

BeWorld said 1.3.3 is not ready yet

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: Porting astromenace to AmigaOS4
Just popping in
Just popping in


See User information
@SinanSam460

I checked the Beworld/BZsili version - it works.
Rather, it's running at my place - it'll be more accurate that way, because I don't even have anything to count fps under Wazp3d .
Maybe Beworld was writing about the current git version he is working on - 1.4+ and not 1.3.3.

Go to top

  Register To Post
(1) 2 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project