yquake2 / 3zb2

3rd Zigock Bot II for Yamagi Quake II
Other
17 stars 6 forks source link

Can't build on Windows #20

Closed akochkarev closed 6 months ago

akochkarev commented 6 months ago

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 commented 6 months ago

I've found solution.

Just need to set CC env variable:

set CC=gcc