XorTroll/uLaunch

compile error :[/opt/devkitpro/devkitA64/base_rules:14: am_LibraryApplet.o] Error 1

bao3 opened this issue · 1 comments

bao3 commented

I installed all the lib and sdl2 , and git clone recursive this repo , and hit "make all" ,but I got errors:

root@Compile:/mnt/github/uLaunch# make all
make[1]: Entering directory '/mnt/github/uLaunch/uHbTarget'
Main.cpp
ul_Results.cpp
am_Application.cpp
am_LibraryApplet.cpp
In file included from /mnt/github/uLaunch/uHbTarget/../uLaunch/source/am/am_LibraryApplet.cpp:1:
/mnt/github/uLaunch/uHbTarget/../uLaunch/include/am/am_LibraryApplet.hpp: In function 'Result am::WebAppletStart(WebCommonConfig*)':
/mnt/github/uLaunch/uHbTarget/../uLaunch/include/am/am_LibraryApplet.hpp:19:35: error: 'AppletId_web' was not declared in this scope; did you mean 'AppletId'?
   19 |         return LibraryAppletStart(AppletId_web, web->version, &web->arg, sizeof(web->arg));
      |                                   ^~~~~~~~~~~~
      |                                   AppletId
/mnt/github/uLaunch/uHbTarget/../uLaunch/source/am/am_LibraryApplet.cpp: At global scope:
/mnt/github/uLaunch/uHbTarget/../uLaunch/source/am/am_LibraryApplet.cpp:12:35: error: 'AppletId_auth' was not declared in this scope; did you mean 'AppletId_None'?
   12 |             { 0x0100000000001001, AppletId_auth },
      |                                   ^~~~~~~~~~~~~
      |                                   AppletId_None
/mnt/github/uLaunch/uHbTarget/../uLaunch/source/am/am_LibraryApplet.cpp:13:35: error: 'AppletId_cabinet' was not declared in this scope; did you mean 'AppletId_None'?
   13 |             { 0x0100000000001002, AppletId_cabinet },
      |                                   ^~~~~~~~~~~~~~~~
      |                                   AppletId_None
/mnt/github/uLaunch/uHbTarget/../uLaunch/source/am/am_LibraryApplet.cpp:14:35: error: 'AppletId_controller' was not declared in this scope; did you mean 'AppletId_None'?
   14 |             { 0x0100000000001003, AppletId_controller },
      |                                   ^~~~~~~~~~~~~~~~~~~
      |                                   AppletId_None
/mnt/github/uLaunch/uHbTarget/../uLaunch/source/am/am_LibraryApplet.cpp:15:35: error: 'AppletId_dataErase' was not declared in this scope
   15 |             { 0x0100000000001004, AppletId_dataErase },
      |                                   ^~~~~~~~~~~~~~~~~~
/mnt/github/uLaunch/uHbTarget/../uLaunch/source/am/am_LibraryApplet.cpp:16:35: error: 'AppletId_error' was not declared in this scope
   16 |             { 0x0100000000001005, AppletId_error },
      |                                   ^~~~~~~~~~~~~~
/mnt/github/uLaunch/uHbTarget/../uLaunch/source/am/am_LibraryApplet.cpp:17:35: error: 'AppletId_netConnect' was not declared in this scope; did you mean 'AppletId_None'?
   17 |             { 0x0100000000001006, AppletId_netConnect },
      |                                   ^~~~~~~~~~~~~~~~~~~
      |                                   AppletId_None
/mnt/github/uLaunch/uHbTarget/../uLaunch/source/am/am_LibraryApplet.cpp:18:35: error: 'AppletId_playerSelect' was not declared in this scope
   18 |             { 0x0100000000001007, AppletId_playerSelect },
      |                                   ^~~~~~~~~~~~~~~~~~~~~
/mnt/github/uLaunch/uHbTarget/../uLaunch/source/am/am_LibraryApplet.cpp:19:35: error: 'AppletId_swkbd' was not declared in this scope
   19 |             { 0x0100000000001008, AppletId_swkbd },
      |                                   ^~~~~~~~~~~~~~
/mnt/github/uLaunch/uHbTarget/../uLaunch/source/am/am_LibraryApplet.cpp:20:35: error: 'AppletId_miiEdit' was not declared in this scope
   20 |             { 0x0100000000001009, AppletId_miiEdit },
      |                                   ^~~~~~~~~~~~~~~~
