Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling issue #7

Open
Denkishi opened this issue Mar 14, 2020 · 3 comments
Open

Compiling issue #7

Denkishi opened this issue Mar 14, 2020 · 3 comments

Comments

@Denkishi
Copy link

λ 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 > inst::ui::selectedTitles'
17 | std::vectorstd::string selectedTitles;
| ^~~~~~~~~~~~~~
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:20:48: note: previous declaration as 'std::vectorstd::filesystem::__cxx11::path inst::ui::selectedTitles'
20 | std::vectorstd::filesystem::path selectedTitles;
| ^~~~~~~~~~~~~~
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:20:13: error: 'TextBlock' does not name a type
20 | TextBlock::Ref butText;
| ^~~~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/usbInstPage.hpp:21:13: error: 'Rectangle' does not name a type; did you mean 'rectangleRGBA'?
21 | Rectangle::Ref topRect;
| ^~~~~~~~~
| rectangleRGBA
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/usbInstPage.hpp:22:13: error: 'Rectangle' does not name a type; did you mean 'rectangleRGBA'?
22 | Rectangle::Ref infoRect;
| ^~~~~~~~~
| rectangleRGBA
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/usbInstPage.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/usbInstPage.hpp:24:13: error: 'Image' does not name a type
24 | Image::Ref titleImage;
| ^~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/usbInstPage.hpp:25:13: error: 'TextBlock' does not name a type
25 | TextBlock::Ref appVersionText;
| ^~~~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/usbInstPage.hpp:26:17: error: 'ui' in namespace 'pu' does not name a type
26 | pu::ui::elm::Menu::Ref menu;
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/usbInstPage.hpp:27:13: error: 'Image' does not name a type
27 | Image::Ref infoImage;
| ^~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/usbInstPage.hpp:31:1: error: expected declaration before '}' token
31 | }
| ^
In file included from C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:7,
from C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:4:
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/instPage.hpp:4:21: error: 'pu::ui' has not been declared
4 | using namespace pu::ui::elm;
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/instPage.hpp:4:25: error: 'elm' is not a namespace-name
4 | using namespace pu::ui::elm;
| ^~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/instPage.hpp:6:33: error: 'pu::ui' has not been declared
6 | class instPage : public pu::ui::Layout
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/instPage.hpp:6:37: error: expected '{' before 'Layout'
6 | class instPage : public pu::ui::Layout
| ^~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/instPage.hpp:6:37: 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:7,
from C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:4:
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/instPage.hpp:8:9: error: expected primary-expression before 'public'
8 | public:
| ^~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/instPage.hpp:8:9: error: expected '}' before 'public'
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/instPage.hpp:7:5: note: to match this '{'
7 | {
| ^
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/instPage.hpp:11:13: error: expected constructor, destructor, or type conversion before 'void'
11 | void onInput(u64 Down, u64 Up, u64 Held, pu::ui::Touch Pos);
| ^~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/instPage.hpp:12:13: error: 'TextBlock' does not name a type
12 | TextBlock::Ref pageInfoText;
| ^~~~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/instPage.hpp:13:13: error: 'TextBlock' does not name a type
13 | TextBlock::Ref installInfoText;
| ^~~~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/instPage.hpp:14:17: error: 'ui' in namespace 'pu' does not name a type
14 | pu::ui::elm::ProgressBar::Ref installBar;
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/instPage.hpp:20:9: error: expected unqualified-id before 'private'
20 | private:
| ^~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/instPage.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/instPage.hpp:23:13: error: 'Image' does not name a type
23 | Image::Ref titleImage;
| ^~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/instPage.hpp:24:13: error: 'TextBlock' does not name a type
24 | TextBlock::Ref appVersionText;
| ^~~~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/instPage.hpp:26:1: error: expected declaration before '}' token
26 | }
| ^
In file included from C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:8,
from C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:4:
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/optionsPage.hpp:4:21: error: 'pu::ui' has not been declared
4 | using namespace pu::ui::elm;
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/optionsPage.hpp:4:25: error: 'elm' is not a namespace-name
4 | using namespace pu::ui::elm;
| ^~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/optionsPage.hpp:6:36: error: 'pu::ui' has not been declared
6 | class optionsPage : public pu::ui::Layout
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/optionsPage.hpp:6:40: error: expected '{' before 'Layout'
6 | class optionsPage : public pu::ui::Layout
| ^~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/optionsPage.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:8,
from C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:4:
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/optionsPage.hpp:8:9: error: expected primary-expression before 'public'
8 | public:
| ^~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/optionsPage.hpp:8:9: error: expected '}' before 'public'
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/optionsPage.hpp:7:5: note: to match this '{'
7 | {
| ^
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/optionsPage.hpp:11:13: error: expected constructor, destructor, or type conversion before 'void'
11 | void onInput(u64 Down, u64 Up, u64 Held, pu::ui::Touch Pos);
| ^~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/optionsPage.hpp:13:9: error: expected unqualified-id before 'private'
13 | private:
| ^~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/optionsPage.hpp:15:13: error: 'Rectangle' does not name a type; did you mean 'rectangleRGBA'?
15 | Rectangle::Ref topRect;
| ^~~~~~~~~
| rectangleRGBA
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/optionsPage.hpp:16:13: error: 'Rectangle' does not name a type; did you mean 'rectangleRGBA'?
16 | Rectangle::Ref infoRect;
| ^~~~~~~~~
| rectangleRGBA
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/optionsPage.hpp:17:13: error: 'Rectangle' does not name a type; did you mean 'rectangleRGBA'?
17 | Rectangle::Ref botRect;
| ^~~~~~~~~
| rectangleRGBA
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/optionsPage.hpp:18:13: error: 'Image' does not name a type
18 | Image::Ref titleImage;
| ^~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/optionsPage.hpp:19:13: error: 'TextBlock' does not name a type
19 | TextBlock::Ref appVersionText;
| ^~~~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/optionsPage.hpp:20:13: error: 'TextBlock' does not name a type
20 | TextBlock::Ref pageInfoText;
| ^~~~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/optionsPage.hpp:21:17: error: 'ui' in namespace 'pu' does not name a type
21 | pu::ui::elm::Menu::Ref menu;
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/optionsPage.hpp:26:1: error: expected declaration before '}' token
26 | }
| ^
In file included from C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:4:
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:11:40: error: 'pu::ui' has not been declared
11 | class MainApplication : public pu::ui::Application {
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:11:44: error: expected '{' before 'Application'
11 | class MainApplication : public pu::ui::Application {
| ^~~~~~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:12:9: error: expected primary-expression before 'public'
12 | public:
| ^~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:12:9: error: expected '}' before 'public'
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:11:56: note: to match this '{'
11 | class MainApplication : public pu::ui::Application {
| ^
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:15:13: error: expected constructor, destructor, or type conversion before 'void'
15 | void OnLoad() override;
| ^~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:16:23: error: invalid use of incomplete type 'class inst::ui::MainPage'
16 | MainPage::Ref mainPage;
| ^~~
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:11: note: forward declaration of 'class inst::ui::MainPage'
6 | class MainPage : public pu::ui::Layout
| ^~~~~~~~
In file included from C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:4:
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:17:26: error: invalid use of incomplete type 'class inst::ui::netInstPage'
17 | netInstPage::Ref netinstPage;
| ^~~
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:6:11: note: forward declaration of 'class inst::ui::netInstPage'
6 | class netInstPage : public pu::ui::Layout
| ^~~~~~~~~~~
In file included from C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:4:
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:18:25: error: invalid use of incomplete type 'class inst::ui::sdInstPage'
18 | sdInstPage::Ref sdinstPage;
| ^~~
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:7:11: note: forward declaration of 'class inst::ui::sdInstPage'
7 | class sdInstPage : public pu::ui::Layout
| ^~~~~~~~~~
In file included from C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:4:
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:19:26: error: invalid use of incomplete type 'class inst::ui::usbInstPage'
19 | usbInstPage::Ref usbinstPage;
| ^~~
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:6:11: note: forward declaration of 'class inst::ui::usbInstPage'
6 | class usbInstPage : public pu::ui::Layout
| ^~~~~~~~~~~
In file included from C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:4:
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:20:23: error: invalid use of incomplete type 'class inst::ui::instPage'
20 | instPage::Ref instpage;
| ^~~
In file included from C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:7,
from C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:4:
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/instPage.hpp:6:11: note: forward declaration of 'class inst::ui::instPage'
6 | class instPage : public pu::ui::Layout
| ^~~~~~~~
In file included from C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:4:
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:21:26: error: invalid use of incomplete type 'class inst::ui::optionsPage'
21 | optionsPage::Ref optionspage;
| ^~~
In file included from C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:8,
from C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:4:
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/optionsPage.hpp:6:11: note: forward declaration of 'class inst::ui::optionsPage'
6 | class optionsPage : public pu::ui::Layout
| ^~~~~~~~~~~
In file included from C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:4:
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:23:1: error: expected declaration before '}' token
23 | }
| ^
C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:8:21: error: 'pu::ui' has not been declared
8 | using namespace pu::ui::render;
| ^~
C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:8:25: error: 'render' is not a namespace-name
8 | using namespace pu::ui::render;
| ^~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp: In function 'int main(int, char**)':
C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:13:25: error: 'Renderer' has not been declared
13 | auto renderer = Renderer::New(SDL_INIT_TIMER | SDL_INIT_VIDEO | SDL_INIT_EVENTS | SDL_INIT_JOYSTICK | SDL_INIT_HAPTIC | SDL_INIT_GAMECONTROLLER,
| ^~~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:14:13: error: 'RendererInitOptions' has not been declared
14 | RendererInitOptions::RendererNoSound, RendererHardwareFlags);
| ^~~~~~~~~~~~~~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:14:51: error: 'RendererHardwareFlags' was not declared in this scope
14 | RendererInitOptions::RendererNoSound, RendererHardwareFlags);
| ^~~~~~~~~~~~~~~~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:15:48: error: incomplete type 'inst::ui::MainApplication' used in nested name specifier
15 | auto main = inst::ui::MainApplication::New(renderer);
| ^~~
In file included from C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:7,
from C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:4:
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/instPage.hpp: At global scope:
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/instPage.hpp:15:25: error: 'void inst::ui::setTopInstInfoText(std::string)' declared 'static' but never defined [-Werror=unused-function]
15 | static void setTopInstInfoText(std::string ourText);
| ^~~~~~~~~~~~~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/instPage.hpp:16:25: error: 'void inst::ui::setInstInfoText(std::string)' declared 'static' but never defined [-Werror=unused-function]
16 | static void setInstInfoText(std::string ourText);
| ^~~~~~~~~~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/instPage.hpp:17:25: error: 'void inst::ui::setInstBarPerc(double)' declared 'static' but never defined [-Werror=unused-function]
17 | static void setInstBarPerc(double ourPercent);
| ^~~~~~~~~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/instPage.hpp:18:25: error: 'void inst::ui::loadMainMenu()' declared 'static' but never defined [-Werror=unused-function]
18 | static void loadMainMenu();
| ^~~~~~~~~~~~
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/instPage.hpp:19:25: error: 'void inst::ui::loadInstallScreen()' declared 'static' but never defined [-Werror=unused-function]
19 | static void loadInstallScreen();
| ^~~~~~~~~~~~~~~~~
In file included from C:/Users/Vincenzo/Desktop/tinleaf/include/ui/MainApplication.hpp:8,
from C:/Users/Vincenzo/Desktop/tinleaf/source/main.cpp:4:
C:/Users/Vincenzo/Desktop/tinleaf/include/ui/optionsPage.hpp:12:25: error: 'void inst::ui::askToUpdate(std::vector<std::__cxx11::basic_string >)' declared 'static' but never defined [-Werror=unused-function]
12 | static void askToUpdate(std::vectorstd::string updateInfo);
| ^~~~~~~~~~~
cc1plus.exe: all warnings being treated as errors
make[1]: *** [V:\devkitpro/devkitA64/base_rules:14: main.o] Errore 1
make: *** [Makefile:171: build] Errore 2

@blawar
Copy link
Owner

blawar commented Mar 14, 2020

did you do a recursive clone to get the plutonium repo as well?

@Denkishi
Copy link
Author

yes but you haven't included it

@blawar
Copy link
Owner

blawar commented Mar 15, 2020

You are correct, it was lost when I used the SVN git connector. I'll push it with git later.

drizzt added a commit to drizzt/timleaf that referenced this issue Jan 8, 2021
drizzt added a commit to drizzt/timleaf that referenced this issue Jan 8, 2021
blawar added a commit that referenced this issue Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants