Author Topic: Error building libfinder and codesnippets plugin  (Read 4754 times)

Offline mariocup

  • Developer
  • Lives here!
  • *****
  • Posts: 586
Error building libfinder and codesnippets plugin
« 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

Offline David Perfors

  • Developer
  • Lives here!
  • *****
  • Posts: 560
Re: Error building libfinder and codesnippets plugin
« Reply #1 on: January 31, 2007, 12:11:13 pm »
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

Offline mariocup

  • Developer
  • Lives here!
  • *****
  • Posts: 586
Re: Error building libfinder and codesnippets plugin
« Reply #2 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?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7339
    • My Best Post
Re: Error building libfinder and codesnippets plugin
« Reply #3 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
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7339
    • My Best Post
Re: Error building libfinder and codesnippets plugin
« Reply #4 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.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline mariocup

  • Developer
  • Lives here!
  • *****
  • Posts: 586
Re: Error building libfinder and codesnippets plugin
« Reply #5 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)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7339
    • My Best Post
Re: Error building libfinder and codesnippets plugin
« Reply #6 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
« Last Edit: January 31, 2007, 02:51:30 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline David Perfors

  • Developer
  • Lives here!
  • *****
  • Posts: 560
Re: Error building libfinder and codesnippets plugin
« Reply #7 on: January 31, 2007, 02:47:41 pm »
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

Offline mariocup

  • Developer
  • Lives here!
  • *****
  • Posts: 586
Re: Error building libfinder and codesnippets plugin
« Reply #8 on: January 31, 2007, 03:54:27 pm »
Thanks.
Now everything works fine and I can work with my favourite application codeblocks.