News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Error building libfinder and codesnippets plugin

Started by mariocup, January 31, 2007, 11:55:49 AM

Previous topic - Next topic

mariocup

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

David Perfors

nope, everything (except wxWidgets of course) is included into the source tree.
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

mariocup

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?

stahta01

Quote from: 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?

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
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

stahta01

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


txml comes from the Code::Blocks SDK.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

mariocup

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)

stahta01

#6
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
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

David Perfors

You first have to compile codeblocks.cbp before compiling the contrib workspace
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

mariocup

Thanks.
Now everything works fine and I can work with my favourite application codeblocks.