Code::Blocks Forums

User forums => Help => Topic started by: Frédéric on February 05, 2015, 12:13:18 pm

Title: error to built C::B because of tinyXML not find
Post by: Frédéric 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
Title: Re: error to built C::B because of tinyXML not find
Post by: oBFusCATed on February 05, 2015, 01:46:51 pm
What project file are you building and are you using the All target?
Title: Re: error to built C::B because of tinyXML not find
Post by: Frédéric 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 ?


Title: Re: error to built C::B because of tinyXML not find
Post by: stahta01 on February 05, 2015, 05:08:44 pm
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F)

Tim S.
Title: Re: error to built C::B because of tinyXML not find
Post by: Jenna 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).
Title: Re: error to built C::B because of tinyXML not find
Post by: Frédéric on February 06, 2015, 07:57:48 pm
I compiled C::B
Thank you very much !