Jump to content

Houdini Crash when using created node through HDK.


Recommended Posts

It's really hard to say anything with no details. What does debug output prints?

I've briefly checked, and it compiles and doesn't crash at Linux 12.5.344, although I have no idea what it does atm.

  • Like 1
Link to comment
Share on other sites

I'm using Window8.

I found solution and not crash anymore.

But I really cannot understand it. :(

The solution is that, in Visual Studio,

<Release Mode, C/C++ - Command>

-TP

-Zc:forScope

-DVERSION="12.5.316.22"

-DI386

-DWIN32

-DSWAP_BITFIELDS

-D_WIN32_WINNT=0x0501

-DWINVER=0x0501

-DNOMINMAX

-D_USE_MATH_DEFINES

-D_CRT_SECURE_NO_DEPRECATE

-D_CRT_NONSTDC_NO_DEPRECATE

-D_SCL_SECURE_NO_WARNINGS

-DBOOST_ALL_NO_LIB

-I .

-I "C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/include"

-I "C:/Program Files/Microsoft SDKs/Windows/v6.0A/Include"

-I "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.22/toolkit/include"

-MD

-EHsc

-GR

-bigobj

-wd4355

-w14996

-DSESI_LITTLE_ENDIAN

-DAMD64

-DSIZEOF_VOID_P=8

-DMAKING_DSO

<Debug Mode, C/C++ - Command>

-TP

-Zc:forScope

-DVERSION="12.5.316.22"

-DI386

-DWIN32

-DSWAP_BITFIELDS

-D_WIN32_WINNT=0x0501

-DWINVER=0x0501

-D_USE_MATH_DEFINES

-D_CRT_SECURE_NO_DEPRECATE

-D_CRT_NONSTDC_NO_DEPRECATE

-D_SCL_SECURE_NO_WARNINGS

-DBOOST_ALL_NO_LIB

-I .

-I "C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/include"

-I "C:/Program Files/Microsoft SDKs/Windows/v6.0A/Include"

-I "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.22/toolkit/include"

-MD

-EHsc

-GR

-DSESI_LITTLE_ENDIAN

-DAMD64

-DSIZEOF_VOID_P=8

-DMAKING_DSO

So between this two mode, difference is

Just Release mode has below command,

-DNOMINMAX

-bigobj

-wd4355

-w14996

If Release Mode doesn't have this command, Houdini is crashed when I creat HDK node.

Could you guys give me some advices about this commands?

Edited by kidsreturnjj
Link to comment
Share on other sites

Guest mantragora

So between this two mode, difference is

Just Release mode has below command,

-DNOMINMAX

-bigobj

-wd4355

-w14996

If Release Mode doesn't have this command, Houdini is crashed when I creat HDK node.

Could you guys give me some advices about this commands?

Hm, have you used solution made by me that I posted on SESI forums some time ago ? If so, it needs to be updated because as you can see yourself there are couple of additional flags added. I can see that you are missing even more than those.

C/C++


-TP
-Zc:forScope
-nologo

-DVERSION="$(H12_VERSION)"
-DI386
-DWIN32
-DSWAP_BITFIELDS
-D_WIN32_WINNT=0x0501
-DWINVER=0x0501
-DNOMINMAX
-D_USE_MATH_DEFINES
-D_CRT_SECURE_NO_DEPRECATE
-D_CRT_NONSTDC_NO_DEPRECATE
-D_SCL_SECURE_NO_WARNINGS
-DBOOST_ALL_NO_LIB

-I .
-I "$(VS2008_PATH)/VC/include"
-I "C:/Program Files/Microsoft SDKs/Windows/v6.0A/Include"
-I "$(H12_PATH)/toolkit/include"

-MD
-EHsc
-GR
-bigobj
-wd4355
-w14996
-DSESI_LITTLE_ENDIAN -DAMD64
-DSIZEOF_VOID_P=8
-DFBX_ENABLED=1
-DOPENCL_ENABLED=1
-DOPENVDB_ENABLED=1
-DMAKING_DSO

Linker:

/libpath:"$(VS2008_PATH)/VC/lib/amd64"
/libpath:"C:/Program Files/Microsoft SDKs/Windows/v6.0A/Lib/x64"
"$(H12_PATH)/custom/houdini/dsolib/*.a"
"$(H12_PATH)/custom/houdini/dsolib/*.lib"

  • Like 1
Link to comment
Share on other sites

Thanks so much to reply!

But unfortunatly, it doesn't work for me, so I'm using hcustom to compile examples for studying..

I would like to ask you some thing more.

How could you get bellow command?

-DFBX_ENABLED=1

-DOPENCL_ENABLED=1

-DOPENVDB_ENABLED=1

I follow this link steps,

http://vimeo.com/17195536

,

but I couldn't get above commands.

Thanks!

Edited by kidsreturnjj
Link to comment
Share on other sites

Guest mantragora

If you use this command

hcustom -d foo.cpp

in Houdini CommandLineTools, it wll print all the flags it uses. If you followed tutorial above, maybe you just deleted them.

PS. Try this VS solution http://www.mediafire...dcudei85x3xcujx. It should work with H12.5. Before you run it, read my post here to know what variables you need to setup to make it work.

PS2. Maybe I should make tutorial on how to setup VS for Houdini. I'm a little better at speaking english than author of your tutorial ;)

Edited by mantragora
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...