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

Can't build on Windows #20

Closed
akochkarev opened this issue Apr 18, 2024 · 1 comment
Closed

Can't build on Windows #20

akochkarev opened this issue Apr 18, 2024 · 1 comment

Comments

@akochkarev
Copy link

Hi!

Trying to build on Windows

Running make shows this short log:

c:\games\Yamagi\bots_src\3zb2>make
===> Building game.dll
process_begin: CreateProcess(NULL, mkdir -p release, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [Makefile:169: 3zb2] Error 2

My system: Windows 11. Build was started under cmd.exe shell.

gcc and make versions:

make --version
GNU Make 4.4.1
Built for Windows32
Copyright (C) 1988-2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

gcc --version
gcc (GCC) 13.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

@akochkarev
Copy link
Author

I've found solution.

Just need to set CC env variable:

set CC=gcc

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