Marisa-Chan / UA_source

Mod for UrbanAssault (Replace original game engine)
GNU General Public License v2.0
121 stars 16 forks source link

Compilation failure on GCC 10 in Void Linux. #27

Closed KynikossDragonn closed 3 years ago

KynikossDragonn commented 3 years ago

I'm getting the following when I'm trying to build everything on Void Linux after they moved to GCC 10.

mkdir -p obj/fmtlib
echo -n "obj/" > obj/fmtlib/format.d
g++ -std=c++11 -O0 -g -Wall -fexceptions -mno-ms-bitfields -Wno-class-memaccess -Wshadow  -c fmtlib/format.cc -MM >> obj/fmtlib/format.d
fmtlib/format.cc:8:10: fatal error: fmt/format-inl.h: No such file or directory
    8 | #include "fmt/format-inl.h"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
obj/fmtlib/format.d:1: *** missing separator.  Stop.

Why is it not finding the file? It obviously exists... is it trying to find it system wide?

EDIT: I installed fmt systemwide and it built successfully and ran, but I'm confused why the Makefile isn't trying to build and refer to the one you've included here, under the fmtlib directory.

Marisa-Chan commented 3 years ago

Oh, thanks, now should be good

ср, 3 февр. 2021 г. в 11:36, KynikossDragonn notifications@github.com:

I'm getting the following when I'm trying to build everything on Void Linux after they moved to GCC 10.

mkdir -p obj/fmtlib echo -n "obj/" > obj/fmtlib/format.d g++ -std=c++11 -O0 -g -Wall -fexceptions -mno-ms-bitfields -Wno-class-memaccess -Wshadow -c fmtlib/format.cc -MM >> obj/fmtlib/format.d fmtlib/format.cc:8:10: fatal error: fmt/format-inl.h: No such file or directory 8 | #include "fmt/format-inl.h" | ^~~~~~ compilation terminated. obj/fmtlib/format.d:1: *** missing separator. Stop.

Why is it not finding the file? It obviously exists... is it trying to find it system wide?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Marisa-Chan/UA_source/issues/27, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADJLFM5UJO2RZZ3OGYSLALS5DHD5ANCNFSM4XAER25Q .

KynikossDragonn commented 3 years ago

Yeah, everything seems to be normal again. Thanks!