Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Help on plugin development on Linux : missing symbols

<< < (2/3) > >>

dje:
Thanks for the different hints Tiwag !


--- Quote ---then you have most probably a home-made problem in your code rather than a library-search-path problem.
--- End quote ---
What surprises me is that it worked, I added two lines of code (related to events handling) built and it did not work any more.
I cleaned/rebuilt dozens of times the plugin, looked carefully after all ThreadSearch.so files to delete them. Nothing worked  :(

I continue my investigations...

Dje

dje:
Hi !

Problem solved  :D thanks to the tip of Ceniza !
On Linux, the missing symbol is displayed if logging is enabled.
To enable it, you just have to set it with wxLog::EnableLogging(true); in  bool CodeBlocksApp::OnInit()

--- Code: ---Index: /media/hda3/codeblocks/trunk/src/src/app.cpp
===================================================================
--- /media/hda3/codeblocks/trunk/src/src/app.cpp        (rĂ©vision 4466)
+++ /media/hda3/codeblocks/trunk/src/src/app.cpp        (copie de travail)
@@ -428,7 +428,7 @@
 
 bool CodeBlocksApp::OnInit()
 {
-    wxLog::EnableLogging(false);
+    wxLog::EnableLogging(true);
 
     SetAppName(_T("codeblocks"));
     s_Loading = true;
--- End code ---

Dje

MortenMacFly:

--- Quote from: dje on September 13, 2007, 12:09:11 am ---
--- Code: ----    wxLog::EnableLogging(false);
+    wxLog::EnableLogging(true);

--- End code ---

--- End quote ---
To the devs: Does it make sense if we enable this in safe-mode anyway???

mandrav:

--- Quote from: MortenMacFly on September 13, 2007, 07:44:19 am ---
--- Quote from: dje on September 13, 2007, 12:09:11 am ---
--- Code: ----    wxLog::EnableLogging(false);
+    wxLog::EnableLogging(true);

--- End code ---

--- End quote ---
To the devs: Does it make sense if we enable this in safe-mode anyway???

--- End quote ---

I guess, but we 'll have to first test this.

Ceniza:
Isn't safe-mode that mode that doesn't load plugins? I think a "--enable-logging" flag would be more helpful.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version