Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

TinyXML Build Error

<< < (2/2)

MortenMacFly:
Enable *full* compiler log, ensure the right compiler is started with the right command (post here if unsure). It works just fine for me, so it must be either a wrong compiler or compiler command on your PC.

idblew:
See below:


--- Code: ----------------- Clean: tinyXML in Code::Blocks wx2.8.x (compiler: GNU GCC Compiler)---------------

Cleaned "Code::Blocks wx2.8.x - tinyXML"

-------------- Build: tinyXML in Code::Blocks wx2.8.x (compiler: GNU GCC Compiler)---------------

mingw32-g++.exe -Wall -o2 -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -iquote.objs\include -I.objs\include -I. -IU:\Development\SVN\wxMSW-2.8.12\include -IU:\Development\SVN\wxMSW-2.8.12\lib\gcc_dll\mswu -Isdk\wxscintilla\include -Isdk\wxpropgrid\include -Iinclude\tinyxml -Iinclude\tinyxml -c U:\Development\SVN\CodeBlocks\src\base\tinyxml\tinystr.cpp -o .objs\base\tinyxml\tinystr.o
mingw32-g++.exe -Wall -o2 -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -iquote.objs\include -I.objs\include -I. -IU:\Development\SVN\wxMSW-2.8.12\include -IU:\Development\SVN\wxMSW-2.8.12\lib\gcc_dll\mswu -Isdk\wxscintilla\include -Isdk\wxpropgrid\include -Iinclude\tinyxml -Iinclude\tinyxml -c U:\Development\SVN\CodeBlocks\src\base\tinyxml\tinyxml.cpp -o .objs\base\tinyxml\tinyxml.o
mingw32-g++.exe -Wall -o2 -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -iquote.objs\include -I.objs\include -I. -IU:\Development\SVN\wxMSW-2.8.12\include -IU:\Development\SVN\wxMSW-2.8.12\lib\gcc_dll\mswu -Isdk\wxscintilla\include -Isdk\wxpropgrid\include -Iinclude\tinyxml -Iinclude\tinyxml -c U:\Development\SVN\CodeBlocks\src\base\tinyxml\tinyxmlerror.cpp -o .objs\base\tinyxml\tinyxmlerror.o
mingw32-g++.exe -Wall -o2 -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -iquote.objs\include -I.objs\include -I. -IU:\Development\SVN\wxMSW-2.8.12\include -IU:\Development\SVN\wxMSW-2.8.12\lib\gcc_dll\mswu -Isdk\wxscintilla\include -Isdk\wxpropgrid\include -Iinclude\tinyxml -Iinclude\tinyxml -c U:\Development\SVN\CodeBlocks\src\base\tinyxml\tinyxmlparser.cpp -o .objs\base\tinyxml\tinyxmlparser.o
mingw32-gcc-ar.exe -r -s base\tinyxml\libtxml.a .objs\base\tinyxml\tinystr.o .objs\base\tinyxml\tinyxml.o .objs\base\tinyxml\tinyxmlerror.o .objs\base\tinyxml\tinyxmlparser.o
sorry - this program has been built without plugin support
Process terminated with status 4210922 (0 minute(s), 2 second(s))
--- End code ---

idblew:
Found it!

Needed to change "Linker for static libs" from mingw32-gcc-ar.exe to ar.exe (?)  :-[

MortenMacFly:

--- Quote from: idblew on January 22, 2013, 01:25:13 pm ---Needed to change "Linker for static libs" from mingw32-gcc-ar.exe to ar.exe (?)  :-[

--- End quote ---
You must have done this maybe w/o realising. See here:
http://svn.berlios.de/svnroot/repos/codeblocks/trunk/src/plugins/compilergcc/resources/compilers/options_gcc.xml

It shows the default is ar.exe. :-)

Navigation

[0] Message Index

[*] Previous page

Go to full version