Homebrew Homebrew Development

  • Thread starter Thread starter aliak11
  • Start date Start date
  • Views Views 1,475,095
  • Replies Replies 6,048
  • Likes Likes 54
I get this error when I try to build the gpu example in ctrulib
C:\devkitPro\ctrulib\examples\graphics\gpu\geoshader>make clean
clean ...

C:\devkitPro\ctrulib\examples\graphics\gpu\geoshader>make
gshader.pica
vshader.pica
3dmath.c
arm-none-eabi-gcc -MMD -MP -MF /c/devkitPro/ctrulib/examples/graphics/gpu/geosha
der/build/3dmath.d -g -Wall -O2 -mword-relocations -fomit-frame-pointer -ffast-m
ath -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/devkitPro/ctrulib/examples
/graphics/gpu/geoshader/include -I/c/devkitPro/libctru/include -I/c/devkitPro/ct
rulib/examples/graphics/gpu/geoshader/build -DARM11 -D_3DS -c /c/devkitPro/ctrul
ib/examples/graphics/gpu/geoshader/source/3dmath.c -o 3dmath.o
gpu.c
arm-none-eabi-gcc -MMD -MP -MF /c/devkitPro/ctrulib/examples/graphics/gpu/geosha
der/build/gpu.d -g -Wall -O2 -mword-relocations -fomit-frame-pointer -ffast-math
-march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/devkitPro/ctrulib/examples/gr
aphics/gpu/geoshader/include -I/c/devkitPro/libctru/include -I/c/devkitPro/ctrul
ib/examples/graphics/gpu/geoshader/build -DARM11 -D_3DS -c /c/devkitPro/ctrulib/
examples/graphics/gpu/geoshader/source/gpu.c -o gpu.o
c:/devkitPro/ctrulib/examples/graphics/gpu/geoshader/source/gpu.c: In function '
gpuClearBuffers':
c:/devkitPro/ctrulib/examples/graphics/gpu/geoshader/source/gpu.c:31:45: error:
'GX_FILL_TRIGGER' undeclared (first use in this function)
colorBuf, clearColor, &colorBuf[240*400], GX_FILL_TRIGGER | GX_FILL_32BIT_DEP
TH,
^
c:/devkitPro/ctrulib/examples/graphics/gpu/geoshader/source/gpu.c:31:45: note: e
ach undeclared identifier is reported only once for each function it appears in
c:/devkitPro/ctrulib/examples/graphics/gpu/geoshader/source/gpu.c:31:63: error:
'GX_FILL_32BIT_DEPTH' undeclared (first use in this function)
colorBuf, clearColor, &colorBuf[240*400], GX_FILL_TRIGGER | GX_FILL_32BIT_DEP
TH,
^
c:/devkitPro/ctrulib/examples/graphics/gpu/geoshader/source/gpu.c: In function '
gpuFrameBegin':
c:/devkitPro/ctrulib/examples/graphics/gpu/geoshader/source/gpu.c:48:19: error:
'GPU_STENCIL_KEEP' undeclared (first use in this function)
GPU_SetStencilOp(GPU_STENCIL_KEEP, GPU_STENCIL_KEEP, GPU_STENCIL_KEEP);
^
c:/devkitPro/ctrulib/examples/graphics/gpu/geoshader/source/gpu.c: In function '
gpuFrameEnd':
c:/devkitPro/ctrulib/examples/graphics/gpu/geoshader/source/gpu.c:76:3: warning:
implicit declaration of function 'GX_TRANSFER_FLIP_VERT' [-Wimplicit-function-d
eclaration]
DISPLAY_TRANSFER_FLAGS);
^
c:/devkitPro/ctrulib/examples/graphics/gpu/geoshader/source/gpu.c:76:3: warning:
implicit declaration of function 'GX_TRANSFER_OUT_TILED' [-Wimplicit-function-d
eclaration]
c:/devkitPro/ctrulib/examples/graphics/gpu/geoshader/source/gpu.c:76:3: warning:
implicit declaration of function 'GX_TRANSFER_RAW_COPY' [-Wimplicit-function-de
claration]
c:/devkitPro/ctrulib/examples/graphics/gpu/geoshader/source/gpu.c:76:3: warning:
implicit declaration of function 'GX_TRANSFER_IN_FORMAT' [-Wimplicit-function-d
eclaration]
c:/devkitPro/ctrulib/examples/graphics/gpu/geoshader/source/gpu.c:5:24: error: '
GX_TRANSFER_FMT_RGBA8' undeclared (first use in this function)
GX_TRANSFER_IN_FORMAT(GX_TRANSFER_FMT_RGBA8) | GX_TRANSFER_OUT_FORMAT(GX_TRANS
FER_FMT_RGB8) | \
^
c:/devkitPro/ctrulib/examples/graphics/gpu/geoshader/source/gpu.c:76:3: note: in
expansion of macro 'DISPLAY_TRANSFER_FLAGS'
DISPLAY_TRANSFER_FLAGS);
^
c:/devkitPro/ctrulib/examples/graphics/gpu/geoshader/source/gpu.c:76:3: warning:
implicit declaration of function 'GX_TRANSFER_OUT_FORMAT' [-Wimplicit-function-
declaration]
c:/devkitPro/ctrulib/examples/graphics/gpu/geoshader/source/gpu.c:5:72: error: '
GX_TRANSFER_FMT_RGB8' undeclared (first use in this function)
GX_TRANSFER_IN_FORMAT(GX_TRANSFER_FMT_RGBA8) | GX_TRANSFER_OUT_FORMAT(GX_TRANS
FER_FMT_RGB8) | \
^
c:/devkitPro/ctrulib/examples/graphics/gpu/geoshader/source/gpu.c:76:3: note: in
expansion of macro 'DISPLAY_TRANSFER_FLAGS'
DISPLAY_TRANSFER_FLAGS);
^
c:/devkitPro/ctrulib/examples/graphics/gpu/geoshader/source/gpu.c:76:3: warning:
implicit declaration of function 'GX_TRANSFER_SCALING' [-Wimplicit-function-dec
laration]
c:/devkitPro/ctrulib/examples/graphics/gpu/geoshader/source/gpu.c:6:22: error: '
GX_TRANSFER_SCALE_NO' undeclared (first use in this function)
GX_TRANSFER_SCALING(GX_TRANSFER_SCALE_NO))
^
c:/devkitPro/ctrulib/examples/graphics/gpu/geoshader/source/gpu.c:76:3: note: in
expansion of macro 'DISPLAY_TRANSFER_FLAGS'
DISPLAY_TRANSFER_FLAGS);
^
make[1]: *** [gpu.o] Error 1
make: *** [build] Error 2
 
