NVIDIAGameWorks / FleX

Other
650 stars 100 forks source link

Stack Smashing error at NvFlexInit #88

Open sadernalwis opened 5 years ago

sadernalwis commented 5 years ago

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 commented 5 years ago

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..