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

[MSYS2 MINGW64] Error when building - it doesn't support make jobs? #147

Closed
ghost opened this issue Apr 26, 2023 · 2 comments
Closed

[MSYS2 MINGW64] Error when building - it doesn't support make jobs? #147

ghost opened this issue Apr 26, 2023 · 2 comments

Comments

@ghost
Copy link

ghost commented Apr 26, 2023

make tools-mingw-release64 -j4 has these errors:

3rdparty/bx/tools/bin/windows/genie --file=3rdparty/bgfx/scripts/genie.lua --with-tools --gcc=mingw-gcc gmake
"make" -j1 -R -C 3rdparty/luajit/src CC="/mingw64/bin/x86_64-w64-mingw32-gcc -m64" CCOPT="-O2 -fomit-frame-pointer -msse2" TARGET_SYS=Windows BUILDMODE=static
"make" -j1 -R -C 3rdparty/bimg/.build/projects/gmake-mingw-gcc config=release64 texturec
"make" -j1 -R -C 3rdparty/bgfx/.build/projects/gmake-mingw-gcc config=release64 shaderc
make[1]: Entering directory '/home/Administrator/crown/3rdparty/luajit/src'
make[1]: Entering directory '/home/Administrator/crown'
make[1]: warning: -j1 forced in submake: resetting jobserver mode.
make[1]: *** 3rdparty/bimg/.build/projects/gmake-mingw-gcc: No such file or directory.  Stop.
make[1]: Leaving directory '/home/Administrator/crown'
make[1]: Entering directory '/home/Administrator/crown'
make[1]: *** 3rdparty/bgfx/.build/projects/gmake-mingw-gcc: No such file or directory.  Stop.
make[1]: Leaving directory '/home/Administrator/crown'
make: *** [makefile:120: build/mingw64/bin/shaderc.exe] Error 2
make: *** Waiting for unfinished jobs....
make: *** [makefile:117: build/mingw64/bin/texturec.exe] Error 2
Building configurations...
Running action 'gmake'...

Even though it said it's waiting for unfinished jobs [in order to abort], it's still proceed with building.

make tools-mingw-release64 doesn't have these errors.

@ghost
Copy link
Author

ghost commented Apr 26, 2023

Without make jobs the build process is too slow. I aborted the build so I can't confirm if it's building fine on MSYS2 MINGW64 or not.

@dbartolini
Copy link
Collaborator

Does make tools-mingw-release64 MAKE_JOBS=4 compile fine?

@ghost ghost closed this as completed Apr 26, 2023
This issue was closed.
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

1 participant