tsoding / musializer

Music Visualizer
MIT License
921 stars 97 forks source link

Windows build support #62

Closed rubenh2905 closed 8 months ago

rubenh2905 commented 10 months ago

i cant remember how last time i compiled using msys2 mingw but with the new build system it's not building

**********************************************************************
** Visual Studio 2022 Developer Command Prompt v17.8.1
** Copyright (c) 2022 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'

C:\Program Files\Microsoft Visual Studio\2022\Community>cd \Users\Administrator\Documents\github

C:\Users\Administrator\Documents\github>git clone --recursive https://github.com/tsoding/musializer.git
Cloning into 'musializer'...
remote: Enumerating objects: 1257, done.
remote: Counting objects: 100% (410/410), done.
remote: Compressing objects: 100% (88/88), done.
Receiving objects: 100% (1257/1257), 2.98 MiB | 120.00 KiB/s, done. 847

Resolving deltas: 100% (740/740), done.

C:\Users\Administrator\Documents\github>cd musializer

C:\Users\Administrator\Documents\github\musializer>cl nob.c
Microsoft (R) C/C++ Optimizing Compiler Version 19.37.32825 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

nob.c
Microsoft (R) Incremental Linker Version 14.37.32825.0
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:nob.exe
nob.obj

C:\Users\Administrator\Documents\github\musializer>nob.exe
[INFO] --- STAGE 1 ---
[INFO] created directory `build`
[INFO] Generating ./build/config.h
[INFO] CMD: cl.exe nob.c -DCONFIGURED
Microsoft (R) C/C++ Optimizing Compiler Version 19.37.32825 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

nob.c
Microsoft (R) Incremental Linker Version 14.37.32825.0
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:nob.exe
nob.obj
LINK : fatal error LNK1104: cannot open file 'nob.exe'
[ERROR] command exited with exit code 2