Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
94 user(s) are online (88 user(s) are browsing Forums)

Members: 0
Guests: 94

more...

Support us!

Headlines

 
  Register To Post  

« 1 (2) 3 4 »
Re: GL4ES / SDL+GL4ES / CLIB2 / Outdated NEWLIB libs and OnWards
Home away from home
Home away from home


See User information
@Sinan
And 34 fps with SDL1 version too ?

If so, then don't use those libs, there definately something very wrong then. Should be about 250 FPS.

If with SDL1 version it will be ~250, then it will mean that something with SDL2 version only, but if 34 with both, then somethiging goes wrong, and things go software route by some reassons.

You do hit "a" after example runs of course ? Not just "enter" ?

I for myself can test only after 7-8 days :(

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: GL4ES / SDL+GL4ES / CLIB2 / Outdated NEWLIB libs and OnWards
Not too shy to talk
Not too shy to talk


See User information
@kas1e

Both SDL2 and SDL1 versions runs at 34 - 38 fps here. Yes I press "a" to select.

I will also try compiling myself to see if it makes any changes.

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: GL4ES / SDL+GL4ES / CLIB2 / Outdated NEWLIB libs and OnWards
Home away from home
Home away from home


See User information
@Sinan
Try plz http://os4depot.net/?function=showfil ... ary/graphics/irrlicht.lha

And check how those examples run (the same in bin/amigaos4 directory, run 02-quake example).

So we will know, if it something fresh in system components, or my fresh recompile cause some issues.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: GL4ES / SDL+GL4ES / CLIB2 / Outdated NEWLIB libs and OnWards
Just can't stay away
Just can't stay away


See User information
@kas1e

Downloaded and tested and same ~33fps (SAM460ex & RX550)

#stack 1000000
#02.Quake3Map
LIBGL: Initialising gl4es
LIBGL: v1.1.3 built on Nov 24 2019 19:45:42
LIBGL: Using GLES 2.0 backend
LIBGL: Using Warp3DNova.library v54 revision 16
LIBGL: Using OGLES2.library v3 revision 3
LIBGL: OGLES2 Library and Interface open successfuly
LIBGL: Targeting OpenGL 2.0
LIBGL: Forcing NPOT support by disabling MIPMAP support for NPOT textures
LIBGL: Not trying to batch small subsequent glDrawXXXX
LIBGL: try to use VBO
LIBGL: Current folder is:/RAM Disk/irrlicht-1.8.4/bin/AmigaOS4
Please select the driver you want for this example:
(a) OpenGL 1.5
(b) Direct3D 9.0c
(c) Direct3D 8.1
(d) Burning's Software Renderer
(e) Software Renderer
(f) NullDevice
(otherKey) exit

a
Irrlicht Engine version 1.8.4
SDL Version 1.2.15
LIBGL: Hardware test on current Context...
LIBGL: Hardware Full NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_element_index_uint detected and used
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_texture_float detected and used
LIBGL: high precision float in fragment shader available and used
LIBGL: Extension GL_EXT_frag_depth detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_get_program detected and used
LIBGL: Number of supported Program Binary Format: 1
LIBGL: Max texture size: 16384
LIBGL: Max Varying Vector: 32
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Extension GL_EXT_texture_filter_anisotropic detected and used
LIBGL: Max Anisotropic filtering: 16
LIBGL: Hardware vendor is A-EON Technology Ltd. Written by Daniel 'Daytona675x' Müßener @ GoldenCode.eu
LIBGL: GLSL 300 es supported and used
Using renderer: OpenGL 2.0
GL4ES wrapper: ptitSeb
OpenGL driver version is 1.2 or better.
GLSL version: 1.1
Loaded texture: e7walldesign01b.jpg
...
Needed 55ms to create Octree SceneNode.(92 nodes, 10640 polys)

Go to top
Re: GL4ES / SDL+GL4ES / CLIB2 / Outdated NEWLIB libs and OnWards
Home away from home
Home away from home


See User information
@Sinan,Javier
Oh damn, we talk about SAM ! On x5000 this example give 260 FPS. On SAM it can be anything of course, as it have GART disabled in drivers, but sadly it just 34 FPS.. Mean nothing :) I will check later how it all on my SAM, but currently it mean that drivers for SAM are sloooooow. Dunno if it because of GART disabled or anything else disabled, but 34 FPS on SAM version versus 260 FPS on X5000 kind of too much of course.


