How to configure Houdini hdk and visual studio 2017 development environment?

   5844   2   1
User Avatar
Member
3 posts
Joined: Nov. 2016
Offline
The official documentation does not have a detailed configuration process.
Try many times but still fail.
Please tell me the configuration process of Houdini HDK and visual studio 2017 development environment.
Thank you
User Avatar
Member
1743 posts
Joined: March 2012
Offline
Visual Studio 2017 is not supported. Houdini 16.0 on Windows is built with VS 2015 Update 3, and VS 2017 is not fully compatible with VS 2015, so you must either build plugins for Houdini 16.0 with VS 2015 Update 3, or configure your VS 2017 to use VS 2015's toolchain.

Also note that the only officially recommended methods for building HDK plugins are using hcustom or using Makefiles, both of which will use Visual Studio 2015 for compilation and linking. It is nearly impossible to correctly manually set up a Visual Studio project for building HDK plugins; I've seen quite a few incorrectly set up projects that I wasn't able to fix.
Writing code for fun and profit since... 2005? Wow, I'm getting old.
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
User Avatar
Member
1743 posts
Joined: March 2012
Offline
Oops, I forgot to give the link to the docs page explaining how to compile HDK plugins: http://www.sidefx.com/docs/hdk/_h_d_k__intro__compiling.html [www.sidefx.com]

Also note that a recent update to Windows 10 broke hcustom, and a change to hcustom in Houdini 16.0.656 worked around the problem, so if you're on Windows 10, you may need to get the latest daily build at https://www.sidefx.com/download/daily-builds/ [www.sidefx.com]
Writing code for fun and profit since... 2005? Wow, I'm getting old.
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
  • Quick Links