Advertisement
Guest User

Untitled

a guest
Mar 30th, 2020
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.74 KB | None | 0 0
  1. main.cpp
  2. aarch64-none-elf-g++ -MMD -MP -MF /home/public/tesla_test/build/main.d -g -Wall -O2 -ffunction-sections -march=armv8-a+crc+crypto -mtune=cortex-a57 -mtp=soft -fPIE -I/home/public/tesla_test/include -I/home/public/tesla_test/libs/libtesla/include -I/opt/devkitpro/portlibs/switch/include -I/opt/devkitpro/libnx/include -I/home/public/tesla_test/build -D__SWITCH__ -fno-exceptions -std=c++17 -c /home/public/tesla_test/source/main.cpp -o main.o
  3. C:/Users/public/tesla_test/source/main.cpp: In member function 'virtual tsl::elm::Element* GuiTest::createUI()':
  4. C:/Users/public/tesla_test/source/main.cpp:17:80: error: no matching function for call to 'tsl::elm::ListItem::ListItem(const char [20], const char [4])'
  5. 17 | auto* clickableListItem = new tsl::elm::ListItem("Clickable List Item", "...");
  6. | ^
  7. In file included from C:/Users/public/tesla_test/source/main.cpp:2:
  8. C:/Users/public/tesla_test/include/tesla.hpp:1919:13: note: candidate: 'tsl::elm::ListItem::ListItem(const string&)'
  9. 1919 | ListItem(const std::string& text)
  10. | ^~~~~~~~
  11. C:/Users/public/tesla_test/include/tesla.hpp:1919:13: note: candidate expects 1 argument, 2 provided
  12. C:/Users/public/tesla_test/include/tesla.hpp:1912:15: note: candidate: 'tsl::elm::ListItem::ListItem(const tsl::elm::ListItem&)'
  13. 1912 | class ListItem : public Element {
  14. | ^~~~~~~~
  15. C:/Users/public/tesla_test/include/tesla.hpp:1912:15: note: candidate expects 1 argument, 2 provided
  16. C:/Users/public/tesla_test/source/main.cpp: In lambda function:
  17. C:/Users/public/tesla_test/source/main.cpp:20:19: error: 'GuiSecondary' was not declared in this scope
  18. 20 | tsl::changeTo<GuiSecondary>();
  19. | ^~~~~~~~~~~~
  20. C:/Users/public/tesla_test/source/main.cpp:20:33: error: no matching function for call to 'changeTo<<expression error> >()'
  21. 20 | tsl::changeTo<GuiSecondary>();
  22. | ^
  23. In file included from C:/Users/public/tesla_test/source/main.cpp:2:
  24. C:/Users/public/tesla_test/include/tesla.hpp:3261:32: note: candidate: 'template<class G, class ... Args> std::unique_ptr<tsl::Gui>& tsl::changeTo(Args&& ...)'
  25. 3261 | std::unique_ptr<tsl::Gui>& changeTo(Args&&... args) {
  26. | ^~~~~~~~
  27. C:/Users/public/tesla_test/include/tesla.hpp:3261:32: note: template argument deduction/substitution failed:
  28. C:/Users/public/tesla_test/source/main.cpp:20:33: error: template argument 1 is invalid
  29. 20 | tsl::changeTo<GuiSecondary>();
  30. | ^
  31. make[1]: *** [/opt/devkitpro/devkitA64/base_rules:14: main.o] Error 1
  32. make: *** [Makefile:169: build] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement