Code::Blocks Forums

User forums => Help => Topic started by: mariocup on January 31, 2007, 11:55:49 am

Title: Error building libfinder and codesnippets plugin
Post by: mariocup on January 31, 2007, 11:55:49 am
Hi,

I am building codeblocks (trunk) from sources for windows and linux. I used the nightly cookbook as docu. Under windows I get for the plugins codesnippets and libfinder the error:
cannot find -ltxml.
Are any additional packages required?

Bye

Mario
Title: Re: Error building libfinder and codesnippets plugin
Post by: David Perfors on January 31, 2007, 12:11:13 pm
nope, everything (except wxWidgets of course) is included into the source tree.
Title: Re: Error building libfinder and codesnippets plugin
Post by: mariocup on January 31, 2007, 01:02:49 pm
I configured the global variable wx: in base builtin fields c:\Programme\wxWidgets-2.6.3. This variable is expanded in the build options. Is the source tree include via the wx variable or do I have to add something else?
Title: Re: Error building libfinder and codesnippets plugin
Post by: stahta01 on January 31, 2007, 01:21:25 pm
I configured the global variable wx: in base builtin fields c:\Programme\wxWidgets-2.6.3. This variable is expanded in the build options. Is the source tree include via the wx variable or do I have to add something else?

Verify that the global variable cb is set correctly in my case it is C:\CodeProjects\CodeBlocksProjects\CodeBlocks\CB_SVN_TEST\codeblocks-head-test\codeblocks\src

In nearly all cases where building from SVN sources it should end with src; the folder for "cb" must always contain a sub-folder sdk.

Tim S
Title: Re: Error building libfinder and codesnippets plugin
Post by: stahta01 on January 31, 2007, 01:24:35 pm
Hi,

I am building codeblocks (trunk) from sources for windows and linux. I used the nightly cookbook as docu. Under windows I get for the plugins codesnippets and libfinder the error:
cannot find -ltxml.
Are any additional packages required?

Bye

Mario


txml comes from the Code::Blocks SDK.
Title: Re: Error building libfinder and codesnippets plugin
Post by: mariocup on January 31, 2007, 02:27:46 pm
I have checkout the svn/trunk in c:\temp\codeblocks.
The directories are here:
.svn
debian
docs
src
I configure the globale variable cb c:\temp\codeblocks\src and wx c:\programme\wxWidget-2.6.3.
for the workspace ContribPlugins.workspace. Then I rebuild workspace, but I get always the same error for svn 3557.
cannot find -ltxml
(windows 2000 SP4)
Title: Re: Error building libfinder and codesnippets plugin
Post by: stahta01 on January 31, 2007, 02:34:06 pm
Please verify that library libtxml.a exists in folder src\sdk\tinyxml should be c:\temp\codeblocks\src\sdk\tinyxml for you.

Edit: Per mispunt, compile codeblocks.cbp before compiling the contrib workspace; compiling codeblocks.cbp creates libtxml.a

Tim S
Title: Re: Error building libfinder and codesnippets plugin
Post by: David Perfors on January 31, 2007, 02:47:41 pm
You first have to compile codeblocks.cbp before compiling the contrib workspace
Title: Re: Error building libfinder and codesnippets plugin
Post by: mariocup on January 31, 2007, 03:54:27 pm
Thanks.
Now everything works fine and I can work with my favourite application codeblocks.