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

Build error on Ubuntu 22.04 #29

Open
BLCRAFT210 opened this issue Jan 4, 2023 · 7 comments
Open

Build error on Ubuntu 22.04 #29

BLCRAFT210 opened this issue Jan 4, 2023 · 7 comments

Comments

@BLCRAFT210
Copy link

After pulling 26cdedc, I have a new build error. I have attached stderr below.
log.txt

@Felk
Copy link
Owner

Felk commented Jan 5, 2023

That seems to be an issue with GCC 11. I tried compiling with GCC 12 but that just causes a different slew of issues :/
For reference what, I tried:

rm -rf ./build/
sudo apt install gcc-12 g++-12
mkdir build && cd build
CC=/usr/bin/gcc-12 CXX=/usr/bin/g++-12 cmake ..
make -j $(nproc)

dolphin-gcc12-error.txt

I'll try again at a later time

@BLCRAFT210
Copy link
Author

Do you know when you can resolve this build error? Currently I'm working off of c48006d and the memory leak will be a problem for me sometime soon.

@Felk
Copy link
Owner

Felk commented Jan 23, 2023

I made a bit of progress today and will try to get some more work in this week, but I probably won't be able to fix this issue on a short notice, sorry

@BLCRAFT210
Copy link
Author

Any more progress on this?

@Felk
Copy link
Owner

Felk commented Mar 14, 2023

Nope, I'm sorry. Not because the problem is especially hard, but because I just haven't opened Visual Studio in months 😅 Thanks for asking though

@BLCRAFT210
Copy link
Author

BLCRAFT210 commented Mar 23, 2023

I spent a while with my friend trying to fix this. It looks like all we needed to do was to build with clang 😂

I'll make sure tomorrow that the build is functional!

Edit: It works!

@Felk
Copy link
Owner

Felk commented Sep 24, 2023

I just tried the newest master with gcc12 and it seems to work. If I find a source that upstream also lifted their minimum gcc version to 12 I'll close this issue, but they still explicitly reference gcc11 in their wiki, so probably not...

So workarounds right now are: Use GCC 12 or Clang on Ubuntu. I'll leave this issue open for now

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