Salut à tous bon j'ai réussi à compiler codeblock sous xp avec mingw.
j'ai copié les dossiers lib et include de boost dans le dossier de mingw
maintenant je veux utiliser les threads de boost mais systèmatiquement il me dit qu'il ne trouve pas le fichier platform.hpp

j'ai juste fait un include pour le moment
#include <boost/thread/thread.hpp>
et voici toutes les erreur

C:\mingw\include\boost\thread\detail\config.hpp|20|platform.hpp: No such file or directory|
C:\mingw\include\boost\thread\win32\mutex.hpp|8|basic_timed_mutex.hpp: No such file or directory|
C:\mingw\include\boost\detail\sp_counted_base_gcc_x86.hpp|27|sp_typeinfo.hpp: No such file or directory|
C:\mingw\include\boost\detail\sp_counted_base_gcc_x86.hpp|129|error: `get_deleter' declared as a `virtual' field|
C:\mingw\include\boost\detail\sp_counted_base_gcc_x86.hpp|129|error: expected `;' before '(' token|
C:\mingw\include\boost\detail\sp_counted_impl.hpp|81|error: `get_deleter' declared as a `virtual' field|
C:\mingw\include\boost\detail\sp_counted_impl.hpp|81|error: expected `;' before '(' token|
C:\mingw\include\boost\detail\sp_counted_impl.hpp|113|error: expected `;' before '}' token|
C:\mingw\include\boost\detail\sp_counted_impl.hpp|147|error: `get_deleter' declared as a `virtual' field|
C:\mingw\include\boost\detail\sp_counted_impl.hpp|147|error: expected `;' before '(' token|
C:\mingw\include\boost\detail\sp_counted_impl.hpp|179|error: expected `;' before '}' token|
C:\mingw\include\boost\detail\sp_counted_impl.hpp|217|error: `get_deleter' declared as a `virtual' field|
C:\mingw\include\boost\detail\sp_counted_impl.hpp|217|error: expected `;' before '(' token|
C:\mingw\include\boost\detail\sp_counted_impl.hpp|221|error: expected `;' before '}' token|
C:\mingw\include\boost\detail\shared_count.hpp|261|error: expected `;' before '(' token|
C:\mingw\include\boost\detail\shared_count.hpp|265|error: expected `;' before '}' token|
C:\mingw\include\boost\shared_ptr.hpp|457|error: expected `;' before '(' token|
C:\mingw\include\boost\shared_ptr.hpp|467|error: expected `;' before "private"|
C:\mingw\include\boost\shared_ptr.hpp||In function `D* boost::get_deleter(const boost::shared_ptr<U>&)'
C:\mingw\include\boost\shared_ptr.hpp|606|error: expected primary-expression before ')' token|
C:\mingw\include\boost\shared_ptr.hpp|606|error: there are no arguments to `BOOST_SP_TYPEID' that depend on a template parameter, so a declaration of `BOOST_SP_TYPEID' must be available|
C:\mingw\include\boost\shared_ptr.hpp|606|error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)|
C:\mingw\include\boost\thread\win32\mutex.hpp|17|error: expected initializer before "underlying_mutex"|
C:\mingw\include\boost\thread\win32\mutex.hpp|23|error: expected class-name before '{' token|
C:\mingw\include\boost\thread\win32\mutex.hpp||In constructor `boost::mutex::mutex()'
C:\mingw\include\boost\thread\win32\mutex.hpp|27|error: `initialize' was not declared in this scope|
C:\mingw\include\boost\thread\win32\mutex.hpp|27|warning: unused variable 'initialize'|
C:\mingw\include\boost\thread\win32\mutex.hpp||In destructor `boost::mutex::~mutex()'
C:\mingw\include\boost\thread\win32\mutex.hpp|31|error: `destroy' was not declared in this scope|
C:\mingw\include\boost\thread\win32\mutex.hpp|31|warning: unused variable 'destroy'|
C:\mingw\include\boost\thread\win32\mutex.hpp|43|error: expected class-name before '{' token|
C:\mingw\include\boost\thread\win32\mutex.hpp||In constructor `boost::timed_mutex::timed_mutex()'
C:\mingw\include\boost\thread\win32\mutex.hpp|47|error: `initialize' was not declared in this scope|
C:\mingw\include\boost\thread\win32\mutex.hpp|47|warning: unused variable 'initialize'|
C:\mingw\include\boost\thread\win32\mutex.hpp||In destructor `boost::timed_mutex::~timed_mutex()'
C:\mingw\include\boost\thread\win32\mutex.hpp|52|error: `destroy' was not declared in this scope|
C:\mingw\include\boost\thread\win32\mutex.hpp|52|warning: unused variable 'destroy'|
C:\mingw\include\boost\thread\win32\thread.hpp|15|thread_primitives.hpp: No such file or directory|
C:\mingw\include\boost\thread\win32\thread.hpp|16|thread_heap_alloc.hpp: No such file or directory|
C:\mingw\include\boost\thread\win32\thread.hpp|44|error: `boost::detail::win32' has not been declared|
C:\mingw\include\boost\thread\win32\thread.hpp|44|error: ISO C++ forbids declaration of `handle_manager' with no type|
C:\mingw\include\boost\thread\win32\thread.hpp|44|error: expected `;' before "thread_handle"|
C:\mingw\include\boost\thread\win32\thread.hpp|45|error: `boost::detail::win32' has not been declared|
C:\mingw\include\boost\thread\win32\thread.hpp|45|error: ISO C++ forbids declaration of `handle_manager' with no type|
C:\mingw\include\boost\thread\win32\thread.hpp|45|error: expected `;' before "interruption_handle"|
C:\mingw\include\boost\thread\win32\thread.hpp||In constructor `boost::detail::thread_data_base::thread_data_base()'
C:\mingw\include\boost\thread\win32\thread.hpp|52|error: class `boost::detail::thread_data_base' does not have any field named `thread_handle'|
C:\mingw\include\boost\thread\win32\thread.hpp|52|error: `boost::detail::win32' has not been declared|
C:\mingw\include\boost\thread\win32\thread.hpp|52|error: `invalid_handle_value' was not declared in this scope|
C:\mingw\include\boost\thread\win32\thread.hpp|53|error: class `boost::detail::thread_data_base' does not have any field named `interruption_handle'|
C:\mingw\include\boost\thread\win32\thread.hpp|53|error: `boost::detail::win32' has not been declared|
C:\mingw\include\boost\thread\win32\thread.hpp|53|error: `manual_reset_event' was not declared in this scope|
C:\mingw\include\boost\thread\win32\thread.hpp|53|error: `boost::detail::win32' has not been declared|
C:\mingw\include\boost\thread\win32\thread.hpp|53|error: `event_initially_reset' was not declared in this scope|
C:\mingw\include\boost\thread\win32\thread.hpp|53|error: `create_anonymous_event' was not declared in this scope|
C:\mingw\include\boost\thread\win32\thread.hpp|52|warning: unused variable 'invalid_handle_value'|
C:\mingw\include\boost\thread\win32\thread.hpp|53|warning: unused variable 'manual_reset_event'|
C:\mingw\include\boost\thread\win32\thread.hpp|53|warning: unused variable 'event_initially_reset'|
C:\mingw\include\boost\thread\win32\thread.hpp|53|warning: unused variable 'create_anonymous_event'|
C:\mingw\include\boost\thread\win32\thread.hpp||In function `void boost::detail::intrusive_ptr_add_ref(boost::detail::thread_data_base*)'
C:\mingw\include\boost\thread\win32\thread.hpp|63|error: `BOOST_INTERLOCKED_INCREMENT' was not declared in this scope|
C:\mingw\include\boost\thread\win32\thread.hpp|63|warning: unused variable 'BOOST_INTERLOCKED_INCREMENT'|
C:\mingw\include\boost\thread\win32\thread.hpp||In function `void boost::detail::intrusive_ptr_release(boost::detail::thread_data_base*)'
C:\mingw\include\boost\thread\win32\thread.hpp|68|error: `BOOST_INTERLOCKED_DECREMENT' was not declared in this scope|
C:\mingw\include\boost\thread\win32\thread.hpp|70|error: `heap_delete' is not a member of `boost::detail'|
C:\mingw\include\boost\thread\win32\thread.hpp|68|warning: unused variable 'BOOST_INTERLOCKED_DECREMENT'|
C:\mingw\include\boost\thread\win32\thread.hpp||In member function `void boost::detail::thread_data_base::interrupt()'
C:\mingw\include\boost\thread\win32\thread.hpp|76|error: `boost::detail::win32' has not been declared|
C:\mingw\include\boost\thread\win32\thread.hpp|76|error: `interruption_handle' was not declared in this scope|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 10 warnings ===|

Merci a +