Houdini Engine 7.0
|
Four header files are included in the Houdini Engine distribution:
Assuming you used the default install options, you should find these files in:
For native applications, you will need to link against the import library. The import library is named libHAPI.a
and is found in a directory that should look similar to:
When writing applications with Houdini Engine it is important to ensure that the version of Houdini Engine being loaded into memory is in fact the version of Houdini Engine you compiled your code against (a common scenario where this can be a problem: setting the PATH environment variable wrongly to point to some other version of Houdini Engine).
We provide HAPI_GetEnvInt() to help you determine the version of Houdini Engine that you have actually loaded into memory. Possible int types are given by HAPI_EnvIntType.
The important version numbers are:
These are effectively Houdini Engine API version numbers that describe the API and the data structures around the API. These should match the numbers against which you built your application.
You may also get version information at build time by including the HAPI_Version.h header file. This file is generated during the building of Houdini and will always contain the correct values. All version numbers are provided as #define
's for your own use.
Steps:
/EngineMaya=Yes
- please change these according to the plugins you need.Please note that previous versions of Houdini also recommended adding /HoudiniEngineOnly=Yes
- to install only the files and libraries required by Houdini Engine. We no longer recommend this, as it can potentially lead to various incompatibilities when running certain tools or plugins due to missing dependancies.
For more information on installing and using the Houdini Engine plug-ins, please consult the documentations:
While the HAPI docs are in dependency order for the most part, it is not perfectly so, nor are all sections of a category relevant for most integrations. Here is a recommended minimal integration strategy, in order: