Boost logo

Boost Users :

Subject: [Boost-users] [Thread] unresolved typeref token for 'boost.detail.win32._SECURITY_ATTRIBUTES' using /clr
From: Daniele Barzotti (daniele.barzotti_at_[hidden])
Date: 2011-06-08 05:55:21


I try to build my C++ library with the /clr option to make it visible to
managed world.

I get a linker error:

warning LNK4248: unresolved typeref token (01000027) for
'boost.detail.win32._SECURITY_ATTRIBUTES'; image may not run

I found the ticket#2226 (
which say that 'Boost thread does not work with managed C++ when
statically linked.'

How can I solve this issue? I need to link it dynamically?


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at