It took me quite a while before I found that it was
C:/PROGRA~1/MICROS~2.NET on my PC. Didn't think it would see the .NET thing as an extension. It makes sense though… in a very Microsoft kind of way that is. I didn't know about dir /x so when I wasn't able to guess the shortname I ended up writing a small VB script. :roll:
I have a related problem, I've fixed all the paths so that they don't include spaces. But there is still one argument that contains a space and I don't know what it is or how to get rid of the space. You can see it below, it's on line 6. There's a space between the comma and the number of the beast.
D:\Robert\houdini\chops>hcustom CHOP_Test.C
Making ‘CHOP_Test.o’ and ‘C

DOCUME~1/RSCHAA~1.PLA/MYDOCU~1/houdini8.1/dso\CHOP_
Test.dll’ from ‘CHOP_Test.C’
Error running cl
Argument list:
0: cl
1: -TP
2: CHOP_Test.C
3: -DUT_DSO_TAGINFO=“3262197cbf725a172ba70c98671da3dd1b66fcd3fc6f88f673a8c306
3d69ee812b972985db32267a5946addc329f31710ab7f503ffc2e857490728e266f881be4bae538a
ff924994a3268d0847f848e6ab4e87a38cea9865e3dc”
4: -TP
5: -DVERSION=8.1.613
6: -DOFSTREAM_PERMISSIONS=, 0666
7: -DI386
8: -DWIN32
9: -DSWAP_BITFIELDS
10: -DDLLEXPORT=__declspec(dllexport)
11: -I
12: .
13: -I
14:
C:/PROGRA~1/MICROS~2.NET/Vc7/include 15: -I
16:
C:/PROGRA~1/MICROS~2.NET/Vc7/PlatformSDK/include 17: -I
18: C

PROGRA~1/SIDEEF~1/HOUDIN~1.613/custom/include
19: -I
20: C

PROGRA~1/SIDEEF~1/HOUDIN~1.613/toolkit/include
21: -Ox
22: -MD
23: -GX
24: -GR
25: -DSESI_LITTLE_ENDIAN
26: -DMAKING_DSO
27: -FoCHOP_Test.o
28: -LD
29: -link
30: /libpath:C

PROGRA~1/MICROS~2.NET/Vc7/lib
31: /libpath:C

PROGRA~1/MICROS~2.NET/Vc7/PlatformSDK/lib
32:
33: C

PROGRA~1/SIDEEF~1/HOUDIN~1.613/custom/houdini/dsolib/*.a
34: -out:C

DOCUME~1/RSCHAA~1.PLA/MYDOCU~1/houdini8.1/dso/CHOP_Test.dll
I'm not entirely sure that the problem is with the OFSTREAM_PERMISSIONS flag though. Is there a way to get more verbose error reporting from hcustom?
Also, it compiles fine when I run cl myself with the cflags that are returned by “hcustom -d CHOP_Test.C”.