Author Topic: error to built C::B because of tinyXML not find  (Read 3815 times)

Offline Frédéric

  • Single posting newcomer
  • *
  • Posts: 4
error to built C::B because of tinyXML not find
« on: February 05, 2015, 12:13:18 pm »
hello,

i try to compile C::B under windows 8 with the last C::B 13.12 but i have an error : tinyXML no such file or directory.

I compile tinyxml for C::B and i put it whith the other libs in the libs directorie but no result.

I do not find response in the past of the forum.

how can i do ?
it doesn't seem to be challenging...(?)

Thank you

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: error to built C::B because of tinyXML not find
« Reply #1 on: February 05, 2015, 01:46:51 pm »
What project file are you building and are you using the All target?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Frédéric

  • Single posting newcomer
  • *
  • Posts: 4
Re: error to built C::B because of tinyXML not find
« Reply #2 on: February 05, 2015, 03:56:19 pm »

i try with the two :

CodeBlocks.cbp

and

CodeBlocks.workspace

with "All" as Build target


I noticed for both that in "the project/built options/Linker settings/Link librairies"  there is nothing.
There is also nothing in "project/built options/Search directories /linker"

But in "project/built options/Search directories / Compiler" there is :
include/tinyxml

So I don't know where would be the libtinyxml.a ?



Offline stahta01

  • Lives here!
  • ****
  • Posts: 7786
    • My Best Post
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: error to built C::B because of tinyXML not find
« Reply #4 on: February 05, 2015, 09:49:00 pm »
Check "Settings -> Global variables -> cb_release_type" and make sure the base-entry has either an allowed gcc-flag (like "-g") or a space.
Don't leave it empty, or C::B replaces it with the string "(invalid)" after asking you if you really want to save an invalid global variable.
Also check the "cb"-variable, it should point to the root of C::B's sources on windows (if I remember correctly).

Offline Frédéric

  • Single posting newcomer
  • *
  • Posts: 4
Re: error to built C::B because of tinyXML not find
« Reply #5 on: February 06, 2015, 07:57:48 pm »
I compiled C::B
Thank you very much !