Code::Blocks Forums

User forums => Help => Topic started by: ironhead on December 24, 2008, 08:03:36 pm

Title: Several plugins broken after merging of wxScintilla branch into trunk
Post by: ironhead on December 24, 2008, 08:03:36 pm
I'm trying to compile SVN 5350 but I'm hitting a snag with several plugins:

Code
||=== BrowseTracker, default ===|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x38b3)||undefined reference to `_imp___ZNK11wxScintilla13GetMarginMaskEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x3926)||undefined reference to `_imp___ZN11wxScintilla12MarkerDefineEiiRK8wxColourS2_'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x4db1)||undefined reference to `_imp___ZNK11wxScintilla13GetCurrentPosEv'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x4dc8)||undefined reference to `_imp___ZNK11wxScintilla16LineFromPositionEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x4de4)||undefined reference to `_imp___ZNK11wxScintilla19GetFirstVisibleLineEv'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x4e00)||undefined reference to `_imp___ZNK11wxScintilla13LinesOnScreenEv'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x4e43)||undefined reference to `_imp___ZNK11wxScintilla16PositionFromLineEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x4e69)||undefined reference to `_imp___ZNK11wxScintilla16PositionFromLineEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x4e93)||undefined reference to `_imp___ZNK11wxScintilla12GetLineCountEv'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x4ea5)||undefined reference to `_imp___ZNK11wxScintilla16PositionFromLineEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x4ecb)||undefined reference to `_imp___ZNK11wxScintilla16PositionFromLineEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x4ef1)||undefined reference to `_imp___ZNK11wxScintilla10LineLengthEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x50f9)||undefined reference to `_imp___ZNK11wxScintilla13GetCurrentPosEv'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x51c3)||undefined reference to `_imp___ZNK11wxScintilla13GetCurrentPosEv'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x54d3)||undefined reference to `_imp___ZNK11wxScintilla16LineFromPositionEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x5664)||undefined reference to `_imp___ZNK11wxScintilla13GetCurrentPosEv'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x5763)||undefined reference to `_imp___ZNK11wxScintilla13GetCurrentPosEv'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x58d7)||undefined reference to `_imp___ZNK11wxScintilla13GetCurrentPosEv'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x5eff)||undefined reference to `_imp___ZNK11wxScintilla13GetCurrentPosEv'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x5ff8)||undefined reference to `_imp___ZNK11wxScintilla13GetCurrentPosEv'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x65a3)||undefined reference to `_imp___ZNK11wxScintilla16LineFromPositionEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x67b9)||undefined reference to `_imp___ZNK11wxScintilla16LineFromPositionEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseMarks.o:BrowseMarks.cpp:(.text+0x7fd)||undefined reference to `_imp___ZNK11wxScintilla16PositionFromLineEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseMarks.o:BrowseMarks.cpp:(.text+0x900)||undefined reference to `_imp___ZNK11wxScintilla16PositionFromLineEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseMarks.o:BrowseMarks.cpp:(.text+0xa2e)||undefined reference to `_imp___ZNK11wxScintilla16LineFromPositionEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseMarks.o:BrowseMarks.cpp:(.text+0xb06)||undefined reference to `_imp___ZNK11wxScintilla16LineFromPositionEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseMarks.o:BrowseMarks.cpp:(.text+0xbda)||undefined reference to `_imp___ZNK11wxScintilla16LineFromPositionEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseMarks.o:BrowseMarks.cpp:(.text+0xcc1)||undefined reference to `_imp___ZNK11wxScintilla16LineFromPositionEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseMarks.o:BrowseMarks.cpp:(.text+0xda5)||undefined reference to `_imp___ZNK11wxScintilla16PositionFromLineEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseMarks.o:BrowseMarks.cpp:(.text+0xeca)||undefined reference to `_imp___ZNK11wxScintilla16LineFromPositionEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseMarks.o:BrowseMarks.cpp:(.text+0x1038)||undefined reference to `_imp___ZNK11wxScintilla13GetMarginMaskEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseMarks.o:BrowseMarks.cpp:(.text+0x10a6)||undefined reference to `_imp___ZN11wxScintilla12MarkerDefineEiiRK8wxColourS2_'|
||=== Build finished: 32 errors, 0 warnings ===|

||=== Koders Query, default ===|
..\..\..\.objs\plugins\contrib\cb_koders\cb_koders.o:C:\source\codeblocks\src\plugins\contrib\cb_koders\cb_koders.cpp|138|undefined reference to `_imp___ZNK11wxScintilla13GetCurrentPosEv'|
||=== Build finished: 1 errors, 0 warnings ===|

||=== Code Snippets, Plugin - Win32 ===|
ld.exe||cannot find -lwxflatnotebook|
||=== Build finished: 1 errors, 0 warnings ===|

etc....

Was something missed in the merge, or was there a fundemental change in some of the API calls?
Title: Re: Several plugins broken after merging of wxScintilla branch into trunk
Post by: ironhead on December 24, 2008, 09:51:09 pm
On the second build attempt everything compiled cleanly...  dunno what happened the first time.

Sorry for the noise.

Title: Re: Several plugins broken after merging of wxScintilla branch into trunk
Post by: killerbot on December 24, 2008, 10:49:17 pm
build on windows : OK (nightly build machine)
build on 64bit Linux : ok, only libIncrementalSearch didn't seem to rebuild correctly, because CB doesn't load it (different SDk version blablabla ...)

EDIT : for sure somethings wrong with the linux build.

I checked "/usr/local/share/codeblocks/plugins" : al*.la,*.so are from an older build (5th december), where as only the libIncrementalSearch.so/la is of today. 1 level higher all zip files are also from today. [Note : after svn update : make failed, so I did a make clean, make, make install].

Could this have something to do with the changes to makefile's and linux build strategy some revisions ago ???
Title: Re: Several plugins broken after merging of wxScintilla branch into trunk
Post by: mandrav on December 25, 2008, 01:18:11 am
I checked "/usr/local/share/codeblocks/plugins" : al*.la,*.so are from an older build (5th december), where as only the libIncrementalSearch.so/la is of today. 1 level higher all zip files are also from today. [Note : after svn update : make failed, so I did a make clean, make, make install].

Although that's for Jens to check, I think he has made some changes in that branch and linux plugins are now being put where they belong (under usr/lib somewhere I believe).
Title: Re: Several plugins broken after merging of wxScintilla branch into trunk
Post by: killerbot on December 25, 2008, 09:21:51 am
ok, they are now in : /usr/local/lib/codeblocks/plugins

so that means, that "IncrementalSearch" plug-in does not obey the new rules !
It was also build in that new directory, but from 3 days ago (22 december).
It got broken in Rev 5348.
I fixed it's makefile.am : Rev 5352

EDIT : Rev 5353 :one further fix of another thing that got broken during the merge in the makefile.am.
Title: Re: Several plugins broken after merging of wxScintilla branch into trunk
Post by: Jenna on December 25, 2008, 11:40:14 am
It was all correct on my system (for all plugins) before the merge.

I will look over the new version and fix problems, if they are still there.