How does the HOMEbrew Menu use shortcuts to HANS? Does anyone have a code snippet?
Also, is it HANS that hooks onto the game to exit with key combo, or is it the payload?
 
Hi, I just built ctrulib, citrus, and GameYob on my Ubuntu box using devkitARM without any source code changes, but unfortunately, when I start the GameYob I built on my n3DS XL, the menu is not displayed.
I can start the gameboy games just fine, though. I just have to do it "blind" because nothing is displayed on the lower screen.
Also, when I bring up the menu in game by pressing R, the bottom screen stays black. Any ideas?
 
Hi, I just built ctrulib, citrus, and GameYob on my Ubuntu box using devkitARM without any source code changes, but unfortunately, when I start the GameYob I built on my n3DS XL, the menu is not displayed.
I can start the gameboy games just fine, though. I just have to do it "blind" because nothing is displayed on the lower screen.
Also, when I bring up the menu in game by pressing R, the bottom screen stays black. Any ideas?
There was an update to ctrulib to address this issue but it was for o3ds. You can try switching it back to see if it fixes your issue https://github.com/smealum/ctrulib/commit/76e47c02c807f6dc774bfe3101a4d3f83dcb0ed7
 
Going to test my new networked drawing game tomorrow probably. Need beta testing done since it's fairly complicated, so hopefully people will be available to help.

Just thought I would share here for fun lol:

KAz0hQI.gif


https://github.com/Cruel/DrawAttack
 
Last edited by TheCruel,
  • Like
Reactions: Arubaro
  • Like
Reactions: Arubaro

Site & Scene News

Popular threads in this forum