Closed yeyecowboy closed 5 months ago
make sure you are in a MINGW64 shell and not MSYS2
Well now I'm getting this HUGE error, I'm using MINGW64 shell and ran the command ninja inside of the build folder expecting it would actually build it but instead it gave me this, I tried running it as administrator as well, and nothing different happened:
[1/142] Building CXX object CMakeFiles/abaddon.dir/cmake_pch.hxx.gch FAILED: CMakeFiles/abaddon.dir/cmake_pch.hxx.gch C:\msys64\usr\bin\c++.exe -DENABLE_NOTIFICATION_SOUNDS -DFMT_SHARED -DIXWEBSOCKET_USE_OPEN_SSL -DIXW EBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -DKEYCHAIN_WINDOWS=1 -DNOMINMAX -DSPDLOG_COMPILED_LIB -DSPDL OG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -DWITH_KEYCHAIN -DWITH_LIBHANDY -DWITH_MINIAUDIO -DWITH_QRLOGIN -DWITH_RNNOISE -DWITH_VOICE -D_CRT_SECURE_NO_WARNINGS -IC:/Users/savrl/Downloads/abaddon/IXWEBSOCKET _INCLUDE_DIRS -IC:/Users/savrl/Downloads/abaddon/src -IC:/Users/savrl/Downloads/abaddon/build -IC:/m sys64/mingw64/include/gtkmm-3.0 -IC:/msys64/mingw64/lib/gtkmm-3.0/include -IC:/msys64/mingw64/includ e/gdkmm-3.0 -IC:/msys64/mingw64/lib/gdkmm-3.0/include -IC:/msys64/mingw64/include/gtk-3.0 -IC:/msys6 4/mingw64/include/gdk-pixbuf-2.0 -IC:/msys64/mingw64/include/glibmm-2.4 -IC:/msys64/mingw64/lib/glib mm-2.4/include -IC:/msys64/mingw64/include/giomm-2.4 -IC:/msys64/mingw64/include/glib-2.0 -IC:/msys6 4/mingw64/lib/glib-2.0/include -IC:/msys64/mingw64/lib/giomm-2.4/include -IC:/msys64/mingw64/include /pangomm-1.4 -IC:/msys64/mingw64/lib/pangomm-1.4/include -IC:/msys64/mingw64/include/pango-1.0 -IC:/ msys64/mingw64/include/harfbuzz -IC:/msys64/mingw64/include/cairo -IC:/msys64/mingw64/include/freety pe2 -IC:/msys64/mingw64/include/cairomm-1.0 -IC:/msys64/mingw64/lib/cairomm-1.0/include -IC:/msys64/ mingw64/include/atkmm-1.6 -IC:/msys64/mingw64/lib/atkmm-1.6/include -IC:/msys64/mingw64/include/atk- 1.0 -IC:/msys64/mingw64/include/sigc++-2.0 -IC:/msys64/mingw64/lib/sigc++-2.0/include -IC:/Users/sav rl/Downloads/abaddon/subprojects/qrcodegen/cpp -IC:/msys64/mingw64/include/libhandy-1 -IC:/Users/sav rl/Downloads/abaddon/subprojects/miniaudio -IC:/Users/savrl/Downloads/abaddon/subprojects/ixwebsocke t -IC:/Users/savrl/Downloads/abaddon/subprojects/keychain/include -IC:/Users/savrl/Downloads/abaddon /subprojects/rnnoise/include -isystem C:/msys64/mingw64/include -isystem C:/msys64/mingw64/include/o pus -O2 -g -DNDEBUG -std=gnu++17 -Winvalid-pch -x c++-header -include C:/Users/savrl/Downloads/abadd on/build/CMakeFiles/abaddon.dir/cmake_pch.hxx -MD -MT CMakeFiles/abaddon.dir/cmake_pch.hxx.gch -MF C MakeFiles\abaddon.dir\cmake_pch.hxx.gch.d -o CMakeFiles/abaddon.dir/cmake_pch.hxx.gch -c C:/Users/sa vrl/Downloads/abaddon/build/CMakeFiles/abaddon.dir/cmake_pch.hxx.cxx
I looked inside of abaddon.dir folder and I don't have the cmake_pch.hxx.gch file when I ran this command: "cmake -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo .."
did you run it inside of a MSYS2 shell first and then try again with MINGW64? cuz that will mess up the cache. try clearing the contents of the folder completely and rerun in the MINGW64 shell. make sure you have mingw-w64-x86_64-gcc installed as well
I've tried that and I'm getting the same error, also how do I join stages with abaddon?
Never mind, I think I fixed it, all I did was remove the package removing mingw-w64-x86_64-gettext using
pacman -Rdd mingw-w64-x86_64-gettext
and then installed mingw-w64-x86_64-gcc, they were interfering with each other for some reason some packages needed mingw-w64-x86_64-gettext, so i just simply uninstalled it and uninstalled the other package, ran ninja and it worked normally, I have cleared the cache as well before, but I didn't know that I needed mingw-w64-x86_64-gcc, thanks for the help!
stages are in development (tracked in #279). good to see u got it fixed tho :^)
just fyi, you could tell the issue was it was pulling in the compiler from the wrong environment since it was invoking C:\msys64\usr\bin\c++.exe
. the correct path prefix for mingw64 is C:\msys64\mingw64
. so if you see that again youll know the issue
Yeah, I saw that after I fixed it when I was looking at the humongous error. I'm trying to make my own version of abaddon so I had to compile it, also would you know by chance if there are any soft clipper or gain limiters inside of abaddons source or anywhere in the other subproject libraries and what not?
Hello, I am using MSYS2 to compile Abaddon and I am getting the issue where nlohmann_json isnt found
This is the error:
Could I get any help to resolve this issue?