Author Topic: BrowseTracker plugin not working  (Read 4437 times)

Offline LonelySTar

  • Multiple posting newcomer
  • *
  • Posts: 30
BrowseTracker plugin not working
« 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
« Last Edit: September 20, 2007, 01:56:51 am by LonelySTar »

Offline Seronis

  • Almost regular
  • **
  • Posts: 197
Re: BrowseTracker plugin not working
« Reply #1 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
« Last Edit: September 20, 2007, 02:58:25 am by Seronis »

Offline LonelySTar

  • Multiple posting newcomer
  • *
  • Posts: 30
Re: BrowseTracker plugin not working
« Reply #2 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

Offline manciuleas

  • Multiple posting newcomer
  • *
  • Posts: 20
Re: BrowseTracker plugin not working
« Reply #3 on: September 20, 2007, 12:31:42 pm »
Hi,

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

Regards

Offline LonelySTar

  • Multiple posting newcomer
  • *
  • Posts: 30
Re: BrowseTracker plugin not working
« Reply #4 on: September 20, 2007, 12:44:39 pm »
Works. Thanks!