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 :
-------------- 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
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