Homebrew Homebrew HelpDesk

spinal_cord

Knows his stuff
Member
Joined
Jul 21, 2007
Messages
3,197
Trophies
1
Age
42
Location
somewhere
Website
spinalcode.co.uk
XP
2,945
Country
OK, I just this second redownloaded and rebuilt ctrulib....

And you guy's say I'm the only one getting any sort of error with the bundled audio example?


Code:
MacMini:mic spinal$ make

main.c

arm-none-eabi-gcc -MMD -MP -MF /opt/devkitpro/examples/3ds/audio/mic/build/main.d -g -Wall -O2 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/opt/devkitpro/examples/3ds/audio/mic/include -I/Users/spinal/devkitPro/libctru/include -I/opt/devkitpro/examples/3ds/audio/mic/build -DARM11 -D_3DS -c /opt/devkitpro/examples/3ds/audio/mic/source/main.c -o main.o 

/opt/devkitpro/examples/3ds/audio/mic/source/main.c: In function 'main':

/opt/devkitpro/examples/3ds/audio/mic/source/main.c:18:2: warning: implicit declaration of function 'CSND_initialize' [-Wimplicit-function-declaration]

  if(CSND_initialize(NULL)==0)audio_initialized = 1;

  ^

/opt/devkitpro/examples/3ds/audio/mic/source/main.c:42:5: warning: implicit declaration of function 'CSND_setchannel_playbackstate' [-Wimplicit-function-declaration]

    CSND_setchannel_playbackstate(0x8, 0);//Stop audio playback.

    ^

/opt/devkitpro/examples/3ds/audio/mic/source/main.c:43:5: warning: implicit declaration of function 'CSND_sharedmemtype0_cmdupdatestate' [-Wimplicit-function-declaration]

    CSND_sharedmemtype0_cmdupdatestate(0);

    ^

/opt/devkitpro/examples/3ds/audio/mic/source/main.c:62:5: warning: implicit declaration of function 'CSND_playsound' [-Wimplicit-function-declaration]

    CSND_playsound(0x8, CSND_LOOP_DISABLE, CSND_ENCODING_PCM16, 16000, (u32*)audiobuf, NULL, audiobuf_pos, 2, 0);

    ^

/opt/devkitpro/examples/3ds/audio/mic/source/main.c:62:25: error: 'CSND_LOOP_DISABLE' undeclared (first use in this function)

    CSND_playsound(0x8, CSND_LOOP_DISABLE, CSND_ENCODING_PCM16, 16000, (u32*)audiobuf, NULL, audiobuf_pos, 2, 0);

                        ^

/opt/devkitpro/examples/3ds/audio/mic/source/main.c:62:25: note: each undeclared identifier is reported only once for each function it appears in

/opt/devkitpro/examples/3ds/audio/mic/source/main.c:80:2: warning: implicit declaration of function 'CSND_shutdown' [-Wimplicit-function-declaration]

  if(audio_initialized)CSND_shutdown();

  ^

make[1]: *** [main.o] Error 1

make: *** [build] Error 2

MacMini:mic spinal$
 
  • Like
Reactions: clank

Garcia98

Hey! Listen!
Member
Joined
Sep 8, 2015
Messages
361
Trophies
0
Location
Salamanca
Website
github.com
XP
257
Country
OK, I just this second redownloaded and rebuilt ctrulib....

And you guy's say I'm the only one getting any sort of error with the bundled audio example?


Code:
MacMini:mic spinal$ make

main.c

arm-none-eabi-gcc -MMD -MP -MF /opt/devkitpro/examples/3ds/audio/mic/build/main.d -g -Wall -O2 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/opt/devkitpro/examples/3ds/audio/mic/include -I/Users/spinal/devkitPro/libctru/include -I/opt/devkitpro/examples/3ds/audio/mic/build -DARM11 -D_3DS -c /opt/devkitpro/examples/3ds/audio/mic/source/main.c -o main.o

/opt/devkitpro/examples/3ds/audio/mic/source/main.c: In function 'main':

/opt/devkitpro/examples/3ds/audio/mic/source/main.c:18:2: warning: implicit declaration of function 'CSND_initialize' [-Wimplicit-function-declaration]

  if(CSND_initialize(NULL)==0)audio_initialized = 1;

  ^

/opt/devkitpro/examples/3ds/audio/mic/source/main.c:42:5: warning: implicit declaration of function 'CSND_setchannel_playbackstate' [-Wimplicit-function-declaration]

    CSND_setchannel_playbackstate(0x8, 0);//Stop audio playback.

    ^

/opt/devkitpro/examples/3ds/audio/mic/source/main.c:43:5: warning: implicit declaration of function 'CSND_sharedmemtype0_cmdupdatestate' [-Wimplicit-function-declaration]

    CSND_sharedmemtype0_cmdupdatestate(0);

    ^

/opt/devkitpro/examples/3ds/audio/mic/source/main.c:62:5: warning: implicit declaration of function 'CSND_playsound' [-Wimplicit-function-declaration]

    CSND_playsound(0x8, CSND_LOOP_DISABLE, CSND_ENCODING_PCM16, 16000, (u32*)audiobuf, NULL, audiobuf_pos, 2, 0);

    ^

