wiiu-env / launchiine

40 stars 5 forks source link

Compiling W/ Make #16

Open godreborn opened 2 years ago

godreborn commented 2 years ago

I'm getting this error. I installed wut or actually it was already installed, and libgui's dependencies, but I'm not sure if libgui is installed exactly. here's the error:

C:\Users\GODREBORN\Desktop\launchiine-master>make iconEmpty.png layoutSwitchButton.png leftArrow.png noGameIcon.png rightArrow.png settingsButton.png bgMusic.ogg button_click.mp3 settings_click_2.mp3 font.ttf Application.cpp In file included from C:/Users/GODREBORN/Desktop/launchiine-master/src/Application.h:20, from C:/Users/GODREBORN/Desktop/launchiine-master/src/Application.cpp:22: C:/Users/GODREBORN/Desktop/launchiine-master/src/menu/MainWindow.h:22:10: fatal error: gui/Gui.h: No such file or directory 22 | #include <gui/Gui.h> | ^~~ compilation terminated. make[1]: [/opt/devkitpro/devkitPPC/base_rules:13: Application.o] Error 1 make: [Makefile:109: build] Error 2

godreborn commented 2 years ago

I just compiled wut and libgui (no errors), and I put the lib files in the lib directory of wut in devkitpro:

image

Xpl0itU commented 2 years ago

You also need to put the header files in the include dir

godreborn commented 2 years ago

which header files? the header files from wut and libgui? which include dir?

Maschell commented 2 years ago

Never manually copy paste any files. Please remove all the files you have copied manually and install libgui by using make install

godreborn commented 2 years ago

I did make install, and I'm not really sure what's going on, but this is what it shows. is it done?:

image

godreborn commented 2 years ago

I think I may have figured out what's wrong, but I don't know what the destination directory for "install" should be. I think that's why it's getting stuck after building libgui.a. should it be the wut directory? (i.e. C:/devkitpro/wut )?