Arnold Shader HAPI_Initialize() Problem

   821   0   0
User Avatar
Member
14 posts
Joined: Feb. 2011
Offline
node_initialize
{
	HAPI_CookOptions cookOptions = HAPI_CookOptions_Create();
	HAPI_Session session;
	HAPI_CreateInProcessSession(&session);

	ENSURE_SUCCESS(HAPI_Initialize(&session,
		&cookOptions,
		true,
		-1,
		nullptr,
		nullptr,
		nullptr,
		nullptr,
		nullptr));


}
node_update
{
	
}
......


Then find a problem that debuger located this function:HAPI_Initialize()


and in maya log have this error message:
Houdini Engine could not load

but in standalone program,that have not find this problem.

Can someone help me
thanks.
  • Quick Links