boost mutex C++/CLI problems

后端 未结 3 841
遇见更好的自我
遇见更好的自我 2020-12-10 04:45

I\'m developing in Visual Studio 2008 C# for 64bit and I want to use to use a library which uses boost. So I wrote a wrapper in C++/CLI. I managed to target the error I get

3条回答
  •  情书的邮戳
    2020-12-10 04:51

    As the other answer says, boost's pragmas in tss_pe.cpp are incompatible with the CLR. A simple modification to that file fixes the issue though and will permit static linkage. My modified version for Boost 1.44 is here (diff versus this for changes made).

提交回复
热议问题