Search found 28 matches

by HudsonBr
Sat Mar 23, 2024 7:14 pm
Forum: Switch Development
Topic: SDL_Point missing?
Replies: 0
Views: 33

SDL_Point missing?

Hello,
seems SDL_Point is missing on SDL2.
Could you please check.
thanks in advance.
by HudsonBr
Thu Mar 21, 2024 8:28 pm
Forum: Switch Development
Topic: Understanding the Use of -fno-rtti and -fno-exceptions Flags
Replies: 0
Views: 33

Understanding the Use of -fno-rtti and -fno-exceptions Flags

Hello, I'm currently working on a project using DevkitPro and I noticed that in the Makefile, the -fno-rtti and -fno-exceptions flags are being used in the CXXFLAGS. I understand that these flags disable Run-Time Type Information (RTTI) and exception handling in C++, respectively. My project involve...
by HudsonBr
Sat Mar 16, 2024 11:40 am
Forum: Gamecube/Wii Development
Topic: Newbie here!
Replies: 6
Views: 12159

Re: Newbie here!

i have the same question
Now I want to do the same for the Nintendo Game Cube. I was able to compile my code with no erros, I just need to know where to put my image files to load the images using SDL_LoadBMP.

Could you explain how the Game Cube file system works?
Were you able to find out ?
by HudsonBr
Fri Mar 15, 2024 9:35 pm
Forum: Gamecube/Wii Development
Topic: Trying bare minimum SDL2 example
Replies: 2
Views: 94

Re: Trying bare minimum SDL2 example

I did this work around:

Code: Select all

int main(void);
int SDL_main(int argc, char *argv[]) {
    return main();
}

int main(void) {...
and it is working.
by HudsonBr
Fri Mar 15, 2024 9:08 pm
Forum: Gamecube/Wii Development
Topic: Trying bare minimum SDL2 example
Replies: 2
Views: 94

Re: Trying bare minimum SDL2 example

After trying some stuff i got to point i get the message linking ... home.elf /opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld: /opt/devkitpro/portlibs/gamecube/lib/libSDL2main.a(SDL_gamecube_main.o): in function `main': /home/davem/projects/devkitpro/pacma...
by HudsonBr
Wed Mar 13, 2024 9:08 pm
Forum: Gamecube/Wii Development
Topic: Trying bare minimum SDL2 example
Replies: 2
Views: 94

Trying bare minimum SDL2 example

Hello, trying a SDL2 bm example for GC and getting this error: Main.cpp linking ... red.elf C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/lib/crtmain.o: in function `__...
by HudsonBr
Tue Mar 12, 2024 8:22 pm
Forum: Gamecube/Wii Development
Topic: SDL2_image
Replies: 0
Views: 70

SDL2_image

Hello,

I noticed there are portlibs of SDL2 for GameCube, but SDL2_image is missing. Is it supposed to be like this? Is it compatible to use SDL_image to load textures?

Thanks in advance.
by HudsonBr
Sun Feb 19, 2023 11:19 pm
Forum: Switch Development
Topic: Logs on console
Replies: 0
Views: 6249

Logs on console

Hi,
any chance to have a way to see the printf() out put on yuzu console ?

regards.
by HudsonBr
Sat Feb 18, 2023 8:09 pm
Forum: Switch Development
Topic: SDL rendering option
Replies: 0
Views: 6197

SDL rendering option

Hi,
i was looking the SDL example and got curious about this line here:
SDL_Renderer* renderer = SDL_CreateRenderer(window, -1, SDL_RENDERER_SOFTWARE);

is this just an example or for better compatibility is necessary to use this flag?

Regards
by HudsonBr
Mon Sep 05, 2022 9:48 pm
Forum: Gamecube/Wii Development
Topic: SDL link error
Replies: 3
Views: 5280

Re: SDL link error

Hello were you able to solve the problem? i am now with a link SDL problem too ../lib/gcc/powerpc-eabi/12.1.0/../../../../powerpc-eabi/lib/crtmain.o: in function `__crtmain': crtmain.c:(.text.__crtmain+0x3c): undefined reference to `main' collect2.exe: error: ld returned 1 exit status make[1]: *** [...