Compiling issue
λ make #comment this out if you are hacking on the code or compilation will take forever
make --no-print-directory -C include/Plutonium -f Makefile lib
main.cpp
aarch64-none-elf-g++ -MMD -MP -MF /home/Vincenzo/Desktop/tinleaf/build/main.d -g -Wall -O2 -ffunction-sections -march=armv8-a+crc+crypto -mtune=cortex-a57 -mtp=soft -fPIE -I/home/Vincenzo/Desktop/tinleaf/include -I/home/Vincenzo/Desktop/tinleaf/include/ui -I/home/Vincenzo/Desktop/tinleaf/include/data -I/home/Vincenzo/Desktop/tinleaf/include/install -I/home/Vincenzo/Desktop/tinleaf/include/nx -I/home/Vincenzo/Desktop/tinleaf/include/nx/ipc -I/home/Vincenzo/Desktop/tinleaf/include/util -I/home/Vincenzo/Desktop/tinleaf/include/Plutonium/Plutonium/Output-switch/include -I/V\devkitpro/portlibs/switch/include -IV:\devkitpro/libnx/include -I/home/Vincenzo/Desktop/tinleaf/include/Plutonium/Plutonium/Output/include -I/home/Vincenzo/Desktop/tinleaf/build -D__SWITCH__ -Wall -Werror -fno-rtti -std=gnu++17 -Wall -Werror -c /home/Vincenzo/Desktop/tinleaf/source/main.cpp -o main.o
In file included from C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:3,
from C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:4:
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/mainPage.hpp:4:21: error: 'pu::ui' has not been declared
4 | using namespace pu::ui::elm;
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/mainPage.hpp:4:25: error: 'elm' is not a namespace-name
4 | using namespace pu::ui::elm;
| ^~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/mainPage.hpp:6:33: error: 'pu::ui' has not been declared
6 | class MainPage : public pu::ui::Layout
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/mainPage.hpp:6:37: error: expected '{' before 'Layout'
6 | class MainPage : public pu::ui::Layout
| ^~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/mainPage.hpp:8:9: error: expected primary-expression before 'public'
8 | public:
| ^~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/mainPage.hpp:8:9: error: expected '}' before 'public'
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/mainPage.hpp:7:5: note: to match this '{'
7 | {
| ^
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/mainPage.hpp:11:13: error: expected constructor, destructor, or type conversion before 'void'
11 | void installMenuItem_Click();
| ^~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/mainPage.hpp:17:58: error: 'pu::ui' has not been declared
17 | void onInput(u64 Down, u64 Up, u64 Held, pu::ui::Touch Pos);
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/mainPage.hpp:18:9: error: expected unqualified-id before 'private'
18 | private:
| ^~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/mainPage.hpp:21:13: error: 'TextBlock' does not name a type
21 | TextBlock::Ref butText;
| ^~~~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/mainPage.hpp:22:13: error: 'Rectangle' does not name a type; did you mean 'rectangleRGBA'?
22 | Rectangle::Ref topRect;
| ^~~~~~~~~
| rectangleRGBA
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/mainPage.hpp:23:13: error: 'Rectangle' does not name a type; did you mean 'rectangleRGBA'?
23 | Rectangle::Ref botRect;
| ^~~~~~~~~
| rectangleRGBA
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/mainPage.hpp:24:13: error: 'Image' does not name a type
24 | Image::Ref titleImage;
| ^~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/mainPage.hpp:25:13: error: 'TextBlock' does not name a type
25 | TextBlock::Ref appVersionText;
| ^~~~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/mainPage.hpp:26:17: error: 'ui' in namespace 'pu' does not name a type
26 | pu::ui::elm::Menu::Ref optionMenu;
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/mainPage.hpp:27:17: error: 'ui' in namespace 'pu' does not name a type
27 | pu::ui::elm::MenuItem::Ref installMenuItem;
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/mainPage.hpp:28:17: error: 'ui' in namespace 'pu' does not name a type
28 | pu::ui::elm::MenuItem::Ref netInstallMenuItem;
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/mainPage.hpp:29:17: error: 'ui' in namespace 'pu' does not name a type
29 | pu::ui::elm::MenuItem::Ref usbInstallMenuItem;
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/mainPage.hpp:30:17: error: 'ui' in namespace 'pu' does not name a type
30 | pu::ui::elm::MenuItem::Ref sigPatchesMenuItem;
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/mainPage.hpp:31:17: error: 'ui' in namespace 'pu' does not name a type
31 | pu::ui::elm::MenuItem::Ref settingsMenuItem;
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/mainPage.hpp:32:17: error: 'ui' in namespace 'pu' does not name a type
32 | pu::ui::elm::MenuItem::Ref exitMenuItem;
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/mainPage.hpp:34:1: error: expected declaration before '}' token
34 | }
| ^
In file included from C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:4,
from C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:4:
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/netInstPage.hpp:4:21: error: 'pu::ui' has not been declared
4 | using namespace pu::ui::elm;
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/netInstPage.hpp:4:25: error: 'elm' is not a namespace-name
4 | using namespace pu::ui::elm;
| ^~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/netInstPage.hpp:6:36: error: 'pu::ui' has not been declared
6 | class netInstPage : public pu::ui::Layout
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/netInstPage.hpp:6:40: error: expected '{' before 'Layout'
6 | class netInstPage : public pu::ui::Layout
| ^~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/netInstPage.hpp:6:40: error: redefinition of 'int inst::ui::Layout'
In file included from C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:3,
from C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:4:
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/mainPage.hpp:6:37: note: 'int inst::ui::Layout' previously defined here
6 | class MainPage : public pu::ui::Layout
| ^~~~~~
In file included from C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:4,
from C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:4:
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/netInstPage.hpp:8:9: error: expected primary-expression before 'public'
8 | public:
| ^~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/netInstPage.hpp:8:9: error: expected '}' before 'public'
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/netInstPage.hpp:7:5: note: to match this '{'
7 | {
| ^
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/netInstPage.hpp:11:13: error: expected constructor, destructor, or type conversion before 'void'
11 | void startInstall(bool urlMode);
| ^~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/netInstPage.hpp:13:58: error: 'pu::ui' has not been declared
13 | void onInput(u64 Down, u64 Up, u64 Held, pu::ui::Touch Pos);
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/netInstPage.hpp:14:13: error: 'TextBlock' does not name a type
14 | TextBlock::Ref pageInfoText;
| ^~~~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/netInstPage.hpp:15:9: error: expected unqualified-id before 'private'
15 | private:
| ^~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/netInstPage.hpp:19:13: error: 'TextBlock' does not name a type
19 | TextBlock::Ref butText;
| ^~~~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/netInstPage.hpp:20:13: error: 'Rectangle' does not name a type; did you mean 'rectangleRGBA'?
20 | Rectangle::Ref topRect;
| ^~~~~~~~~
| rectangleRGBA
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/netInstPage.hpp:21:13: error: 'Rectangle' does not name a type; did you mean 'rectangleRGBA'?
21 | Rectangle::Ref infoRect;
| ^~~~~~~~~
| rectangleRGBA
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/netInstPage.hpp:22:13: error: 'Rectangle' does not name a type; did you mean 'rectangleRGBA'?
22 | Rectangle::Ref botRect;
| ^~~~~~~~~
| rectangleRGBA
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/netInstPage.hpp:23:13: error: 'Image' does not name a type
23 | Image::Ref titleImage;
| ^~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/netInstPage.hpp:24:13: error: 'TextBlock' does not name a type
24 | TextBlock::Ref appVersionText;
| ^~~~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/netInstPage.hpp:25:17: error: 'ui' in namespace 'pu' does not name a type
25 | pu::ui::elm::Menu::Ref menu;
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/netInstPage.hpp:26:13: error: 'Image' does not name a type
26 | Image::Ref infoImage;
| ^~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/netInstPage.hpp:30:1: error: expected declaration before '}' token
30 | }
| ^
In file included from C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:5,
from C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:4:
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/sdInstPage.hpp:5:21: error: 'pu::ui' has not been declared
5 | using namespace pu::ui::elm;
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/sdInstPage.hpp:5:25: error: 'elm' is not a namespace-name
5 | using namespace pu::ui::elm;
| ^~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/sdInstPage.hpp:7:35: error: 'pu::ui' has not been declared
7 | class sdInstPage : public pu::ui::Layout
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/sdInstPage.hpp:7:39: error: expected '{' before 'Layout'
7 | class sdInstPage : public pu::ui::Layout
| ^~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/sdInstPage.hpp:7:39: error: redefinition of 'int inst::ui::Layout'
In file included from C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:3,
from C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:4:
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/mainPage.hpp:6:37: note: 'int inst::ui::Layout' previously defined here
6 | class MainPage : public pu::ui::Layout
| ^~~~~~
In file included from C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:5,
from C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:4:
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/sdInstPage.hpp:9:9: error: expected primary-expression before 'public'
9 | public:
| ^~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/sdInstPage.hpp:9:9: error: expected '}' before 'public'
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/sdInstPage.hpp:8:5: note: to match this '{'
8 | {
| ^
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/sdInstPage.hpp:12:13: error: expected constructor, destructor, or type conversion before 'pu'
12 | pu::ui::elm::Menu::Ref menu;
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/sdInstPage.hpp:14:58: error: 'pu::ui' has not been declared
14 | void onInput(u64 Down, u64 Up, u64 Held, pu::ui::Touch Pos);
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/sdInstPage.hpp:15:13: error: 'TextBlock' does not name a type
15 | TextBlock::Ref pageInfoText;
| ^~~~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/sdInstPage.hpp:17:9: error: expected unqualified-id before 'private'
17 | private:
| ^~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/sdInstPage.hpp:22:13: error: 'TextBlock' does not name a type
22 | TextBlock::Ref butText;
| ^~~~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/sdInstPage.hpp:23:13: error: 'Rectangle' does not name a type; did you mean 'rectangleRGBA'?
23 | Rectangle::Ref topRect;
| ^~~~~~~~~
| rectangleRGBA
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/sdInstPage.hpp:24:13: error: 'Rectangle' does not name a type; did you mean 'rectangleRGBA'?
24 | Rectangle::Ref infoRect;
| ^~~~~~~~~
| rectangleRGBA
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/sdInstPage.hpp:25:13: error: 'Rectangle' does not name a type; did you mean 'rectangleRGBA'?
25 | Rectangle::Ref botRect;
| ^~~~~~~~~
| rectangleRGBA
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/sdInstPage.hpp:26:13: error: 'Image' does not name a type
26 | Image::Ref titleImage;
| ^~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/sdInstPage.hpp:27:13: error: 'TextBlock' does not name a type
27 | TextBlock::Ref appVersionText;
| ^~~~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/sdInstPage.hpp:31:1: error: expected declaration before '}' token
31 | }
| ^
In file included from C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:6,
from C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:4:
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/usbInstPage.hpp:4:21: error: 'pu::ui' has not been declared
4 | using namespace pu::ui::elm;
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/usbInstPage.hpp:4:25: error: 'elm' is not a namespace-name
4 | using namespace pu::ui::elm;
| ^~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/usbInstPage.hpp:6:36: error: 'pu::ui' has not been declared
6 | class usbInstPage : public pu::ui::Layout
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/usbInstPage.hpp:6:40: error: expected '{' before 'Layout'
6 | class usbInstPage : public pu::ui::Layout
| ^~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/usbInstPage.hpp:6:40: error: redefinition of 'int inst::ui::Layout'
In file included from C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:3,
from C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:4:
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/mainPage.hpp:6:37: note: 'int inst::ui::Layout' previously defined here
6 | class MainPage : public pu::ui::Layout
| ^~~~~~
In file included from C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:6,
from C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:4:
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/usbInstPage.hpp:8:9: error: expected primary-expression before 'public'
8 | public:
| ^~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/usbInstPage.hpp:8:9: error: expected '}' before 'public'
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/usbInstPage.hpp:7:5: note: to match this '{'
7 | {
| ^
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/usbInstPage.hpp:11:13: error: expected constructor, destructor, or type conversion before 'void'
11 | void startInstall();
| ^~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/usbInstPage.hpp:13:58: error: 'pu::ui' has not been declared
13 | void onInput(u64 Down, u64 Up, u64 Held, pu::ui::Touch Pos);
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/usbInstPage.hpp:14:13: error: 'TextBlock' does not name a type
14 | TextBlock::Ref pageInfoText;
| ^~~~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/usbInstPage.hpp:15:9: error: expected unqualified-id before 'private'
15 | private:
| ^~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/usbInstPage.hpp:17:38: error: conflicting declaration 'std::vector<std::__cxx11::basic_string
did you do a recursive clone to get the plutonium repo as well?
yes but you haven't included it
You are correct, it was lost when I used the SVN git connector. I'll push it with git later.