And how much fps you have on SAM if you choose "software rendering" ?

@All
Can anyone test those 2 examples on x5000:

https://kas1e.mikendezign.com/a/irrlicht_quaketest_sdl1.zip
https://kas1e.mikendezign.com/a/irrlicht_quaketest_sdl2.zip

And say how much FPS it give (on top of window)

Thanks

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: GL4ES / SDL+GL4ES / CLIB2 / Outdated NEWLIB libs and OnWards
Not too shy to talk
Not too shy to talk


See User information
@kas1e

I will make comparison of both files on Sam460, X5000 and A1222 on Friday. (if no one makes it before)

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: GL4ES / SDL+GL4ES / CLIB2 / Outdated NEWLIB libs and OnWards
Quite a regular
Quite a regular


See User information
both gave 171-173 on my X-5000 + R7-250

Go to top
Re: GL4ES / SDL+GL4ES / CLIB2 / Outdated NEWLIB libs and OnWards
Quite a regular
Quite a regular


See User information
@kas1e

Hi, when you compile SDL2 from source do you have mingl installed? I am having a mind-blank moment here. I thought for the X5000 we do not want to use minigl.. but, when reading the OS4Depot "sdl2" it says it is required, but then it also says opengles2 is optional, but opengles2 does not come with a "gl.h" file.

Consider the situation where you have just built a cross-compiler. You have hardly anything in your ppc-amigaos/SDK folder.

Now, you pull down SDL2: https://github.com/AmigaPorts/SDL-2.0
Now, you run make -f makefile.amigaos4
Error: GL/gl.h not found
You read the SDL2 on the Os4Depot and it says it mingl is option, opengles2 is optional. Minigl is in the SDK5334 and it contains GL.h, opengles2 is in the enhancer 2.2 but it does not contain gl.h.

I just want to make sure I am doing things correctly. Never ran into this issue before, but probably because I used to copy over the SDK and the Enhancer stuff to the ppc-amigaos/SDK immediately after compiling the Xcompiler.

In this case, presumably, to build SDL2 - initially - you require minigl which provides the header file.

There is the GL.h in the gl4es sdk. so, I try to copy that. I then get GLES2/gl2platform.h - not found. There is only GLES in the gl4es SDK. But, I can copy over Opengles2 from the Enhancer 2.2 to be left with an error about:

GL_CONTEXT_RELEASE_BEHAVIOR being undefined.

I think before I used to just compile SDL2 with the minigl headers, but I am unsure if this is right.


Edited by rjd324 on 2022/9/8 2:45:36
If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top
Re: GL4ES / SDL+GL4ES / CLIB2 / Outdated NEWLIB libs and OnWards
Home away from home
Home away from home


See User information
@rjd324
Quote:

Hi, when you compile SDL2 from source do you have mingl installed? I am having a mind-blank moment here. I thought for the X5000 we do not want to use minigl.. but, when reading the OS4Depot "sdl2" it says it is required, but then it also says opengles2 is optional, but opengles2 does not come with a "gl.h" file.


I do remove minigl includes from SDK when build SDL2 for gl4es in favor of gl4es includes instead. When we build SDL for gl4es, we kind of pretend to be another "opengl" instead of minigl, but this not about direct usage of opengles2. It just gl4es works over opengles2.

The point of gl4es to be "usuall opengl", and not reduced "opengles2" without fixed pipeline. Yeah, that kind of boring all this, and better if we will have not "opengles2" , but just "opengl2" or "opengl3", etc, but so far no one except Daniel want to do anything like this, so we have what we have : opengles2, and for making more or less modern opengl apps works : gl4es, which works over opengles2 and which were born exactly for reassons to have "full" opengl on devices which have only opengles2.

