I'm trying to compile the infamous SOP_Star example with nmake on windows but it errors bc/ of a space that is in the path of I think the Microsoft SDK. I would fix that if I knew where it got the paths from. I strictly followed the guidelines from the HDK, however it errors when invoking nmake install saying
“'C
Program' is not recognized as an internal or external command,operable program or batch file.”
Here's the full console out.
C:\projects\cpp\SOP>nmake install
Microsoft (R) Program Maintenance Utility Version 11.00.50727.1
Copyright (C) Microsoft Corporation. All rights reserved.
echo Compiled on: > taginfo
date /T >> taginfo
time /T >> taginfo
echo by: %USERNAME%@%COMPUTERNAME% >> taginfo
sesitag -c -f taginfo > tagdefines
“C:\VS2012\VC\bin\amd64\cl” -c -nologo -TP -Zc:forScope -DVERSION=“13.0.
206” -DI386 -DWIN32 -DSWAP_BITFIELDS -D_WIN32_WINNT=0x0501 -DWINVER=0x0501 -DNOM
INMAX -DSTRICT -DWIN32_LEAN_AND_MEAN -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_DEPREC
ATE -D_CRT_NONSTDC_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -DBOOST_ALL_NO_LIB -DS
ESI_LITTLE_ENDIAN -DAMD64 -DSIZEOF_VOID_P=8 -DFBX_ENABLED=1 -DOPENCL_ENABLED=1 -
DOPENVDB_ENABLED=1 -I . -I “C
PROGRA~1/SIDEEF~1/HOUDIN~1.401/toolkit/include”-I “C:\VS2012\VC/include” -I “C
Program Files/Microsoft SDKs/Windows/v6.0A/Include” -wd4355 -w14996 -O2 -DNDEBUG -MD -EHsc -GR -bigobj -DMAKING_DSO @tagdefines
SOP_Star.C -FoSOP_Star.o
SOP_Star.C
del taginfo tagdefines
“C:\VS2012\VC\bin\amd64\link” -DLL SOP_Star.o -LIBPATH:“C:\VS2012\VC/lib
/amd64” -LIBPATH:“C
Program Files/Microsoft SDKs/Windows/v6.0A/Lib/x64” -LIBPATH:“C
PROGRA~1/SIDEEF~1/HOUDIN~1.401/custom/houdini/dsolib” “C
PROGRA~1/SIDEEF~1/HOUDIN~1.401/custom/houdini/dsolib/*.a” “C
PROGRA~1/SIDEEF~1/HOUDIN~1.401/custom/houdini/dsolib/*.lib” -out
OP_Star.dllMicrosoft (R) Incremental Linker Version 11.00.50727.1
Copyright (C) Microsoft Corporation. All rights reserved.
Creating library SOP_Star.lib and object SOP_Star.exp
“C
Program Files/Microsoft SDKs/Windows/v6.0A/Bin/x64/mt.exe” -manifestSOP_Star.dll.manifest -outputresource
OP_Star.dll;2'C
Program' is not recognized as an internal or external command,operable program or batch file.
NMAKE : fatal error U1077: ‘"C
Program Files/Microsoft SDKs/Windows/v6.0A/Bin/x64/mt.exe’ : return code ‘0x1’
Stop.

