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


Hi,

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 (https://svn.boost.org/trac/boost/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?

Regards,
Daniele.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net