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

Unable to build #310

Open
sgiox opened this issue Jan 2, 2023 · 2 comments
Open

Unable to build #310

sgiox opened this issue Jan 2, 2023 · 2 comments

Comments

@sgiox
Copy link

sgiox commented Jan 2, 2023

Description
I'd like to contribute to your repo but I cannot compile the project in any way.
I tried both master and new_dev branches, cloned recursively with proper libnx (b35d42f) and latest devkitA64, downloaded with pacman.
The problems seems to be all related to libvapours. Here just the latest one:

/home/user/switch/sys-con/source/Atmosphere-libs/config//../libvapours/include/vapours/util/util_parent_of_member.hpp:83:62:   in 'constexpr' expansion of 'ams::util::GetPointer<ams::ro::NrrHeader>(ams::util::impl::OffsetOfCalculator<ams::ro::NrrHeader, ams::ncm::ProgramId>::U.ams::util::impl::OffsetOfCalculator<ams::ro::NrrHeader, ams::ncm::ProgramId>::Union::parent)'
/home/user/switch/sys-con/source/Atmosphere-libs/config//../libvapours/include/vapours/util/util_typed_storage.hpp:41:16: error: cast from 'const void*' is not allowed
   41 |         return static_cast<const T *>(static_cast<const void *>(std::addressof(ts._storage)));
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [/home/user/switch/sys-con/source/Atmosphere-libs/libstratosphere/../config/common.mk:148: /home/user/switch/sys-con/source/Atmosphere-libs/libstratosphere/include/stratosphere.hpp.gch] Errore 1
make[1]: *** [Makefile:91: lib/libstratosphere.a] Errore 2
make: *** [Makefile:11: Atmosphere-libs/libstratosphere] Errore 2

Environment
Ubuntu 22.04.1 LTS (x64)

@eadmaster
Copy link

eadmaster commented Jan 2, 2024

can you retry with this fork?

there is this commit for compatibility with the latest devkitpro

If you manage to get a working build please post it here , as it may help with other pending issues: #312
#303
#256
#290

@eadmaster
Copy link

eadmaster commented May 25, 2024

update: another fork here, still missing an updated build

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