Compiling USD plugins for Houdini on Windows 10 using the Houdini Toolkit

COMMENTS

  • RobW 5 years, 6 months ago  | 

    Hello USD, goodbye FBX??

    Nice to see USD becoming more and more visible... :)

  • Scotta 5 years, 5 months ago  | 

    It should be made clear that you need cmake, visual studio 2017 and "Visual C++ tools for CMake" installed before you begin.

  • Scotta 5 years, 5 months ago  | 

    I successfully installed USD but I get "11844: Fatal error: Segmentation fault" when I try and open the tree view with the kitchen.usd loaded. Any ideas what's causing it?

  • rachid 5 years, 5 months ago  | 

    @R_Cyph Sorry no idea!

  • pisces 5 years, 5 months ago  | 

    4>-- Install configuration: "Debug"
    4>CMake Warning (dev) at cmake_install.cmake:36 (list):
    4> Syntax error in cmake code at
    4>
    4> C:/Program Files/Side Effects Software/Houdini 17.0.352/toolkit/usd_houdini_plugins/build/cmake_install.cmake:37
    4>
    4> when parsing string
    4>
    4> C:\Users\Administrator\Documents\houdini17.0\dso/help
    4>
    4> Invalid escape sequence \U
    4>
    4> Policy CMP0010 is not set: Bad variable reference syntax is an error. Run
    4> "cmake --help-policy CMP0010" for policy details. Use the cmake_policy
    4> command to set the policy and suppress this warning.
    4>This warning is for project developers. Use -Wno-dev to suppress it.
    4>
    4>CMake Warning (dev) at cmake_install.cmake:44 (file):
    4>-- Up-to-date: C:\Users\Administrator\Documents\houdini17.0\dso/help
    4> Syntax error in cmake code at
    4>
    4> C:/Program Files/Side Effects Software/Houdini 17.0.352/toolkit/usd_houdini_plugins/build/cmake_install.cmake:44
    4>
    4> when parsing string
    4>
    4> C:\Users\Administrator\Documents\houdini17.0\dso
    4>
    4> Invalid escape sequence \U
    4>
    4> Policy CMP0010 is not set: Bad variable reference syntax is an error. Run
    4> "cmake --help-policy CMP0010" for policy details. Use the cmake_policy
    4> command to set the policy and suppress this warning.
    4>This warning is for project developers. Use -Wno-dev to suppress it.

  • pisces 5 years, 5 months ago  | 

    Hello, rachid, I met those errors, could you tell me what are they and how to solve

  • rachid 5 years, 5 months ago  | 

    here are my module file
    https://we.tl/t-Mc715rV8f8
    Unzip and copy to : C:\Program Files\CMake\share\cmake-3.12\Modules (override the old one)
    Hope this fix your issue

  • pisces 5 years, 5 months ago  | 

    still the same problems, but really thanks for your help

  • Matthieu Barbie 5 years, 5 months ago  | 

    Hi,

    Good video, I compiled the usd plugins without problems for indie version 17.0.352. Ok, missing some icons but working. If you have a crash when open the scene tree, you need to copy all the data from dso to the upper level (I copied not moved) to have script folder and co at the same level than your houdini.conf file. Solved the crash problem for me for indie version 17.0.352 (it's the vfx 17.0.375 in the video, some datas are changed maybe)

    Missing some icons is not a real problem to test it ;)

    Matt

  • rachid 5 years, 5 months ago  | 

    Look under C:\Users\XXX\Documents\houdini17.0\config\Icons
    there are 03 files :
    pxh_gusdIcon.png
    SVGIcons.cache
    SVGIcons.cache.serial

    pxh_gusdIcon.png is one responsible for usd icon

  • quchen 5 years, 5 months ago  | 

    Hi Rachid,

    Thanks very much for the video showing how to compile the USD plugin step by step. Really helpful!
    Just one thing, after following all the steps, I can build the USD plugin successfully, but when I press TAB key, I can only get one option: USD Camera. What am I doing wrong here? Any missing environmental variables?

    Thanks,
    Quan

  • rachid 5 years, 5 months ago  | 

    Hi
    USD Camera are in Objects level
    Others USD are in Geometry Level
    Hope this help!

  • MarcelK16 4 years, 12 months ago  | 

    Hi Rachid,
    I compiled the plugin and I can see all the nodes in Houdini.
    But when I click on "Tree View" in the USD Import node, I always get this error message:

    "There is an error in the Usd Tree View script.

    Traceback (most recent call last):
    File "", line 10, in
    ImportError: No module named Gusd.treeview"

    I tried it in Houdini 17.0.352 and 17.5.229.
    Maybe I have to specify something in the PYTHONPATH?

    • NENTAnimation 4 years, 7 months ago  | 

      were you able to solve this?

    • JMoon 4 years, 5 months ago  | 

      It seems to add usd python module to pythonpath .

  • Matthieu Barbie 4 years, 9 months ago  | 

    Hi all,

    Is it the same process to compil USD under Houdini 17.5.293 ?
    Thank you,

    Matt

    • rachid 4 years, 7 months ago  | 

      Yes it's the same!

  • Drasko Ivezic 4 years, 5 months ago  | 

    Hi, something is not right here and I need a clarification. I had to download VS 2019 because older is not possible to find. The cmake part went well, it creates usd_houdini_plugins.sln which I start in VS2019. Then I Release and right click Build on INSTALL and one big NOTHING. It reports 90 errors and 9 warnings, writes message how it managed to Build: 3 succeeded, 1 failed, 0 skipped.
    Why these errors, why he failed to build and what should I do?
    In houdini, there are no otl-s other than USD retime, USD bind proxy, USD Export Attributes and USD instance prototypes. So, obviously, this way is not working for me.
    Thnx for the help.
    Cheers

  • Drasko Ivezic 4 years, 5 months ago  | 

    Great, this worked. I wonder why do they have to hide vs 2017 like this? I remember even reading somewhere that we should use 2017 for compiling those.

Please log in to leave a comment.