Search found 6 matches

by Lrios4403
Wed Dec 25, 2019 10:59 pm
Forum: DS/DSi Development
Topic: OpenGL glTexImage2D with raw bitmap data
Replies: 3
Views: 11043

Re: OpenGL glTexImage2D with raw bitmap data

raw bitmap data is not the same as a bitmap file (.bmp file). a .bmp file contains header information about the image data and the format. raw bitmap data does not include a header - and is literally just raw data. It is unclear which format you are using - you say raw bitmap data, but referenced c...
by Lrios4403
Tue Dec 24, 2019 2:50 am
Forum: DS/DSi Development
Topic: OpenGL glTexImage2D with raw bitmap data
Replies: 3
Views: 11043

Opengl glTexImage2D with raw bitmap data

Hello, I am trying to load raw bitmap data from the ROM directory into a texture. The bitmap is saved by paint.net and the bitmap reader follows https://solarianprogrammer.com/2018/11/19/cpp-reading-writing-bmp-images/ , yet the textured cube still shows black. What is the correct way to Load a text...
by Lrios4403
Tue Dec 24, 2019 12:17 am
Forum: DS/DSi Development
Topic: OpenGL glTexImage2D with raw bitmap data
Replies: 3
Views: 11043

OpenGL glTexImage2D with raw bitmap data

As the name states, I am reading a bitmap file from the ROM directory and loading it into the ram. I followed https://solarianprogrammer.com/2018/11/19/cpp-reading-writing-bmp-images/ on how to read the bitmap data. I saved the bitmap data with paint.net 128x128 in dimensions, therefore the format i...
by Lrios4403
Mon Dec 23, 2019 11:53 pm
Forum: DS/DSi Development
Topic: undefined reference to `nitroFSInit'
Replies: 3
Views: 9220

Re: undefined reference to `nitroFSInit'

fincs wrote: Fri Dec 20, 2019 12:46 pm Make sure the LIBS line in your Makefile looks like this:

Code: Select all

LIBS	:= 	-lfilesystem -lfat -lnds9
Thanks! I looked at the makefile for the fielder example after you suggested this and I found what I needed to modify!
by Lrios4403
Mon Dec 23, 2019 11:52 pm
Forum: DS/DSi Development
Topic: undefined reference to `nitroFSInit'
Replies: 3
Views: 9220

Re: undefined reference to `nitroFSInit'

fincs wrote: Fri Dec 20, 2019 12:46 pm Make sure the LIBS line in your Makefile looks like this:

Code: Select all

LIBS	:= 	-lfilesystem -lfat -lnds9
Thanks! That worked!
by Lrios4403
Fri Dec 20, 2019 4:24 am
Forum: DS/DSi Development
Topic: undefined reference to `nitroFSInit'
Replies: 3
Views: 9220

undefined reference to `nitroFSInit'

So I'm trying to work on the rom directory. I can't seem to build the program because of the "filesystem.h" not working properly. For example here is my error: w:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/9.1.0/../../../../arm-none-eabi/bin/ld.exe: main.o: in function `filesysInital...