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

Building returns error 2 #2

Open
zrm9901 opened this issue Jul 14, 2024 · 1 comment
Open

Building returns error 2 #2

zrm9901 opened this issue Jul 14, 2024 · 1 comment

Comments

@zrm9901
Copy link

zrm9901 commented Jul 14, 2024

Idk if your still maintaining this, but whenever I try and build I get an error. Ive tried on linux and windows. on linux it gives me this:

~/Downloads/Dialga-master$ DEVKITPRO=/opt/devkitpro/ make
make all -f MakefileNSO BDSPVER=110 BDSPVERSTR=1.1.0
make[1]: Entering directory '/home/zrm9901/Downloads/Dialga-master'
make -C build110 -f /home/zrm9901/Downloads/Dialga-master/MakefileNSO
make[2]: Entering directory '/home/zrm9901/Downloads/Dialga-master/build110'
logger.cpp
In file included from /opt/devkitpro/devkitA64/aarch64-none-elf/include/c++/14.1.0/string:67,
from /home/zrm9901/Downloads/Dialga-master/include/logger.hpp:3,
from /home/zrm9901/Downloads/Dialga-master/source/logger.cpp:1:
/opt/devkitpro/devkitA64/aarch64-none-elf/include/c++/14.1.0/bits/memory_resource.h: In member function 'void* std::pmr::memory_resource::allocate(std::size_t, std::size_t)':
/opt/devkitpro/devkitA64/aarch64-none-elf/include/c++/14.1.0/bits/memory_resource.h:76:28: error: no matching function for call to 'operator new(std::size_t&, void*)'
76 | { return ::operator new(__bytes, do_allocate(__bytes, __alignment)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: note: candidate: 'void* operator new(long unsigned int)'
: note: candidate expects 1 argument, 2 provided
: note: candidate: 'void* operator new(long unsigned int, std::align_val_t)'
: note: no known conversion for argument 2 from 'void*' to 'std::align_val_t'
make[2]: *** [/opt/devkitpro//devkitA64/base_rules:16: logger.o] Error 1
make[2]: Leaving directory '/home/zrm9901/Downloads/Dialga-master/build110'
make[1]: *** [MakefileNSO:136: build110] Error 2
make[1]: Leaving directory '/home/zrm9901/Downloads/Dialga-master'
make: *** [Makefile:18: starlight] Error 2

do you know how to fix this, Ive looked at all the issues in starlight and theere were no issues in the starlilght oddessy one so idk what to do. Thanks in advance if you see this!

@zrm9901
Copy link
Author

zrm9901 commented Jul 14, 2024

just tried in wsl2 and got the same error

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

1 participant