Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: LonelySTar on September 20, 2007, 01:43:59 am

Title: BrowseTracker plugin not working
Post by: LonelySTar on September 20, 2007, 01:43:59 am
Hello,

I am trying to get the BrowseTracker Plugin to work (under gentoo linux).
Following the install instructions I get:

[01:38:39.643]: ERROR: /home/ls/.codeblocks/share/codeblocks/plugins/libBrowseTracker.so: not loaded (missing symbols?)

So I am trying to compile it myself - opening the project file.
It tells me something about that it does not know the compile variable "cb".

What to do?

Versions: SVN 4105

Thanks!
Nathan
Title: Re: BrowseTracker plugin not working
Post by: Seronis on September 20, 2007, 02:55:49 am
It tells me something about that it does not know the compile variable "cb".

First time you load the codeblocks project it attempts to use a global variable 'cb'.  Since no variable is (yet) defined it asks you to supply the path info.  The only field you need to fill out is 'base'.  In that field you will want to put:

%YourBaseCBPathHere%\src

My 'base' field, for example, looks like:

C:\Dev\CodeBlocks_SVN_Repo\src

You can safely leave the other fields blank.  For more info go:

http://wiki.codeblocks.org/index.php?title=Global_compiler_variables
Title: Re: BrowseTracker plugin not working
Post by: LonelySTar on September 20, 2007, 11:33:58 am
cb stands for code::blocks, make sense :).
OK, I got a little further, but still a problem:

I want to compile and get error message:
/home/ls/tmp/BrowseTracker.cpp:549: error: 'class wxWindow' has no member named 'GetMenuBar'

Mmh ... I have wxWGT-2.8.5 installed.

Thanks!
Nathan
Title: Re: BrowseTracker plugin not working
Post by: manciuleas on September 20, 2007, 12:31:42 pm
Hi,

You have to replace:
         GetAppWindow()->GetMenuBar();
with
         GetAppFrame()->GetMenuBar();.
in 2 places.

Regards
Title: Re: BrowseTracker plugin not working
Post by: LonelySTar on September 20, 2007, 12:44:39 pm
Works. Thanks!