You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of the bat code in the project needed to be modified in my environment in order to continue to run. This is mostly my own problem, but I'd like to say what I think anyway.
On my win10 x64 system, the value of %ProgramFiles(x86)% is C:\Program. It is wrong....
So what about %ProgramFiles% (x86) ? Seems to work fine.
On the other hand, users like me prefer to use the "Tools Command Prompt", in which case cl.exe can be found directly, so perhaps we can just determine if cl.exe is ready to run at the start:
call cl.exe && goto MSVCVarsDone
2. Find git
smp_project_get_dependencies file:
REM Check if git is installed and available
IF "%MSVC_VER%"=="" (
git status >NUL 2>&1
IF ERRORLEVEL 1 (
ECHO A working copy of git was not found. To use this script you must first install git for windows.
GOTO exitOnError
)
)
Similarly, perhaps it could be changed to check if git.exe can be executed
The text was updated successfully, but these errors were encountered:
Thank you for your excellent work!
Some of the bat code in the project needed to be modified in my environment in order to continue to run. This is mostly my own problem, but I'd like to say what I think anyway.
1. Find cl.exe
FFVS-Project-Generator/source/projectGenerator_compiler.cpp
Lines 91 to 107 in 08277bd
On my win10 x64 system, the value of
%ProgramFiles(x86)%
isC:\Program
. It is wrong....So what about
%ProgramFiles% (x86)
? Seems to work fine.On the other hand, users like me prefer to use the "Tools Command Prompt", in which case
cl.exe
can be found directly, so perhaps we can just determine ifcl.exe
is ready to run at the start:call cl.exe && goto MSVCVarsDone
2. Find git
smp_project_get_dependencies
file:Similarly, perhaps it could be changed to check if
git.exe
can be executedThe text was updated successfully, but these errors were encountered: