c# - Is there an equivalent to "-rdynamic" in mono? -
i porting application windows ubuntu written in c#. application used view video capture card. have had write c# wrapper dll in windows access api card, , have written wrapper corresponding .so in mono ubuntu.
to build , run c example app .so in ubuntu had pass "-rdynamic" gcc make application run correctly, else there errors such "undefined symbol: xmovewindow". when try run c# app "undefined symbol: xvshmcreateimage". suspect need pass "-rdynamic" compiler in mono, can't find equivalent command mono. there equivalent command, , if it?
thanks in advance
andrew
this means .so library miscompiled (it's not referencing x11 libs). should either recompile .so lib correctly or can p/invoke function inside libx11 , libxshm before invoking lib (the functions need not exist, in case need catch exceptions, needed load libraries in process loader later can find symbols exported them).
Comments
Post a Comment