Homebrew Homebrew Development

RaptorDMG

Well-Known Member
Member
Joined
Sep 13, 2015
Messages
402
Trophies
0
Age
23
Location
Stirling
XP
2,000
Country
United Kingdom
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
 

yodamerlin

Bok bok.
Member
Joined
Apr 1, 2014
Messages
322
Trophies
0
XP
1,050
Country
United Kingdom
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?
 

neumaennl

Member
Newcomer
Joined
Nov 1, 2015
Messages
6
Trophies
0
XP
50
Country
Germany
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?
 

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,035
Country
United States
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
 

TheCruel

Developer
Banned
Joined
Dec 6, 2013
Messages
1,350
Trophies
2
XP
3,131
Country
United States
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

Rinnegatamante

Well-Known Member
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
  • Like
Reactions: Arubaro

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    ZeroT21 @ ZeroT21: the 2nd pic dun show much, just topdown view of the layout