[Linux] Build fails with -lstdc++
error, even with libstdc++-10-dev
installed #1061
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi! I'm building Cemu (
4405116
) on a 64-bit Linux Mint 21.2 (Ubuntu 22.04 based) machine with the following commandBuild command
and I get this error:
Seems like it's related to the
libstdc++
package, but I tried installing the apt package and rebooting to no avail.clang 15 requires libstdc++-11 as it packages gcc 11.
however, if you have an nvidia gpu and recent drivers, clang 15 will use gcc 12 requiring libstdc++-12 instead.
https://stackoverflow.com/questions/74543715/usr-bin-ld-cannot-find-lstdc-no-such-file-or-directory-on-running-flutte
@Squall-Leonhart Hi! Thanks for the tip. I got past that error but now I'm getting a Boost error:
I did read BUILD.md but I didn't get a very good sense of what to do to fix this.
to clear that up, you'll need libboost-program-options1.74-dev and fixing this will expose the lack of libboost-nowide1.74-dev too.
Thanks for the help, I managed to find all the Boost dependencies and complete the build!