Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
BrowseTracker plugin
Jenna:
If you use binary-packages,there should be a package called something like "codeblocks-contrib...", that contains all the contrib-plugins including browsetracker.
If you compile from source with "./configure" use "--with-contrib-plugins=BrowseTracker" to only build the browsetracker-plugins or "--with-contrib-plugins=all" to build all contrib-plugins, what I recommend to do.
If you compile C::B with C::B you have to build also the "ContribPlugins-unix.workspace" or at least the "BrowseTracker-unix.cbp" in "src/plugins/contrib/BrowseTracker/"
adir:
Thanks very much for help, I get it :lol:~~
gd_on:
I wanted to build version 5549 on a linux server. Until now it was quite ok (my last build was in february but I forgot which svn number it was, sorry :( ), but now I obtain a compile error when building BrowseTracker plugin with the standard distributed .cbp file.
Here is the full compile log :
--- Quote ----------------- Générer: default dans BrowseTracker-unix ---------------
g++ -Wall -g -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread -fPIC -DPIC -DNO_LOGGING -DNO_CB_PRECOMP -I../../../include -I../../../include/wxscintilla/include -c /home/gdurand/CodeBlocks_SVN/CodeBlocks_src/trunk/src/plugins/contrib/BrowseTracker/BrowseTracker.cpp -o .objs/BrowseTracker.o
g++ -shared -L../../../devel .objs/BrowseMarks.o .objs/BrowseSelector.o .objs/BrowseTracker.o .objs/BrowseTrackerConfPanel.o .objs/BrowseTrackerLayout.o .objs/ConfigPanel.o .objs/ProjectData.o .objs/Version.o -o ../../../devel/share/codeblocks/plugins/libBrowseTracker.so -s -pthread -L/usr/X11R6/lib64 -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8 -lwxscintilla -lcodeblocks
In file included from ../../../include/sdk_common.h:40,
from /home/gdurand/CodeBlocks_SVN/CodeBlocks_src/trunk/src/plugins/contrib/BrowseTracker/BrowseTracker.cpp:71:
../../../include/prep.h: In member function `ID::operator void*() const':
../../../include/prep.h:316: warning: cast to pointer from integer of different size
/home/gdurand/CodeBlocks_SVN/CodeBlocks_src/trunk/src/plugins/contrib/BrowseTracker/BrowseTracker.cpp: In member function `wxString BrowseTracker::GetCBConfigFile()':
/home/gdurand/CodeBlocks_SVN/CodeBlocks_src/trunk/src/plugins/contrib/BrowseTracker/BrowseTracker.cpp:2619: error: invalid use of undefined type `struct ConfigManager'
../../../include/manager.h:38: error: forward declaration of `struct ConfigManager'
/home/gdurand/CodeBlocks_SVN/CodeBlocks_src/trunk/src/plugins/contrib/BrowseTracker/BrowseTracker.cpp:2619: error: `sdAllKnown' was not declared in this scope
/home/gdurand/CodeBlocks_SVN/CodeBlocks_src/trunk/src/plugins/contrib/BrowseTracker/BrowseTracker.cpp:2619: warning: unused variable 'sdAllKnown'
Le processus s'est terminé avec le statut 1 (0 minutes, 7 secondes)
3 erreurs, 2 avertissements
--- End quote ---
Linux is Redhat 4.7, gcc version is 3.4.6 (I have other compile problems with gcc 4, but probably more related to the installation).
Without BrowseTracker, SVN 5549 compiles normally with all plugins.
I have no problems with Windows version.
gd_on
Pecan:
--- Quote from: gd_on on April 28, 2009, 06:01:32 pm ---...
Without BrowseTracker, SVN 5549 compiles normally with all plugins.
I have no problems with Windows version.
gd_on
--- End quote ---
Fixed SVN 5550
thanks
geiermeier:
I just can't get used to this BrowseTracker. There is a similar feature in IAR Embedded Codebench (or similar name), that's great.
The main differences are:
-there's no popup, just switch view on pressing ALT+Left/Right
-don't jump to the last editor, but to the last position - even if it's inside the same file;
that way you can simply press ALT+Left after e.g. jump to declaration and you're back, no matter if the jump switched files
-ALT+Right works as expected, e.g. undoing what the last ALT+Left did
Actually I couldn't find out yet what ALT+Right is supposed to do with the CB BrowseTracker.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version