FleX icon indicating copy to clipboard operation
FleX copied to clipboard

Stack Smashing error at NvFlexInit

Open sadernalwis opened this issue 6 years ago • 1 comments

the shipped binaries run very well. but when I try to compile the demo: the problem is at Initialization of the Flex library.

line 3247 demo/main.cpp

g_flexLib = NvFlexInit(NV_FLEX_VERSION, ErrorCallback, &desc);

https://github.com/NVIDIAGameWorks/FleX/blob/78decdfaa99c1d51513683f4407ccfcbb7dfb128/demo/main.cpp#L3247

*** stack smashing detected ***: <unknown> terminated
Aborted

Originally posted by @sadernalwis in https://github.com/NVIDIAGameWorks/FleX/issues/62#issuecomment-509766302

sadernalwis avatar Jul 09 '19 19:07 sadernalwis

I had to recompile SDL library with -fpic flag and Wayland removed according to: https://github.com/NVIDIAGameWorks/FleX/issues/62#issue-375104703

how can i fix this stack smashing error?

Please help!

Thank you in advance..

sadernalwis avatar Jul 09 '19 19:07 sadernalwis