-
-
Notifications
You must be signed in to change notification settings - Fork 567
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
melonDS compilation fails when linking CXX executable #1369
Comments
known issue with msys2, they recently added a package for |
This should now be fixed by msys2/MINGW-packages#10707 (comment) |
OK, I'll just have to wait until the main MSYS2 website updates its download with these new changes. |
The fixed package is uploaded https://packages.msys2.org/updates. It may take time to reach all the mirrors. Meanwhile keep spamming |
@RayyanAnsari this fixed my problem and I compiled the program successfully, thanks for all your help! |
Thank you too for reporting this issue quickly 🤗 It is easier to fix an issue with a minimal reproducible sample. |
I got the following error message:
[100%] Linking CXX executable ../../../melonDS.exe
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../lib\libb2.a(libb2_la-blake2sp.o):(.text+0x14): undefined reference to
omp_get_thread_num' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../lib\libb2.a(libb2_la-blake2sp.o):(.text+0x96): undefined reference to
omp_get_thread_num'C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../lib\libb2.a(libb2_la-blake2sp.o):(.text+0x55c): undefined reference to
omp_set_num_threads' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../lib\libb2.a(libb2_la-blake2sp.o):(.text+0x582): undefined reference to
GOMP_parallel'C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../lib\libb2.a(libb2_la-blake2sp.o):(.text+0x9a2): undefined reference to
omp_set_num_threads' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../lib\libb2.a(libb2_la-blake2sp.o):(.text+0x9d7): undefined reference to
GOMP_parallel'collect2.exe: error: ld returned 1 exit status
make[2]: *** [src/frontend/qt_sdl/CMakeFiles/melonDS.dir/build.make:814: melonDS.exe] Error 1
make[1]: *** [CMakeFiles/Makefile2:248: src/frontend/qt_sdl/CMakeFiles/melonDS.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
No idea what this means, unfortunately. I followed all the instructions in README.md, so I don't know why I'm getting undefined reference errors.
The text was updated successfully, but these errors were encountered: