Hi, After days of searching i finally discovered the reason behind the error this:
[EMAIL PROTECTED] editmdi]$ ./sample_editor_editmdi 17:57:41: Debug: ./src/common/object.cpp(244): assert "sm_classTable->Get(m_className) == NULL" failed in Register(): Class "wxProcess" already in RTTI table - have you used IMPLEMENT_DYNAMIC_CLASS() multiple times or linked some object file twice)? ./src/common/object.cpp(244): assert "sm_classTable->Get(m_className) == NULL" failed in Register(): Class "wxProcess" already in RTTI table - have you used IMPLEMENT_DYNAMIC_CLASS() multiple times or linked some object file twice)? Trace/breakpoint trap As you see it complains about wxProcess RTTI, but WHY?? So i discovered that to make it go away is linking wxstedit in as static and not shared. E.g. In the following linking line changing -Wl,-Bdynamic -lwxcode_gtk2d_stedit-2.8 into -Wl,-Bstatic -lwxcode_gtk2d_stedit-2.8 Makes it work fine. (order/place of the wxstedit lib does not matter, also linking wxLua static or shared makes no difference. It comes back to wxstedit linking shared. I can not tell why this is, but i think i better let it know here, since it was hard to find. To bad cmake chooses shared libraries in favor of static libs, so i don't have a solution yet. regards, Klaas [EMAIL PROTECTED] editmdi]$ /usr/bin/c++ -fPIC "CMakeFiles/sample_editor_editmdi.dir/editmdi.o" -o sample_editor_editmdi -rdynamic -L/home/klaas/wxwin/buildart/lib -L/home/klaas/wxwin/wxLua/lib -L/usr/local/lib -L/home/klaas/wxwin/wxCode/components/wxstedit/lib -L/home/klaas/wxwin/buildart/lib/ -Wl,-Bdynamic -lwxcode_gtk2d_stedit-2.8 -Wl,-Bstatic -lwxart2d_gtk2d_aggdrawer-2.8 -lwxart2d_gtk2d_curves-2.8 -lwxart2d_gtk2d_editor-2.8 -lwxart2d_gtk2d_canextobj-2.8 -lwxart2d_gtk2d_canvas-2.8 -lwxart2d_gtk2d_artbase-2.8 -lwxart2d_gtk2d_docview-2.8 -lwxart2d_gtk2d_svgio-2.8 -lwxart2d_gtk2d_gdsio-2.8 -lwxart2d_gtk2d_keyio-2.8 -lwxart2d_gtk2d_xmlparse-2.8 -lwxart2d_gtk2d_general-2.8 -lwxart2d_gtk2d_luawraps-2.8 -lkbool -Wl,-Bdynamic -lwxlua_gtk2d_wxluadebug-2.8 -lwxlua_gtk2d_wxluasocket-2.8 -lwxlua_gtk2d_wxlua-2.8 -lwxlua_gtk2d_wxbind-2.8 -lwxlua_gtk2d_wxbindstc-2.8 -llua5.1 -Wl,-Bdynamic -lexpat -Wl,-Bstatic -lantigrain -Wl,-Bdynamic `/usr/bin/freetype-config --libs` -L/usr/local/lib -pthread -Wl,-Bstatic -lwx_gtk2d_stc-2.8 -lwx_gtk2d_qa-2.8 -lwx_gtk2d_xrc-2.8 -lwx_gtk2d_html-2.8 -lwx_gtk2d_adv-2.8 -lwx_based_xml-2.8 -lwx_based_net-2.8 -lwx_gtk2d_core-2.8 -lwx_based-2.8 -Wl,-Bdynamic -lexpat -L/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lXinerama -lXxf86vm -lSM -lpng -ljpeg -ltiff -lz -ldl -lm -Wl,-Bdynamic -lfreetype -Wl,-rpath,/home/klaas/wxwin/buildart/lib:/home/klaas/wxwin/wxLua/lib:/usr/local/lib:/home/klaas/wxwin/wxCode/components/wxstedit/lib:/home/klaas/wxwin/buildart/lib/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ wxCode-users mailing list wxCode-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxcode-users