Homebrew Help updating ctrulib!

spinal_cord

Multitask? I have enough trouble single-tasking!
Member
Joined
Jul 21, 2007
Messages
3,388
Solutions
4
Reaction score
1,072
Trophies
2
Location
somewhere
Website
www.google.com
XP
4,586
Country
Antarctica
OK, here's the issue, I'm being told be some forum members that my ctrulib must be outdated because I can't get one of the code examples to compile. I have redownloaded ctrulib and rebuilt it several times but it isn'n making any difference. Can someone tell me if I'm missing a step --

Download ctrulib from here -- https://github.com/smealum/ctrulib
drop into devkitpro folder like so --

/opt/devkitpro/default.elf
/opt/devkitpro/devkitARM
/opt/devkitpro/examples
/opt/devkitpro/include
/opt/devkitpro/lib
/opt/devkitpro/libctru
/opt/devkitpro/libgba
/opt/devkitpro/libmirko
/opt/devkitpro/libnds
/opt/devkitpro/maxmod_license.txt

open terminal and cd to libctru...

MacMini: spinal$ cd /opt/devkitpro/libctru

and build...

MacMini:libctru spinal$ make

make[1]: `/opt/devkitpro/libctru/lib/libctru.a' is up to date.


Now, is there a next step or isn't there, because this is making no difference to me being able to try the audio example.


Thanks.
 
running
"make && make install"
on libctru dir should put it in the right place
at least it does on windows
 
but don't forget the make clean, because if it says it is up to date, notably something is broken regarding the timestamps in your object files as well as your library file.
so clean them out (either using make clean, or manually deleting all .o and .a files) and then make.
and only then make install.

...perhaps...
 
done and fixed. Thanks guys.

Now just to figure out how to add sound to my project and a lot of people (well, three or four) will be very happy :-)
 

Site & Scene News

Popular threads in this forum