HDK INSTALATION

   6179   7   2
User Avatar
Member
23 posts
Joined:
Offline
HI,
I followed the inst. instructions in odforce, but no results, I did:
-Start->Programs->Side Effects s.-> Houdini-> Command Line Tools -> hdkinstall.
It install HDK and note requirement of Visual C++.Net2003 for
build plug-ins
- My Computer-> Properties-> Advanced-> Environment Variables-> System V. MSCVDir with value=> CArchivos de programa*/Microsoft Visual Studio .NET 2003/Vc7/bin
At this point I don't understand the others path environment variables
or values to add, to input in and which values <-> variables, I can't put
again MSVCDir
Anyway I tried, with the same result at first step…
And only can read the c-files from the compiler, not debug.
*Archivos de programa=Programs,well is obvious
Please some help, if it is possible
Thanks!
User Avatar
Member
7899 posts
Joined: 7月 2005
Offline
Make sure the value of MSVCDir has no spaces. ie. convert to the short form of the path.
User Avatar
Member
23 posts
Joined:
Offline
This is exactly what I enter
Name of Variable:MSCVDir
Value:CArchivos de programa/Microsoft Visual Studio .NET 2003/Vc7/bin
It is valid?
User Avatar
Member
2199 posts
Joined: 7月 2005
Online
Here's what I have setup

C:/PROGRA~1/MICROS~1.NET/Vc7

You need the dos style short form as Edward says.
The trick is finding just the right hammer for every screw
User Avatar
Member
12 posts
Joined: 3月 2006
Offline
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 ‘CDOCUME~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: CPROGRA~1/SIDEEF~1/HOUDIN~1.613/custom/include
19: -I
20: CPROGRA~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:CPROGRA~1/MICROS~2.NET/Vc7/lib
31: /libpath:CPROGRA~1/MICROS~2.NET/Vc7/PlatformSDK/lib
32:
33: CPROGRA~1/SIDEEF~1/HOUDIN~1.613/custom/houdini/dsolib/*.a
34: -out:CDOCUME~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”.
User Avatar
Member
166 posts
Joined: 2月 2006
Offline
Could u post the CHOP_test.C please?
Also I dont know if it was luck or not, I used to have some troubles with compiling DSOs on windows and re-installing VC++ solve a lot of them. The HDK was already installed on my machine.
Time to get out of this messy world.
User Avatar
Member
12 posts
Joined: 3月 2006
Offline
I tried reinstalling VC++, that didn't help though. It's kinda weird because hcustom has worked before. I'm also pretty sure that it worked without having to change the paths to shortpaths, I didn't do that until I started running into problems. Unfortunately I can't remember what might've changed in the meantime, I know I didn't upgrade to 8.1 until after I started running into problems with hcustom as well.

I could post CHOP_Test.C but that's not really useful since I get the same error with the samples, CHOP_Stair.C for instance.
User Avatar
Member
166 posts
Joined: 2月 2006
Offline
Oh! OK.
I am compiling the examples fine! and yes for sure, I did not change the paths. I am running H8.0.474. and VC++ 7 with the compiler version 13.10.3077 for 80x86.
Time to get out of this messy world.
  • Quick Links