Page 1 of 1

[SOLVED] need your help for compiling...

Posted: 11 Jul 2008, 19:44
by Shak
G'd evening,

i figured out a lot of error-messages but now, i dont know what to do.
During the compilation of the svn-tmw I got theese helpful error-messages -- I would praise you if one of yoou could help me insolving this.

I use CodeBlocks with GNU-GCC 4.3.1

Code: Select all

c:\programme\codex\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.3.0\include\c++\bits\stl_list.h|420|instantiated from 'std::list<ParticleEmitter, std::allocator<ParticleEmitter> >'|
C:\Programme\CodeX\TheManaWorld\src\particleemitter.h|128|instantiated from here|
c:\programme\codex\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.3.0\include\c++\bits\boost_concept_check.h|216|error: '__gnu_cxx::_SGIAssignableConcept<_Tp>::__a' has incomplete type|
C:\Programme\CodeX\TheManaWorld\src\particleemitter.h|43|error: forward declaration of 'class ParticleEmitter'|
c:\programme\codex\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.3.0\include\c++\bits\boost_concept_check.h||In member function 'void __gnu_cxx::_SGIAssignableConcept<_Tp>::__constraints() [with _Tp = ParticleEmitter]':|
c:\programme\codex\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.3.0\include\c++\bits\stl_list.h|420|instantiated from 'std::list<ParticleEmitter, std::allocator<ParticleEmitter> >'|
C:\Programme\CodeX\TheManaWorld\src\particleemitter.h|128|instantiated from here|
c:\programme\codex\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.3.0\include\c++\bits\boost_concept_check.h|208|error: using invalid field '__gnu_cxx::_SGIAssignableConcept<_Tp>::__a'|
c:\programme\codex\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.3.0\include\c++\bits\boost_concept_check.h|209|error: using invalid field '__gnu_cxx::_SGIAssignableConcept<_Tp>::__a'|
c:\programme\codex\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.3.0\include\c++\bits\boost_concept_check.h|209|error: using invalid field '__gnu_cxx::_SGIAssignableConcept<_Tp>::__a'|
c:\programme\codex\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.3.0\include\c++\bits\stl_list.h|420|instantiated from 'std::list<ParticleEmitter, std::allocator<ParticleEmitter> >'|
C:\Programme\CodeX\TheManaWorld\src\particleemitter.h|128|instantiated from here|
c:\programme\codex\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.3.0\include\c++\bits\boost_concept_check.h|210|error: using invalid field '__gnu_cxx::_SGIAssignableConcept<_Tp>::__a'|
c:\programme\codex\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.3.0\include\c++\bits\boost_concept_check.h||In member function 'void __gnu_cxx::_SGIAssignableConcept<_Tp>::__const_constraints(const _Tp&) [with _Tp = ParticleEmitter]':|
c:\programme\codex\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.3.0\include\c++\bits\boost_concept_check.h|210|instantiated from 'void __gnu_cxx::_SGIAssignableConcept<_Tp>::__constraints() [with _Tp = ParticleEmitter]'|
c:\programme\codex\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.3.0\include\c++\bits\stl_list.h|420|instantiated from 'std::list<ParticleEmitter, std::allocator<ParticleEmitter> >'|
C:\Programme\CodeX\TheManaWorld\src\particleemitter.h|128|instantiated from here|
c:\programme\codex\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.3.0\include\c++\bits\boost_concept_check.h|214|error: using invalid field '__gnu_cxx::_SGIAssignableConcept<_Tp>::__a'|
||=== Build finished: 7 errors, 0 warnings ===|
Thanks and see you at the ManaWorld. Shak

Re: need your help for compiling...

Posted: 16 Jul 2008, 07:14
by Crank
Not saying this is a definite fix, but when using code::blocks and you get errors pertaining to mingw, its safe to try this first.

Go here: http://sourceforge.net/project/download ... xe&4360012

Download and install this. Its the new mingw run-time files. Its because you either didn't download the code::blocks with mingw. But even if you did you have to do this, cause its outdated with code::blocks lol.

This is the automated installer so you shouldn't have any problems.

Re: need your help for compiling...

Posted: 16 Jul 2008, 18:00
by Shak
Hi crank,

I allready solved it with a GCC update, so your direction was right ;)

Thanks for your answer and take care. Shak