NVIDIA
Integrating NvIFROpenGL with UnrealEngine, clang++
HI, I'm having trouble integrating NvIFROpenGL within the UnrealEngine. I can make the samples and other trivial examples work. I always get a crash calling NvIFR.nvIFROGLCreateSession(&SessionHandle, NULL). The first suspicion is compiling with clang++. give the warning [code]warning: empty struct has size 0 in C, size 1 in C++[/code] I can ignore the warning or add a byte to the structs (to force them to be sizeof(1)), but neither method prevents the crash. I am confident I am running within a valid gl context, with a complete framebuffer, I can take screenshots from this point in the render thread using glreadpixels. Any ideas as to how I can find the cause of this problem?
HI,

I'm having trouble integrating NvIFROpenGL within the UnrealEngine. I can make the samples and other trivial examples work.

I always get a crash calling NvIFR.nvIFROGLCreateSession(&SessionHandle, NULL).

The first suspicion is compiling with clang++. give the warning

warning:
empty struct has size 0 in C, size 1 in C++


I can ignore the warning or add a byte to the structs (to force them to be sizeof(1)), but neither method prevents the crash.

I am confident I am running within a valid gl context, with a complete framebuffer, I can take screenshots from this point in the render thread using glreadpixels.

Any ideas as to how I can find the cause of this problem?

#1
Posted 09/27/2017 11:59 AM   
Scroll To Top

Add Reply