It's the same error as abovePlease post a screnshot of the console window with the error
Code:
C:\~\Desktop\SDL-3DS-master\SDL_ttf>make
make: *** No rule to make target `SDL_ttf.o', needed by `all'. Stop.
It's the same error as abovePlease post a screnshot of the console window with the error
C:\~\Desktop\SDL-3DS-master\SDL_ttf>make
make: *** No rule to make target `SDL_ttf.o', needed by `all'. Stop.
It's the same error as above
Code:C:\~\Desktop\SDL-3DS-master\SDL_ttf>make make: *** No rule to make target `SDL_ttf.o', needed by `all'. Stop.
I thought it was supposed to be the makefile by itself, but it works now (also can you PM the makefile for libmikmod)Then please take and post a print screen of the content of the SDL_ttf folder.
There you should have all the files and folders that are in the SDL_ttf-2.0.11 folder from the SDL_ttf-2.0.11.zip package.
seems your system can't find the awk program. I had such problems the first time I installed devkitpro, but can't remember how I solved it (only remember I googled for the solution)View attachment 80505
I had this problem before and after testing your steps. It is probably something I did very wrong.
alright thanks. thought i did that but will try again when I get home. thanks!seems your system can't find the config program. I had such problems the first time I installed devkitpro, but can't remember how I solved it (only remember I googled for the solution)
probably you only need to set a directory in you path. Hope someone can help you. If I remember how to solve I'll post it here.
I thought it was supposed to be the makefile by itself, but it works now (also can you PM the makefile for libmikmod)
arm-none-eabi-gcc -g -Wall -O2 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I./include -I/c/devkitPro/libctru/include -DARM11 -D_3DS -D__3DS__ -DENABLE_3DS -DLOAD_BMP -DLOAD_GIF -DLOAD_LBM -DLOAD_PCX -DLOAD_PNM -DLOAD_TGA -DLOAD_XCF -DLOAD_XPM -DLOAD_XV -DLOAD_JPG -DLOAD_PNG -I/c/devkitPro/libctru/../portlibs/armv6k/include -I/c/devkitPro/libct
ru/../portlibs/3ds/include/SDL -Wno-unused-variable -c -o IMG_bmp.o IMG_bmp.c
IMG_bmp.c: In function 'LoadBMP_RW':
IMG_bmp.c:424:35: error: 'SDL_Color {aka struct SDL_Color}' has no member named 'a'
palette->colors[i].a = SDL_ALPHA_OPAQUE;
^
In file included from c:\devkitpro\portlibs\3ds\include\sdl\SDL_audio.h:36:0,
from c:\devkitpro\portlibs\3ds\include\sdl\sdl.h:32,
from SDL_image.h:27,
from IMG_bmp.c:36:
IMG_bmp.c:431:52: error: 'SDL_Color {aka struct SDL_Color}' has no member named 'a'
SDL_RWread(src, &palette->colors[i].a, 1, 1);
^
c:\devkitpro\portlibs\3ds\include\sdl\SDL_rwops.h:124:56: note: in definition of macro 'SDL_RWread'
#define SDL_RWread(ctx, ptr, size, n) (ctx)->read(ctx, ptr, size, n)
^~~
IMG_bmp.c:437:35: error: 'SDL_Color {aka struct SDL_Color}' has no member named 'a'
palette->colors[i].a = SDL_ALPHA_OPAQUE;
^
IMG_bmp.c:257:12: warning: variable 'biClrImportant' set but not used [-Wunused-but-set-variable]
Uint32 biClrImportant;
^~~~~~~~~~~~~~
IMG_bmp.c:255:12: warning: variable 'biYPelsPerMeter' set but not used [-Wunused-but-set-variable]
Sint32 biYPelsPerMeter;
^~~~~~~~~~~~~~~
IMG_bmp.c:254:12: warning: variable 'biXPelsPerMeter' set but not used [-Wunused-but-set-variable]
Sint32 biXPelsPerMeter;
^~~~~~~~~~~~~~~
IMG_bmp.c:253:12: warning: variable 'biSizeImage' set but not used [-Wunused-but-set-variable]
Uint32 biSizeImage;
^~~~~~~~~~~
IMG_bmp.c:250:12: warning: variable 'biPlanes' set but not used [-Wunused-but-set-variable]
Uint16 biPlanes;
^~~~~~~~
IMG_bmp.c:243:12: warning: variable 'bfReserved2' set but not used [-Wunused-but-set-variable]
Uint16 bfReserved2;
^~~~~~~~~~~
IMG_bmp.c:242:12: warning: variable 'bfReserved1' set but not used [-Wunused-but-set-variable]
Uint16 bfReserved1;
^~~~~~~~~~~
IMG_bmp.c:241:12: warning: variable 'bfSize' set but not used [-Wunused-but-set-variable]
Uint32 bfSize;
^~~~~~
IMG_bmp.c: In function 'LoadICOCUR_RW':
IMG_bmp.c:596:12: warning: variable 'biClrImportant' set but not used [-Wunused-but-set-variable]
Uint32 biClrImportant;
^~~~~~~~~~~~~~
IMG_bmp.c:594:12: warning: variable 'biYPelsPerMeter' set but not used [-Wunused-but-set-variable]
Sint32 biYPelsPerMeter;
^~~~~~~~~~~~~~~
IMG_bmp.c:593:12: warning: variable 'biXPelsPerMeter' set but not used [-Wunused-but-set-variable]
Sint32 biXPelsPerMeter;
^~~~~~~~~~~~~~~
IMG_bmp.c:592:12: warning: variable 'biSizeImage' set but not used [-Wunused-but-set-variable]
Uint32 biSizeImage;
^~~~~~~~~~~
IMG_bmp.c:589:12: warning: variable 'biPlanes' set but not used [-Wunused-but-set-variable]
Uint16 biPlanes;
^~~~~~~~
IMG_bmp.c:573:12: warning: variable 'Bmask' set but not used [-Wunused-but-set-variable]
Uint32 Bmask;
^~~~~
IMG_bmp.c:572:12: warning: variable 'Gmask' set but not used [-Wunused-but-set-variable]
Uint32 Gmask;
^~~~~
IMG_bmp.c:571:12: warning: variable 'Rmask' set but not used [-Wunused-but-set-variable]
Uint32 Rmask;
^~~~~
make: *** [IMG_bmp.o] Error 1
@nop90 any thoughts?
Code:*** couldn't commit memory for cygwin heap, Win32 error 0 make: *** [freetype] Error 1
This should be my last error, as I've already installed SDL_ttf and SDL_mixer, but when I try to install SDL_image, I get this error:
Code:arm-none-eabi-gcc -g -Wall -O2 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I./include -I/c/devkitPro/libctru/include -DARM11 -D_3DS -D__3DS__ -DENABLE_3DS -DLOAD_BMP -DLOAD_GIF -DLOAD_LBM -DLOAD_PCX -DLOAD_PNM -DLOAD_TGA -DLOAD_XCF -DLOAD_XPM -DLOAD_XV -DLOAD_JPG -DLOAD_PNG -I/c/devkitPro/libctru/../portlibs/armv6k/include -I/c/devkitPro/libct ru/../portlibs/3ds/include/SDL -Wno-unused-variable -c -o IMG_bmp.o IMG_bmp.c IMG_bmp.c: In function 'LoadBMP_RW': IMG_bmp.c:424:35: error: 'SDL_Color {aka struct SDL_Color}' has no member named 'a' palette->colors[i].a = SDL_ALPHA_OPAQUE; ^ In file included from c:\devkitpro\portlibs\3ds\include\sdl\SDL_audio.h:36:0, from c:\devkitpro\portlibs\3ds\include\sdl\sdl.h:32, from SDL_image.h:27, from IMG_bmp.c:36: IMG_bmp.c:431:52: error: 'SDL_Color {aka struct SDL_Color}' has no member named 'a' SDL_RWread(src, &palette->colors[i].a, 1, 1); ^ c:\devkitpro\portlibs\3ds\include\sdl\SDL_rwops.h:124:56: note: in definition of macro 'SDL_RWread' #define SDL_RWread(ctx, ptr, size, n) (ctx)->read(ctx, ptr, size, n) ^~~ IMG_bmp.c:437:35: error: 'SDL_Color {aka struct SDL_Color}' has no member named 'a' palette->colors[i].a = SDL_ALPHA_OPAQUE; ^ IMG_bmp.c:257:12: warning: variable 'biClrImportant' set but not used [-Wunused-but-set-variable] Uint32 biClrImportant; ^~~~~~~~~~~~~~ IMG_bmp.c:255:12: warning: variable 'biYPelsPerMeter' set but not used [-Wunused-but-set-variable] Sint32 biYPelsPerMeter; ^~~~~~~~~~~~~~~ IMG_bmp.c:254:12: warning: variable 'biXPelsPerMeter' set but not used [-Wunused-but-set-variable] Sint32 biXPelsPerMeter; ^~~~~~~~~~~~~~~ IMG_bmp.c:253:12: warning: variable 'biSizeImage' set but not used [-Wunused-but-set-variable] Uint32 biSizeImage; ^~~~~~~~~~~ IMG_bmp.c:250:12: warning: variable 'biPlanes' set but not used [-Wunused-but-set-variable] Uint16 biPlanes; ^~~~~~~~ IMG_bmp.c:243:12: warning: variable 'bfReserved2' set but not used [-Wunused-but-set-variable] Uint16 bfReserved2; ^~~~~~~~~~~ IMG_bmp.c:242:12: warning: variable 'bfReserved1' set but not used [-Wunused-but-set-variable] Uint16 bfReserved1; ^~~~~~~~~~~ IMG_bmp.c:241:12: warning: variable 'bfSize' set but not used [-Wunused-but-set-variable] Uint32 bfSize; ^~~~~~ IMG_bmp.c: In function 'LoadICOCUR_RW': IMG_bmp.c:596:12: warning: variable 'biClrImportant' set but not used [-Wunused-but-set-variable] Uint32 biClrImportant; ^~~~~~~~~~~~~~ IMG_bmp.c:594:12: warning: variable 'biYPelsPerMeter' set but not used [-Wunused-but-set-variable] Sint32 biYPelsPerMeter; ^~~~~~~~~~~~~~~ IMG_bmp.c:593:12: warning: variable 'biXPelsPerMeter' set but not used [-Wunused-but-set-variable] Sint32 biXPelsPerMeter; ^~~~~~~~~~~~~~~ IMG_bmp.c:592:12: warning: variable 'biSizeImage' set but not used [-Wunused-but-set-variable] Uint32 biSizeImage; ^~~~~~~~~~~ IMG_bmp.c:589:12: warning: variable 'biPlanes' set but not used [-Wunused-but-set-variable] Uint16 biPlanes; ^~~~~~~~ IMG_bmp.c:573:12: warning: variable 'Bmask' set but not used [-Wunused-but-set-variable] Uint32 Bmask; ^~~~~ IMG_bmp.c:572:12: warning: variable 'Gmask' set but not used [-Wunused-but-set-variable] Uint32 Gmask; ^~~~~ IMG_bmp.c:571:12: warning: variable 'Rmask' set but not used [-Wunused-but-set-variable] Uint32 Rmask; ^~~~~ make: *** [IMG_bmp.o] Error 1
Any fix? I have the required portlibs.
I was about to bump my problem because I didn't get the notification of this, but thanks, it compiled and installedNo sorry, honestly don't know how to help you not knowin anything about the configuration of your toolchain.
but "cygwin heap" and "Win32" words in your makefile error sound very strange.
--------------------- MERGED ---------------------------
Seems you are trying to compile SDL_Image 2 on SDL 1.2. You have to use SDL Image 1.2
c:/~/source/main.c:3:17: fatal error: SDL.h: No such file or directory
#include <SDL.h>
^
compilation terminated.
make[1]: *** [main.o] Error 1
make: *** [build] Error 2
Is there something in the path I have to edit to use SDL.h, because I get this:
Code:c:/~/source/main.c:3:17: fatal error: SDL.h: No such file or directory #include <SDL.h> ^ compilation terminated. make[1]: *** [main.o] Error 1 make: *** [build] Error 2
#include <SDL/sdl.h>
export INCLUDE := $(foreach dir,$(INCLUDES),-I$(CURDIR)/$(dir)) \
$(foreach dir,$(LIBDIRS),-I$(dir)/include),$(foreach dir,$(LIBDIRS),-I$(dir)/include/SDL) \
-I$(CURDIR)/$(BUILD)
LIBS := -lm$(sdl-config --libs) -lcitro3d -lctru -lm
arm-none-eabi-gcc -g -Wall -O2 -mword-relocations -fomit-frame-pointer -ffast-math -fno-pic -march=armv6k -mtune=mpcore -mfloat-abi=hard -I./include -I/c/devkitPro/libctru/include -DARM11 -D_3DS -D__3DS__ -DENABLE_3DS -I/c/devkitPro/libctru/../portlibs/armv6k/include -I/c/devkitPro/libctru/../portlibs/3ds/include/SDL -DWAV_MUSIC -DMOD_MUSIC -DLIBMIKMOD_MUSIC -DMP3_MAD_MUSIC -DOGG_MUSIC -DOGG_USE_TREMOR -DMP3_MAD_MUSIC -Wno-unused-variable -c -o dynamic_ogg.o dynamic_ogg.c
In file included from dynamic_ogg.c:26:0:
dynamic_ogg.h:26:32: fatal error: tremor/ivorbisfile.h: No such file or directory
#include <tremor/ivorbisfile.h>
^
compilation terminated.
make: *** [dynamic_ogg.o] Error 1
I'm going to need the patch, it's not detecting libogg even though I installed itI enables other file format to sdl mixer, so now you need libmad tremor mikmod and libogg.
Everything but mikmod is un the devkitarm portlib makefile, and to build mikmod follow the example of the other libs to add it to the makefile.
But I found a problem with tremor and I had to modify the the autogen.sh file.
Don't know if it's only on my toolchain, but if someone need it I can share the patch.
Ps: sorry for the typos, I'm writing on a very small mobile