Line 169:
Line 169:
In order to ‘install’ Libwiisprite, follow these steps
In order to ‘install’ Libwiisprite, follow these steps
−
# Open the folder “libwiisprite/libwiisprite” then open the “include” folder. Next, copy the entire contents of the folder, there should be 8 files with the .h extension.
+
# Open the folder “libwiisprite-master” then open the command prompt in this folder
−
# Next, open devkitPro/libogc/include ( \ slashes for windows) and paste the includes there.
+
# Execute the commands "make clean" followed by "make"
−
# Go back to libwiisprite and open the libwiisprite folder in libwiisprite. Then open lib and copy the one .a file there and paste it in devkitPro/libogc/lib/wii.
+
# Execute the command "make install"
−
# Again, go back to the root of libwiisprite and open libpng, copy the contents to the same place as the other .h files and then open.
+
−
# Open libwiisprite/libpng/lib and copy libpng.a and paste it in devkitPro/libogc/wii.
+
Disclaimer : You may need to install "ppc-freetype" to devkitpro in order for these commands to work. This can be done by opening Msys2, and typing the
+
command : "pacman -S ppc-freetype"
Now you are set up to start programming.
Now you are set up to start programming.