SanderMertens/bake

trying to set up bake with vs2019 not working

Zalron opened this issue · 0 comments

trying to set up bake with vs2019

Command line used

C:\Users\Davids 3th PC\Desktop\DreamerUniverse>git clone https://github.com/SanderMertens/bake
Cloning into 'bake'...
remote: Enumerating objects: 59, done.
remote: Counting objects: 100% (59/59), done.
remote: Compressing objects: 100% (47/47), done.
remote: Total 5910 (delta 14), reused 38 (delta 9), pack-reused 5851
Receiving objects: 100% (5910/5910), 1.97 MiB | 1.68 MiB/s, done.
Resolving deltas: 100% (3764/3764), done.

C:\Users\Davids 3th PC\Desktop\DreamerUniverse>cd build-Windows
The system cannot find the path specified.

C:\Users\Davids 3th PC\Desktop\DreamerUniverse>cd bake

C:\Users\Davids 3th PC\Desktop\DreamerUniverse\bake>cd build-Windows

C:\Users\Davids 3th PC\Desktop\DreamerUniverse\bake\build-Windows>nmake

Microsoft (R) Program Maintenance Utility Version 14.25.28614.0
Copyright (C) Microsoft Corporation. All rights reserved.

"==== Building bake (debug) ===="
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\bin\HostX86\x86\nmake.exe" /NOLOGO /F bake.mak config=debug all
attribute.c
build.c
bundle.c
config.c
crawler.c
driver.c
filelist.c
git.c
install.c
json_utils.c
main.c
project.c
rule.c
run.c
setup.c
dl.c
fs.c
vs.c
thread.c
proc.c
err.c
code.c
env.c
expr.c
file.c
fs.c
iter.c
jsw_rbtree.c
ll.c
load.c
log.c
C:\Users\Davids 3th PC\Desktop\DreamerUniverse\bake\util\src\log.c(1375) : warning C4700: uninitialized local variable 'empty_list' used
memory.c
os.c
parson.c
path.c
rb.c
strbuf.c
C:\Users\Davids 3th PC\Desktop\DreamerUniverse\bake\util\src\strbuf.c(311) : warning C4700: uninitialized local variable 'args' used
C:\Users\Davids 3th PC\Desktop\DreamerUniverse\bake\util\src\strbuf.c(281) : warning C4700: uninitialized local variable 'args' used
string.c
time.c
util.c
version.c
Linking bake
Creating library ..\bake.lib and object ..\bake.exp

C:\Users\Davids 3th PC\Desktop\DreamerUniverse\bake\build-Windows>cd ..

C:\Users\Davids 3th PC\Desktop\DreamerUniverse\bake>bake setup
[ ] Bake setup, installing to ~/bake
[WARNING] copying script to 'C:\Windows\system32', requires administrator privileges
from failed to create global bake script, rerun setup with --local

C:\Users\Davids 3th PC\Desktop\DreamerUniverse\bake>bake setup --local
[ ] Bake setup, installing to ~/bake
[ done] copy bake executable
[ done] bake environment reset
[ done] install bake include files
[ done] install include files for 'bake.util'
[ done] build 'bake.util'
[ done] install 'bake.util' to bake environment
[ done] install include files for 'bake.lang.c'
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\bin\HostX86\x86\link.exe"' : return code '0x49d'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\bin\HostX86\x86\nmake.exe"' : return code '0x2'
Stop.
[ error] 'nmake /NOLOGO /F Makefile clean all' (result 2)
error failed to build 'bake.lang.c'

command line run from administrator visual studio command line from administrator user