/mnt/github/uLaunch/uHbTarget/../uLaunch/source/am/am_LibraryApplet.cpp:21:35: error: 'AppletId_web' was not declared in this scope; did you mean 'AppletId'?
   21 |             { 0x010000000000100A, AppletId_web },
      |                                   ^~~~~~~~~~~~
      |                                   AppletId
/mnt/github/uLaunch/uHbTarget/../uLaunch/source/am/am_LibraryApplet.cpp:22:35: error: 'AppletId_shop' was not declared in this scope; did you mean 'AppletId_None'?
   22 |             { 0x010000000000100B, AppletId_shop },
      |                                   ^~~~~~~~~~~~~
      |                                   AppletId_None
/mnt/github/uLaunch/uHbTarget/../uLaunch/source/am/am_LibraryApplet.cpp:23:35: error: 'AppletId_photoViewer' was not declared in this scope
   23 |             { 0x010000000000100D, AppletId_photoViewer },
      |                                   ^~~~~~~~~~~~~~~~~~~~
/mnt/github/uLaunch/uHbTarget/../uLaunch/source/am/am_LibraryApplet.cpp:24:35: error: 'AppletId_set' was not declared in this scope; did you mean 'AppletId'?
   24 |             { 0x010000000000100E, AppletId_set },
      |                                   ^~~~~~~~~~~~
      |                                   AppletId
/mnt/github/uLaunch/uHbTarget/../uLaunch/source/am/am_LibraryApplet.cpp:25:35: error: 'AppletId_offlineWeb' was not declared in this scope
   25 |             { 0x010000000000100F, AppletId_offlineWeb },
      |                                   ^~~~~~~~~~~~~~~~~~~
/mnt/github/uLaunch/uHbTarget/../uLaunch/source/am/am_LibraryApplet.cpp:26:35: error: 'AppletId_loginShare' was not declared in this scope; did you mean 'AppletId_None'?
   26 |             { 0x0100000000001010, AppletId_loginShare },
      |                                   ^~~~~~~~~~~~~~~~~~~
      |                                   AppletId_None
/mnt/github/uLaunch/uHbTarget/../uLaunch/source/am/am_LibraryApplet.cpp:27:35: error: 'AppletId_wifiWebAuth' was not declared in this scope
   27 |             { 0x0100000000001011, AppletId_wifiWebAuth },
      |                                   ^~~~~~~~~~~~~~~~~~~~
/mnt/github/uLaunch/uHbTarget/../uLaunch/source/am/am_LibraryApplet.cpp:28:35: error: 'AppletId_myPage' was not declared in this scope; did you mean 'AppletId_None'?
   28 |             { 0x0100000000001013, AppletId_myPage }
      |                                   ^~~~~~~~~~~~~~~
      |                                   AppletId_None
/mnt/github/uLaunch/uHbTarget/../uLaunch/source/am/am_LibraryApplet.cpp:29:9: error: could not convert {{72057594037932033, <expression error>}, {72057594037932034, <expression error>}, {72057594037932035, <expression error>}, {72057594037932036, <expression error>}, {72057594037932037, <expression error>}, {72057594037932038, <expression error>}, {72057594037932039, <expression error>}, {72057594037932040, <expression error>}, {72057594037932041, <expression error>}, {72057594037932042, <expression error>}, {72057594037932043, <expression error>}, {72057594037932045, <expression error>}, {72057594037932046, <expression error>}, {72057594037932047, <expression error>}, {72057594037932048, <expression error>}, {72057594037932049, <expression error>}, {72057594037932051, <expression error>}}' from '<brace-enclosed initializer list>' to 'const std::map<long unsigned int, AppletId>'
   29 |         };
      |         ^
      |         |
      |         <brace-enclosed initializer list>
make[2]: *** [/opt/devkitpro/devkitA64/base_rules:14: am_LibraryApplet.o] Error 1
make[1]: *** [Makefile:137: build] Error 2
make[1]: Leaving directory '/mnt/github/uLaunch/uHbTarget'
make: *** [Makefile:22: make_hbtarget] Error 2
bao3 commented

I would try libnx (https://github.com/switchbrew/libnx ) master brach