/opt/devkitpro/examples/3ds/audio/mic/source/main.c:62:25: error: 'CSND_LOOP_DISABLE' undeclared (first use in this function)

    CSND_playsound(0x8, CSND_LOOP_DISABLE, CSND_ENCODING_PCM16, 16000, (u32*)audiobuf, NULL, audiobuf_pos, 2, 0);

                        ^

/opt/devkitpro/examples/3ds/audio/mic/source/main.c:62:25: note: each undeclared identifier is reported only once for each function it appears in

/opt/devkitpro/examples/3ds/audio/mic/source/main.c:80:2: warning: implicit declaration of function 'CSND_shutdown' [-Wimplicit-function-declaration]

  if(audio_initialized)CSND_shutdown();

  ^

make[1]: *** [main.o] Error 1

make: *** [build] Error 2

MacMini:mic spinal$

I don't have any kind of issue with it :P
 

clank

Well-Known Member
Newcomer
Joined
Jan 24, 2015
Messages
99
Trophies
0
Age
26
Location
/dev/nvme0n1p1
XP
489
Country
Antigua and Barbuda
  • Like
Reactions: Garcia98

shango46

Well-Known Member
Member
Joined
Jul 18, 2010
Messages
216
Trophies
1
Age
39
Location
Edmonton, Alberta Canada
XP
1,818
Country
Canada
So I am having a bit of an error myself here and I need some help. I am trying to install Ironhax on my 9.9.0.26U n3DS XL. I have the "installer" folder at sdmc:/3ds/installer and I have launched the game previously (played it for a bit) and I have the newest boot.3dsx on the root of my sd, but when I tried doing the installer, it screwed up and said something went wrong. The system locked and after waiting a few minutes, I restarted.

Now when I go back to the HBL and select the installer, I get an error saying "Missing target title".
mxa1uYg.jpg

Anyone know what I can do? I tried deleting the folder and copying it over again, but it still does this.
 

SomeGamer

Well-Known Member
Member
Joined
Dec 19, 2014
Messages
6,827
Trophies
1
XP
4,838
Country
Hungary
So I am having a bit of an error myself here and I need some help. I am trying to install Ironhax on my 9.9.0.26U n3DS XL. I have the "installer" folder at sdmc:/3ds/installer and I have launched the game previously (played it for a bit) and I have the newest boot.3dsx on the root of my sd, but when I tried doing the installer, it screwed up and said something went wrong. The system locked and after waiting a few minutes, I restarted.

Now when I go back to the HBL and select the installer, I get an error saying "Missing target title".
mxa1uYg.jpg

Anyone know what I can do? I tried deleting the folder and copying it over again, but it still does this.
Delete IronFall's save with svdt on tubehax!
 

clank

Well-Known Member
Newcomer
Joined
Jan 24, 2015
Messages
99
Trophies
0
Age
26
Location
/dev/nvme0n1p1
XP
489
Country
Antigua and Barbuda
I'm obviously missing a step here. Give me step by step instructions for updating, because thats the 4th time I downloaded and built that exact version.

Just "download as ZIP" and put the ctrulib folder inside your devkitpro folder, it should be at C:/devkitpro/ probably. You don't need to build anything, just download the zip file and extract the ctrulib folder.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • JuanMena @ JuanMena:
    Kissing random dudes choking in celery? Really? Need to study for that?
  • K3N1 @ K3N1:
    Yes it requires a degree
  • K3N1 @ K3N1:
    I could also yank out the rest of my teeth but theirs professionals for that
  • x65943 @ x65943:
    If your throat closes, putting oxygen in your mouth will not solve anything - as you will be introducing oxygen prior to the area of obstruction
  • JuanMena @ JuanMena:
    Just kiss me Kyle.
  • x65943 @ x65943:
    You either need to be intubated to bypass obstruction or create a stoma inferior to the the area of obstruction to survive
  • x65943 @ x65943:
    "Just kiss me Kyle." And I thought all the godreborn gay stuff was a smear campaign
  • JuanMena @ JuanMena:
    If I die, tell my momma I won't be carrying Baby Jesus this christmas :sad::cry:
  • K3N1 @ K3N1:
    Smear campaigns are in The political section now?
  • JuanMena @ JuanMena:
    Chary! Chary! Chary, Chary, Chary!
  • Sonic Angel Knight @ Sonic Angel Knight:
    Pork Provolone :P
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds yummy
  • K3N1 @ K3N1:
    Sweet found my Wii u PSU right after I ordered a new one :tpi:
  • JuanMena @ JuanMena:
    It was waiting for you to order another one.
    Seems like, your PSU was waiting for a partner.
  • JuanMena @ JuanMena:
    Keep them both
    separated or you'll have more PSUs each year.
  • K3N1 @ K3N1:
    Well one you insert one PSU into the other one you get power
  • JuanMena @ JuanMena:
    It literally turns it on.
  • K3N1 @ K3N1:
    Yeah power supplies are filthy perverts
  • K3N1 @ K3N1:
    @Psionic Roshambo has a new friend
    +1
  • JuanMena @ JuanMena:
    It's Kyle, the guy that went to school to be a Certified man Kisser.
  • Psionic Roshambo @ Psionic Roshambo:
    Cartmans hand has taco flavored kisses
  • A @ abraarukuk:
    hi guys
  • Iron_Masuku @ Iron_Masuku:
    Hello
    Skelletonike @ Skelletonike: hmm