AtmoXL compiling error

Shadas

Member
OP
Newcomer
Joined
Oct 2, 2019
Messages
16
Trophies
0
Age
36
XP
1,363
Country
Czech Republic
Trying to compile my own AtmoXL with some adjustments but i still getting this error (compiling with libnx 4.3.0 and libusbhsfs 0.2.8 as author mentioned). Tried also to add line "include <algorithm> in usbhdd.cpp and it compiles without any errors, but in app when i sellect install title from usb hdd the aplication stuck and after few seconds crash. Normal version works without any issues.

Code:
usbhdd.cpp
C:/devkitPro/AtmoXL-Titel-Installer-1.7.3/source/nx/usbhdd.cpp: In function 'int nx::hdd::entry(void*)':
C:/devkitPro/AtmoXL-Titel-Installer-1.7.3/source/nx/usbhdd.cpp:119:97: error: 'min' is not a member of 'std'
  119 |                         if(!(listed_device_count = usbHsFsListMountedDevices(g_usbDevices, std::min(g_usbDeviceCount, MAX_DEVICES))))
      |                                                                                                 ^~~
C:/devkitPro/AtmoXL-Titel-Installer-1.7.3/source/nx/usbhdd.cpp: In function 'u32 nx::hdd::count()':
C:/devkitPro/AtmoXL-Titel-Installer-1.7.3/source/nx/usbhdd.cpp:132:29: error: 'min' is not a member of 'std'
  132 |                 return std::min(g_usbDeviceCount, MAX_DEVICES);
      |                             ^~~
make[1]: *** [/opt/devkitpro/devkitA64/base_rules:16: usbhdd.o] Error 1
make: *** [Makefile:176: build] Error 2

Any ideas?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • S @ salazarcosplay:
    the author has the final aproval
  • S @ salazarcosplay:
    hunter x hunter
  • S @ salazarcosplay:
    he has not allowed anyone to continue it for him for example
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, theres a dragon ball af mod for budokai 3
  • Xdqwerty @ Xdqwerty:
    updated ship of harkinian, gonna install some hd texture pack
  • Xdqwerty @ Xdqwerty:
    I might download rayman revolution for my ps3
  • BigOnYa @ BigOnYa:
    I may try the new ram site, and download more RAM to my Switch. Not sure if ddr3 is the right ram
    for it tho. Edit- no it uses floppy Ram, just like @AncientBoi
    +1
  • Xdqwerty @ Xdqwerty:
    aeiou
  • BigOnYa @ BigOnYa:
    And sometimes Z
  • SylverReZ @ SylverReZ:
    @K3Nv2, MAGA supporters be wearing tin foil hats lol.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, whats maga?
  • BigOnYa @ BigOnYa:
    It stands for Maniacs Against General Acceptance
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, people rejecting general consensus about stuff?
    +1
  • BigOnYa @ BigOnYa:
    Yup, nuh its really just Trump followers
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, im not american so i dont care about trump
    +1
  • Xdqwerty @ Xdqwerty:
    or us elections
  • BigOnYa @ BigOnYa:
    Me niether, us north Koreans don't care
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    i don't care either, even if i'm american
  • BakerMan @ BakerMan:
    truth be told, i agree with psi, i dislike both candidates, but i'd probably vote trump simply because the economy was better during his presidency
  • AngryCinnabon @ AngryCinnabon:
    Just be careful, if trump ends up winning and using project 2025 America might really change...for the worse.
  • AngryCinnabon @ AngryCinnabon:
    I'm not american and even that sends shivers down my spine.
  • AngryCinnabon @ AngryCinnabon:
    anything that offers trump an opportunity to become an actual dictator
    is bad in my book, i could care less if it wasn't for that...
  • K3Nv2 @ K3Nv2:
    Canada: America's Russia
    K3Nv2 @ K3Nv2: Canada: America's Russia