Access Violation When Loading Tahoe64.dll or Northstar64.dll in Tutorial Sample
Hello frinds,
I'm trying to run the tutorial sample 64_mesh_obj_demo from the Radeon ProRender SDK. When attempting to load the plugin Tahoe64.dll or Northstar64.dll, I encounter a crash during context creation.
Specifically, the call to:
cpp
rpr_int tahoePluginID = rprRegisterPlugin(RPR_PLUGIN_FILE_NAME);
returns 0, which seems suspicious. Then, when I call:
cpp
CHECK(rprCreateContext(RPR_API_VERSION, plugins, pluginCount, settings.creationFlags, g_contextProperties, NULL, &outContext.context));
I get the following exception:
Kód
Unhandled exception at 0x0000000000000000 in 64_mesh_obj_demo64D.exe:
0xC0000005: Access violation executing location 0x0000000000000000.
Environment:
OS: Windows 11 x64
IDE: Visual Studio 2022
SDK: Radeon ProRender SDK (latest from GitHub)
Sample: 64_mesh_obj_demo
Plugins tested: Tahoe64.dll, Northstar64.dll
CPU: Intel Core I7 GPU: NVIDIA 3050 HIP SDK: 25.Q3
What I've tried:
Verified that the DLLs are present in the bin directory
Rebuilt the SDK and samples from source
Installed HIP SDK
Attempted both Tahoe and Northstar plugins
Debugged the sample — crash occurs at rprCreateContext
Question:
Is there a required initialization step for the plugin before calling rprCreateContext? Is the plugin ID supposed to be non-zero? Or is the SDK intended only for static linking?
Any guidance would be greatly appreciated!