Bug #9331 2006-11-01 19:39

kev

Compile SVN trunk: TinyXML headers missing

This problem has been plaguing me on both my Linux boxes for several weeks now.  I use gcc 4.1.1 (Gentoo) on both.  I've tried checking out a fresh copy of trunk from SVN.

I haven't seen this reported anywhere else.  I don't know why the build would suddenly break on two separate computers.

Basically,
  src/tools/cb_share_config/app.cpp

is having trouble finding
  src/sdk/tinyxml/tinyxml.h

Thanks for any ideas!


<tail of build log>:
make[6]: Leaving directory `/home/kev/build/codeblocks/src/plugins/contrib/wxSmith'
make[5]: Leaving directory `/home/kev/build/codeblocks/src/plugins/contrib/wxSmith'
make[4]: Leaving directory `/home/kev/build/codeblocks/src/plugins/contrib/wxSmith'
make[4]: Entering directory `/home/kev/build/codeblocks/src/plugins/contrib'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/kev/build/codeblocks/src/plugins/contrib'
make[3]: Leaving directory `/home/kev/build/codeblocks/src/plugins/contrib'
make[3]: Entering directory `/home/kev/build/codeblocks/src/plugins'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/kev/build/codeblocks/src/plugins'
make[2]: Leaving directory `/home/kev/build/codeblocks/src/plugins'
Making all in tools
make[2]: Entering directory `/home/kev/build/codeblocks/src/tools'
Making all in cb_share_config
make[3]: Entering directory `/home/kev/build/codeblocks/src/tools/cb_share_config'
if g++ -DHAVE_CONFIG_H -I. -I../../../../../src/codeblocks/trunk/src/tools/cb_share_config -I../../../src/
sdk -I/usr/lib64/wx/include/gtk2-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -
D_FILE_OFFSET_BITS=64 -D_LARGE_FILES      -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -M
T app.o -MD -MP -MF ".deps/app.Tpo" \
  -c -o app.o `test -f '../../../../../src/codeblocks/trunk/src/tools/cb_share_config/app.cpp' || echo '..
/../../../../src/codeblocks/trunk/src/tools/cb_share_config/'`../../../../../src/codeblocks/trunk/src/tool
s/cb_share_config/app.cpp; \
then mv -f ".deps/app.Tpo" ".deps/app.Po"; \
else rm -f ".deps/app.Tpo"; exit 1; \
fi
In file included from ../../../../../src/codeblocks/trunk/src/tools/cb_share_config/app.cpp:4:
../../../../../src/codeblocks/trunk/src/tools/cb_share_config/mainframe.h:20:29: error: tinyxml/tinystr.h:
 No such file or directory
../../../../../src/codeblocks/trunk/src/tools/cb_share_config/mainframe.h:21:29: error: tinyxml/tinyxml.h:                     No such file or directory
../../../../../src/codeblocks/trunk/src/tools/cb_share_config/mainframe.h:92: error: 'TiXmlDocument' has n                    ot been declared
../../../../../src/codeblocks/trunk/src/tools/cb_share_config/mainframe.h:94: error: 'TiXmlDocument' has n                    ot been declared
../../../../../src/codeblocks/trunk/src/tools/cb_share_config/mainframe.h:95: error: 'TiXmlNode' was not d                    eclared in this scope
../../../../../src/codeblocks/trunk/src/tools/cb_share_config/mainframe.h:95: error: template argument 1 i                    s invalid
../../../../../src/codeblocks/trunk/src/tools/cb_share_config/mainframe.h:95: error: template argument 2 i                    s invalid
../../../../../src/codeblocks/trunk/src/tools/cb_share_config/mainframe.h:96: error: 'TiXmlNode' has not b                    een declared
../../../../../src/codeblocks/trunk/src/tools/cb_share_config/mainframe.h:97: error: 'TiXmlNode' was not d                    eclared in this scope
../../../../../src/codeblocks/trunk/src/tools/cb_share_config/mainframe.h:97: error: template argument 1 i                    s invalid
../../../../../src/codeblocks/trunk/src/tools/cb_share_config/mainframe.h:97: error: template argument 2 i                    s invalid
../../../../../src/codeblocks/trunk/src/tools/cb_share_config/mainframe.h:99: error: 'TiXmlNode' has not b                    een declared
../../../../../src/codeblocks/trunk/src/tools/cb_share_config/mainframe.h:102: error: 'TiXmlDocument' has                     not been declared
../../../../../src/codeblocks/trunk/src/tools/cb_share_config/mainframe.h:105: error: ISO C++ forbids decl                    aration of 'TiXmlDocument' with no type
../../../../../src/codeblocks/trunk/src/tools/cb_share_config/mainframe.h:105: error: expected ';' before                     '*' token
../../../../../src/codeblocks/trunk/src/tools/cb_share_config/mainframe.h:107: error: 'TiXmlNode' was not                     declared in this scope
../../../../../src/codeblocks/trunk/src/tools/cb_share_config/mainframe.h:107: error: template argument 1                     is invalid
../../../../../src/codeblocks/trunk/src/tools/cb_share_config/mainframe.h:107: error: template argument 2                     is invalid
../../../../../src/codeblocks/trunk/src/tools/cb_share_config/mainframe.h:110: error: ISO C++ forbids decl                    aration of 'TiXmlDocument' with no type
../../../../../src/codeblocks/trunk/src/tools/cb_share_config/mainframe.h:110: error: expected ';' before                     '*' token
../../../../../src/codeblocks/trunk/src/tools/cb_share_config/mainframe.h:112: error: 'TiXmlNode' was not                     declared in this scope
../../../../../src/codeblocks/trunk/src/tools/cb_share_config/mainframe.h:112: error: template argument 1                     is invalid
../../../../../src/codeblocks/trunk/src/tools/cb_share_config/mainframe.h:112: error: template argument 2                     is invalid
make[3]: *** [app.o] Error 1
make[3]: Leaving directory `/home/kev/build/codeblocks/src/tools/cb_share_config'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/kev/build/codeblocks/src/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kev/build/codeblocks/src'
make: *** [all-recursive] Error 1
Category
Compiler
Group
 
Status
Closed
Close date
2006-11-07 06:34
Assigned to
 
kev 2006-11-07 02:39

This bug was resolved on the forums. Makefile.am was missing a header include directory.

http://forums.codeblocks.org/index.php?topic=4381.msg34731#msg34731

Thanks Morten!

$ svn log src/tools/cb_share_config

------------------------------------------------------------------------

r3181 | mortenmacfly | 2006-11-05 04:46:27 -0500 (Sun, 05 Nov 2006) | 1 line

- Makefile.am fix for cb_share_config (autotools)