So, when we build for gl4es, we do have "gl.h" and other files coming with gl4es. We do remove "GL" directory from SDK with MiniGL includes , and instead, create "GL" directory with gl4es includes (it's own gl.h, etc, i.e. just copy fully include dir from gl4es).

Quote:

Now, you pull down SDL2: https://github.com/AmigaPorts/SDL-2.0
Now, you run make -f makefile.amigaos4
Error: GL/gl.h not found
You read the SDL2 on the Os4Depot and it says it mingl is option, opengles2 is optional. Minigl is in the SDK5334 and it contains GL.h, opengles2 is in the enhancer 2.2 but it does not contain gl.h.


"Error: GL/gl.h not found" happens because you didn't install not minigl's SDK (it's in full SDK archive, just not installed by adtools installer as not necessary one), not GL4ES includes. They both do gave GL.h of course

Anyway, steps are:

1. you pull down SDL2: https://github.com/AmigaPorts/SDL-2.0
2. you apply gl4es changes from my page, with change about OS4_GetWindowActiveSize() we discuss early.
3. NEW STUFF: you change in include/SDL_opengl.h #ifdef __AMIGAOS4___ on anything like __AMIGAOS4_SKIP__ , so this part where included GL/gl.h and SDL_opengl_glext.h not used, instead, will be used other usuall ifdefs, and this will deal with "GL_CONTEXT_RELEASE_BEHAVIOR being undefined.". This amigaos4 ifdefs done by Capehill seems specially and exactly for MiniGL, but as we get rid of it, we comment this out and this automaticaly deal with that undef.
4. You install GL4ES includes (or you download gl4es from os4depot) , or pull down from ptitSebs github and copy includes directory from gl4es , to SDK's "GL" directory, with renaming original minigl's GL directory to something like GLMGL, so no minigl is involved.
5. And then, make -f makefile.amigaos4.

So you then have libSDL2.a build for gl4es, which you rename to libSDL2_gl4es.a just for avoid mess with original (which minigl based) libSDL2.a


@Lio
Quote:

both gave 171-173 on my X-5000 + R7-250


Thanks, so it kind of point out on the fact that drivers for SAM460 slow like amiga1200. Probably because of removed GART, but for that i need to test previous versions of RadeonRX drivers on my sam460, so we will know for sure.. But anyway, it will be not much faster anyway seems so.


@Sinan,Javier

You may try to run HCRAFT (irrlicht based) game on SAM460, and check FPS in the first training level (once game start, hit F11). On my x5000 i do have 192 FPS, and with some trick about 210 FPS. On sam460 when i made this video :





I have about 21FPS only. So kind of point out ..

From another side it also mean, that those new libs i build for clib2 can be used fine and they ok. Just for sam460 this all pretty low-perfomance stuff.


Edited by kas1e on 2022/9/8 5:47:41
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: GL4ES / SDL+GL4ES / CLIB2 / Outdated NEWLIB libs and OnWards
Quite a regular
Quite a regular


See User information
@kas1e
Thanks for the info. I was wanting to build pure SDL2. I think you answered the question there. That for pure SDL2 we expect the minigl headers:
Quote:

just for avoid mess with original (which minigl based) libSDL2.a


Then, can build the gl4es version afterwards.

===

I think some PRs to the amiga os4 makefiles would be a good idea to help automate this situation and so these steps in the future. It can be tiresome to try and remember this all the time. Even of the makefiles would produce error messages or warnings, it would be useful.

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top
Re: GL4ES / SDL+GL4ES / CLIB2 / Outdated NEWLIB libs and OnWards
Not too shy to talk
Not too shy to talk


See User information
@kas1e

X5000
RX580

1 - 200-250fps
2 - 190-220fps

Go to top
Re: GL4ES / SDL+GL4ES / CLIB2 / Outdated NEWLIB libs and OnWards
Home away from home
Home away from home


See User information
@derfs
1 - SDL1 , 2 - SDL2 ? So SDL2 version slower then ? What happens if you play with different SDL2 prefs settings ? Like Batching mode, change rendering on different targets, etc ?

@rjd324
Quote:

I think some PRs to the amiga os4 makefiles would be a good idea to help automate this situation


You mean to gl4es-changed makefile ? If so, feel free to PR something which will be helpfull and not overblown things for no reassons :) But if you mean original SDL2 makefiles, then we still not find a good way how to incorporate gl4es changes inside of main SDL trunk.. Of course, they can be done just like i did, but that need to discuss with Capehill.


Edited by kas1e on 2022/9/9 7:18:49
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: GL4ES / SDL+GL4ES / CLIB2 / Outdated NEWLIB libs and OnWards
Home away from home
Home away from home


See User information
@kas1e

It depends on the cpu power too it seems.
I tried 02 test with X1000 and RX560 and got ~160 FPS with SDL1.2

but my CPU was up at 100% as well the whole time, so it's probably "normal" that a SAM user will get far less FPS due to the lower cpu power

Go to top
Re: GL4ES / SDL+GL4ES / CLIB2 / Outdated NEWLIB libs and OnWards
Home away from home
Home away from home


See User information
@Raziel
I think for x1000 not all clear when it come to radeonrx.. will be interesting to test those examples with radeonhd and radeonrx to see difference

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: GL4ES / SDL+GL4ES / CLIB2 / Outdated NEWLIB libs and OnWards
Just can't stay away
Just can't stay away


See User information
@kas1e

tested HCraf on my SAM406ex & RX550
1920x1080 I get ~22fps (with gfx settings set to low)

Seems GART can make huge difference :-/

Go to top
Re: GL4ES / SDL+GL4ES / CLIB2 / Outdated NEWLIB libs and OnWards
Home away from home
Home away from home


See User information
@kas1e

Then someone give me a list of things to run and a special debug gfx driver and i'll dump all logs you(Hans?) need to polish/finish the X1000 RX driver

Go to top
Re: GL4ES / SDL+GL4ES / CLIB2 / Outdated NEWLIB libs and OnWards
Home away from home
Home away from home


See User information
@Raziel
What i mean is to test some things on both RadeonHD and RadeonRX on x1000, to see, if with RadeonRX things for real better/faster as on X5000, or not. Because RadeonRX support for x1000 currently it's some bonus which is unclear how stable/good are.

If you can check few things and compare (like those 2 examples, or run HCraft) on x1000 with RadeonHD and RadeonRX, then we can see the difference, and at least something to talk about.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: GL4ES / SDL+GL4ES / CLIB2 / Outdated NEWLIB libs and OnWards
Just popping in
Just popping in


See User information
Hi,

The 02 demo runs at ~110 fps on my setup (X1000 + R9 280X).
But I still got the same slow down every 2 or 3 seconds when rendering. CPU 100%.

Go to top
Re: GL4ES / SDL+GL4ES / CLIB2 / Outdated NEWLIB libs and OnWards
Home away from home
Home away from home


See User information
@Petrol

Quote:
But I still got the same slow down every 2 or 3 seconds when rendering. CPU 100%.

I'm guessing that you have INTERRUPT=No set, in which case it's expected and unavoidable.

@Raziel
There is no X1000 RX driver. There is only one driver for all platforms.

Hans

Join Kea Campus' Amiga Corner and support Amiga content creation
https://keasigmadelta.com/ - see more of my work
Go to top
Re: GL4ES / SDL+GL4ES / CLIB2 / Outdated NEWLIB libs and OnWards
Not too shy to talk
Not too shy to talk


See User information
@kas1e

So I tried compiling Irrlict examples with your clib2 libraries.

This is what I get SDL2 enabled.

SinanGurkan@DESKTOP-VPGSLQE /amiga/develop/Irrlicht/examples/02.Quake3Map
make -f Makefile.amigaos4 SDL2=1
Makefile
.amigaos4:27Building...
ppc-amigaos-g++ -I../../include -mcrt=clib2 -O3 -ffast-math main.cpp -../../bin/AmigaOS4/02.Quake3Map -athread=native ../../lib/AmigaOS4/libIrrlicht.-lSDL2_gl4es -lgl4es -lpthread
../../lib/AmigaOS4/libIrrlicht.a(CIrrDeviceSDL.o): In function `_ZN3irr13CIrrDeviceSDL7presentEPNS_5video6IImageEPvPNS_4core4rectIiEE':
CIrrDeviceSDL.cpp:(.text+0x194): undefined reference to 
`SDL_SetAlpha'
CIrrDeviceSDL.cpp:(.text+0x314): undefined reference to `SDL_Flip'
../../lib/AmigaOS4/libIrrlicht.a(CIrrDeviceSDL.o): In function `_ZN3irr13CIrrDeviceSDL14minimizeWindowEv':
CIrrDeviceSDL.cpp:(.text+0x3e4): undefined reference to 
`SDL_WM_IconifyWindow'
../../lib/AmigaOS4/libIrrlicht.a(CIrrDeviceSDL.o): In function `_ZNK3irr13CIrrDeviceSDL14isWindowActiveEv'
:
CIrrDeviceSDL.cpp:(.text+0x3f4): undefined reference to `SDL_GetAppState'
../../lib/AmigaOS4/libIrrlicht.a(CIrrDeviceSDL.o): In function 
`_ZNK3irr13CIrrDeviceSDL15isWindowFocusedEv':
CIrrDeviceSDL.cpp:(.text+0x424): undefined reference to `SDL_GetAppState'
../../lib/AmigaOS4/libIrrlicht.a(CIrrDeviceSDL.o): In function `_ZN3irr13CIrrDeviceSDL12setResizableEb':
CIrrDeviceSDL.cpp:(.text+0x4c8): undefined reference to 
`SDL_SetVideoMode'
../../lib/AmigaOS4/libIrrlicht.a(CIrrDeviceSDL.o): In function `_ZN3irr13CIrrDeviceSDL12createWindowEv.part.0'
:
CIrrDeviceSDL.cpp:(.text+0x5e4): undefined reference to `SDL_SetVideoMode'
CIrrDeviceSDL.cpp:(.text+0x624): undefined reference to 
`SDL_SetVideoMode'
CIrrDeviceSDL.cpp:(.text+0x6dc): undefined reference to `SDL_SetVideoMode'
CIrrDeviceSDL.cpp:(.text+0x710): undefined reference to `SDL_SetVideoMode'
../../lib/AmigaOS4/libIrrlicht.a(CIrrDeviceSDL.o):CIrrDeviceSDL.cpp:(.text+0x764): more undefined references to 
`SDL_SetVideoMode' follow
../../lib/AmigaOS4/libIrrlicht.a(CIrrDeviceSDL.o): In function `_ZN3irr13CIrrDeviceSDL16setWindowCaptionEPKw'
:
CIrrDeviceSDL.cpp:(.text+0xa20): undefined reference to `SDL_WM_SetCaption'
CIrrDeviceSDL.cpp:(.text+0xa98): undefined reference to 
`SDL_WM_SetCaption'
CIrrDeviceSDL.cpp:(.text+0xae8): undefined reference to `SDL_WM_SetCaption'
../../lib/AmigaOS4/libIrrlicht.a(CIrrDeviceSDL.o): In function `_ZN3irr13CIrrDeviceSDL3runEv':
CIrrDeviceSDL.cpp:(.text+0x2258): undefined reference to 
`SDL_SetVideoMode'
../../lib/AmigaOS4/libIrrlicht.a(CIrrDeviceSDL.o): In function `_ZN3irr13CIrrDeviceSDL16getVideoModeListEv'
:
CIrrDeviceSDL.cpp:(.text+0x27c8): undefined reference to `SDL_GetVideoInfo'
CIrrDeviceSDL.cpp:(.text+0x284c): undefined reference to 
`SDL_ListModes'
../../lib/AmigaOS4/libIrrlicht.a(CIrrDeviceSDL.o): In function `_ZN3irr13CIrrDeviceSDL12createWindowEv'
:
CIrrDeviceSDL.cpp:(.text+0x2f1c): undefined reference to `SDL_SetVideoMode'
CIrrDeviceSDL.cpp:(.text+0x2f5c): undefined reference to 
`SDL_SetVideoMode'
CIrrDeviceSDL.cpp:(.text+0x2fbc): undefined reference to `SDL_SetVideoMode'
CIrrDeviceSDL.cpp:(.text+0x2ff0): undefined reference to `SDL_SetVideoMode'
CIrrDeviceSDL.cpp:(.text+0x3044): undefined reference to 
`SDL_SetVideoMode'
../../lib/AmigaOS4/libIrrlicht.a(CIrrDeviceSDL.o): In function `_ZN3irr13CIrrDeviceSDLC2ERKNS_27SIrrlichtCreationParametersE'
:
CIrrDeviceSDL.cpp:(.text+0x6058): undefined reference to `SDL_GetWMInfo'
CIrrDeviceSDL.cpp:(.text+0x6674): undefined reference to 
`SDL_EnableUNICODE'
CIrrDeviceSDL.cpp:(.text+0x6680): undefined reference to `SDL_EnableKeyRepeat'
../../lib/AmigaOS4/libIrrlicht.a(CIrrDeviceSDL.o): In function `_ZN3irr13CIrrDeviceSDLC1ERKNS_27SIrrlichtCreationParametersE':
CIrrDeviceSDL.cpp:(.text+0x6fd8): undefined reference to 
`SDL_GetWMInfo'
CIrrDeviceSDL.cpp:(.text+0x75f4): undefined reference to `SDL_EnableUNICODE'
CIrrDeviceSDL.cpp:(.text+0x7600): undefined reference to `SDL_EnableKeyRepeat'
../../lib/AmigaOS4/libIrrlicht.a(CIrrDeviceSDL.o): In function 
`_ZN3irr13CIrrDeviceSDL14CCursorControl11setPositionEii':
CIrrDeviceSDL.cpp:(.text._ZN3irr13CIrrDeviceSDL14CCursorControl11setPositionEii[_ZN3irr13CIrrDeviceSDL14CCursorControl11setPositionEii]+0x8): undefined reference to `SDL_WarpMouse'
../../lib/AmigaOS4/libIrrlicht.a(CIrrDeviceSDL.o): In function `_ZN3irr13CIrrDeviceSDL14CCursorControl11setPositionEff':
CIrrDeviceSDL.cpp:(.text._ZN3irr13CIrrDeviceSDL14CCursorControl11setPositionEff[_ZN3irr13CIrrDeviceSDL14CCursorControl11setPositionEff]+0x88): undefined reference to 
`SDL_WarpMouse'
../../lib/AmigaOS4/libIrrlicht.a(CIrrDeviceSDL.o): In function `_ZN3irr13CIrrDeviceSDL14CCursorControl11setPositionERKNS_4core8vector2dIiEE'
:
CIrrDeviceSDL.cpp:(.text._ZN3irr13CIrrDeviceSDL14CCursorControl11setPositionERKNS_4core8vector2dIiEE[_ZN3irr13CIrrDeviceSDL14CCursorControl11setPositionERKNS_4core8vector2dIiEE]+0x28): undefined reference to `SDL_WarpMouse'
../../lib/AmigaOS4/libIrrlicht.a(CIrrDeviceSDL.o): In function 
`_ZN3irr13CIrrDeviceSDL14CCursorControl11setPositionERKNS_4core8vector2dIfEE':
CIrrDeviceSDL.cpp:(.text._ZN3irr13CIrrDeviceSDL14CCursorControl11setPositionERKNS_4core8vector2dIfEE[_ZN3irr13CIrrDeviceSDL14CCursorControl11setPositionERKNS_4core8vector2dIfEE]+0xa4): undefined reference to `SDL_WarpMouse'
../../lib/AmigaOS4/libIrrlicht.a(swprintf.o): In function `vswprintf':
swprintf.cpp:(.text+0x2c): undefined reference to 
`__getreent'
swprintf.cpp:(.text+0xfa8): undefined reference to `_dtoa_r'
../../lib/AmigaOS4/libIrrlicht.a(COpenGLDriver.o): In function `_ZN3irr5video13COpenGLDriver8endSceneEv':
COpenGLDriver.cpp:(.text+0x208): undefined reference to 
`SDL_GL_SwapBuffers'
../../lib/AmigaOS4/libIrrlicht.a(jerror.o): In function `output_message'
:
jerror.c:(.text+0x1bc): undefined reference to `__getreent'
../../lib/AmigaOS4/libIrrlicht.a(pngerror.o): In function 
`png_warning':
pngerror.c:(.text+0x584): undefined reference to `__getreent'
../../lib/AmigaOS4/libIrrlicht.a(pngerror.o): In function `png_chunk_warning':
pngerror.c:(.text+0xbf0): undefined reference to 
`__getreent'
pngerror.c:(.text+0xc38): undefined reference to `__getreent'
../../lib/AmigaOS4/libIrrlicht.a(pngerror.o): In function `png_default_error':
pngerror.c:(.text+0xdd0): undefined reference to 
`__getreent'
../../lib/AmigaOS4/libIrrlicht.a(pngerror.o):pngerror.c:(.text+0xfa4): more undefined references to `__getreent' 
follow
../../lib/AmigaOS4/libIrrlicht.a(pngread.o): In function `png_image_begin_read_from_file':
pngread.c:(.text+0x6294): undefined reference to 
`__errno'
../../lib/AmigaOS4/libIrrlicht.a(pngwrite.o): In function `png_image_write_to_file'
:
pngwrite.c:(.text+0x31dc): undefined reference to `__errno'
pngwrite.c:(.text+0x32a8): undefined reference to 
`__errno'
pngwrite.c:(.text+0x32c4): undefined reference to `__errno'
collect2errorld returned 1 exit status


and this is what happens with SDL1
SinanGurkan@DESKTOP-VPGSLQE /amiga/develop/Irrlicht/examples/02.Quake3Map
make -f Makefile.amigaos4
Makefile
.amigaos4:27Building...
ppc-amigaos-g++ -I../../include -mcrt=clib2 -O3 -ffast-math main.cpp -../../bin/AmigaOS4/02.Quake3Map -athread=native ../../lib/AmigaOS4/libIrrlicht.-lSDL_gl4es -lgl4es -lpthread
../../lib/AmigaOS4/libIrrlicht.a(swprintf.o): In function `vswprintf':
swprintf.cpp:(.text+0x2c): undefined reference to 
`__getreent'
swprintf.cpp:(.text+0xfa8): undefined reference to `_dtoa_r'
../../lib/AmigaOS4/libIrrlicht.a(jerror.o): In function `output_message':
jerror.c:(.text+0x1bc): undefined reference to 
`__getreent'
../../lib/AmigaOS4/libIrrlicht.a(pngerror.o): In function `png_warning'
:
pngerror.c:(.text+0x584): undefined reference to `__getreent'
../../lib/AmigaOS4/libIrrlicht.a(pngerror.o): In function 
`png_chunk_warning':
pngerror.c:(.text+0xbf0): undefined reference to `__getreent'
pngerror.c:(.text+0xc38): undefined reference to `__getreent'
../../lib/AmigaOS4/libIrrlicht.a(pngerror.o): In function 
`png_default_error':
pngerror.c:(.text+0xdd0): undefined reference to `__getreent'
../../lib/AmigaOS4/libIrrlicht.a(pngerror.o):pngerror.c:(.text+0xfa4): more undefined references to `__getreent' follow
../../lib/AmigaOS4/libIrrlicht.a(pngread.o): In function 
`png_image_begin_read_from_file':
pngread.c:(.text+0x6294): undefined reference to `__errno'
../../lib/AmigaOS4/libIrrlicht.a(pngwrite.o): In function `png_image_write_to_file':
pngwrite.c:(.text+0x31dc): undefined reference to 
`__errno'
pngwrite.c:(.text+0x32a8): undefined reference to `__errno'
pngwrite.c:(.text+0x32c4): undefined reference to `__errno'
collect2: error: ld returned 1 exit status
make: *** [Makefile.amigaos4:28: all] Error 1

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top

  Register To Post
« 1 (2) 3 4 »

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project