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

Problems with llvm-mingw #2226

Open
ghost opened this issue Jul 20, 2024 · 1 comment
Open

Problems with llvm-mingw #2226

ghost opened this issue Jul 20, 2024 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 20, 2024

I'm trying to build this project:

https://github.com/SpartanJ/eepp

As SHELL=cmd is too buggy, I decided to use Git Bash.

It failed with this error:

==== Building eepp-maps-static (release_x86_64) ====
Linking freetype-static
C:/Work/llvm-mingw-20240619-ucrt-x86_64/bin/llvm-ar.exe: error: ../../obj/windows/x86_64/re: No such file or directory
mingw32-make[1]: *** [freetype-static.make:452: ../../libs/windows/x86_64/thirdparty/freetype.lib] Error 1
mingw32-make: *** [Makefile:372: freetype-static] Error 2
mingw32-make: *** Waiting for unfinished jobs....
mingw32-make: Leaving directory 'C:/Work/eepp/make/windows'

Again, this is extremely hard to debug, as there is no --verbose switch or something like that. It seems the problematic code is LINKCMD = $(AR) -rcs "$@" $(OBJECTS) in the generated freetype_static.make.

@ghost
Copy link
Author

ghost commented Jul 20, 2024

The command I used:

premake5 --windows-mingw-build gmake2
mingw32-make config=release_x86_64 -C make/windows

p/s: My experience with premake5 is awful. It's requiring POSIX to work. A POSIX Shell, and it seems a POSIX GNU make, too. It works beautifully on MSYS2 but is extremely buggy on Windows with SHELL=cmd or mingw32-make.

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

0 participants