Jump to content

Compling Problems (winxp)


Recommended Posts

I try to complie the source file "Flatten SOP" houdini provided,

below are the steps :

1.instrall HDK

2.create a empty projection in .NET 2003

3.load SOP_Flatten.c and SOP_Flatten.h respectivly

4.compling

....

the output said

D:\Program Files\Side Effects Software\Houdini 8.1.655\toolkit\include\SYS\SYS_Math.h(116): fatal error C1083: cannot open include file :

Link to comment
Share on other sites

You don't need steps 2-4

Just open a command line and navigate to flatten.c and type

hcustom flatten.c

Also, make sure you have the right environment variables set up

You need

MSVCDir pointing to the Vc7 directory of the .NET installation

And these added to your path - change the path to your install directory obviously

C:\PROGRA~1\MICROS~1.NET\Vc7\bin;

C:\PROGRA~1\MICROS~1.NET\common7\IDE;

Edited by sibarrick
Link to comment
Share on other sites

Hey sibarrick:

.. .very very appreciated... I really hope begin coding for houdini as soon as possible.....

when I use "hcustom", new questions appeared:

I type "hcustom -I . SOP_Flatten.C" (this file is in the dir "..\Houdni\toolkit\samples\sop")

and output is:

Making 'SOP_Flatten.o' from 'SOP_Flatten.C'

Microsoft

Edited by sprawd
Link to comment
Share on other sites

Yes debugging in HDK is fun!

lots of cout statements is about all I can suggest, others may know better.

The paths need adding as environment variables, right click on my computer and go to properties -> advanced -> environment variables and add them in there.

Link to comment
Share on other sites

Thanks a lot..

your reply is so fast... , I was always editing my post... :rolleyes:

I did all things following your directing...

and it is seemly work, the output is:

D:\Program Files\Side Effects Software\Houdini 8.1.655>hcustom SOP_Flatten.C

Making 'SOP_Flatten.o' and 'C:/DOCUME~1/LiJian/MYDOCU~1/houdini8.1/dso\SOP_Flatt

en.dll' from 'SOP_Flatten.C'

Error running cl

Argument list:

0: cl

1: -TP

2: SOP_Flatten.C

3: -DUT_DSO_TAGINFO="3262197cbf3e403e2aa703a84b30d1a27510bfd3c02fc9ad3ff39918

5844bbcc7bad308e9f583c7a4357bda875c82b0f58f4e709efd0e954443c3df877ea81ac5bbe45e2

a6884994cf6fe74106f43b"

4: -TP

5: -Zc:forScope

6: -DVERSION=8.1.655

7: -DOFSTREAM_PERMISSIONS=, 0666

8: -DI386

9: -DWIN32

10: -DSWAP_BITFIELDS

11: -DDLLEXPORT=__declspec(dllexport)

12: -I

13: .

14: -I

15: D:/PROGRA~1/MICROS~1.NET/Vc7/include

16: -I

17: D:/PROGRA~1/MICROS~1.NET/Vc7/PlatformSDK/include

18: -I

19: D:/PROGRA~1/SIDEEF~1/HOUDIN~1.655/custom/include

20: -I

21: D:/PROGRA~1/SIDEEF~1/HOUDIN~1.655/toolkit/include

22: -Ox

23: -MD

24: -GX

25: -GR

26: -DSESI_LITTLE_ENDIAN

27: -DMAKING_DSO

28: -FoSOP_Flatten.o

29: -LD

30: -link

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

32: /libpath:D:/PROGRA~1/MICROS~1.NET/Vc7/PlatformSDK/lib

33: D:/PROGRA~1/SIDEEF~1/HOUDIN~1.655/custom/houdini/dsolib/*.a

34: -out:C:/DOCUME~1/LiJian/MYDOCU~1/houdini8.1/dso/SOP_Flatten.dll

Is it right? But I can not find compiled resoults, where is it? How to use that in houdini?

thanks very much :rolleyes:

Edited by sprawd
Link to comment
Share on other sites

"Error running cl"??

still have problem..I could not fix it..

I try to run a batch file from the houdini command line tools...

set path=%PATH%;D:\PROGRA~1\HOUDIN~1.655\bin;D:\PROGRA~1\HOUDIN~1.655\toolkit\bin

set HOME=c:\temp\home

set HFS=D:\PROGRA~1\HOUDIN~1.655

rem set SESI_TAGINFO=" : sprawd 2007"

set MSVCdir=d:/Progra~1/Micros~1.net/vc7

call D:\progra~1\micros~1.net\vc7\bin\vcvars32.bat

but there are no changes on the output...

help me...THANK! THANK!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...