Home > Software engineering >  Using boost thread compiler error. Bosses consult!
Using boost thread compiler error. Bosses consult!

Time:09-18

1> -- -- -- -- -- - has started to generate: project: ThreadDlg, configuration: Debug Win32 -- -- -- -- -- --
1> C: \ Program Files \ Microsoft Visual Studio (x86) \ 2017 \ \ Enterprise Common7 \ VC IDE \ \ VCTargets \ Microsoft CppBuild. The targets (376, 5) : warning MSB8004: Intermediate directory to slash the end, this will add an instance slash, because must have the slash to correctly calculate Intermediate directory,
1> C: \ Program Files \ Microsoft Visual Studio (x86) \ 2017 \ \ Enterprise Common7 \ VC IDE \ \ VCTargets \ Microsoft CppBuild. The targets (377, 5) : warning MSB8004: the Output directory to slash the end, this will add an instance slash, because must have the slash to correctly calculate the Output directory,
1> Stdafx. CPP
1> ThreadDlg. CPP
1> D:/dev/boost _70 \ boost \ \ include \ boost - 1 thread \ win32 \ thread_heap_alloc HPP (79) : error C2061: syntax errors: identifier "heap_memory
"1> D:/dev/boost _70 \ boost \ \ include \ boost - 1 thread \ detail \ thread HPP (222) : note: see a function template instantiation of are compiling "T * boost: : detail: : heap_new & lt; Boost: : detail: : thread_data & lt; Void (__cdecl *) (void) & gt; The void (__cdecl *) (void) & gt; (A1 & amp; & amp;) "A reference to the
1> With
1>
1> T=boost: : detail: : thread_data & lt; Void (__cdecl *) (void) & gt; ,
1> A1=void (__cdecl *) (void)
1> ]
1> D:/dev/boost _70 \ \ include \ boost - 1 boost \ bind \ placeholders HPP (54) : note: see class template instantiation of are compiling "boost: : arg<9 & gt;" A reference to the
1> D:/dev/boost _70 \ \ include \ boost - 1 boost \ bind \ placeholders HPP (53) : note: see class template instantiation of are compiling "boost: : arg<8 & gt;" A reference to the
1> D:/dev/boost _70 \ \ include \ boost - 1 boost \ bind \ placeholders HPP (52) : note: see class template instantiation of are compiling "boost: : arg<7 & gt;" A reference to the
1> D:/dev/boost _70 \ \ include \ boost - 1 boost \ bind \ placeholders HPP (51) : note: see class template instantiation of are compiling "boost: : arg<6 & gt;" A reference to the
1> D:/dev/boost _70 \ \ include \ boost - 1 boost \ bind \ placeholders HPP (50) : note: see class template instantiation of are compiling "boost: : arg<5 & gt;" A reference to the
1> D:/dev/boost _70 \ \ include \ boost - 1 boost \ bind \ placeholders HPP (49) : note: see class template instantiation of are compiling "boost: : arg<4 & gt;" A reference to the
1> D:/dev/boost _70 \ \ include \ boost - 1 boost \ bind \ placeholders HPP (48) : note: see class template instantiation of are compiling "boost: : arg<3 & gt;" A reference to the
1> D:/dev/boost _70 \ \ include \ boost - 1 boost \ bind \ placeholders HPP (47) : note: see class template instantiation of are compiling "boost: : arg<2 & gt;" A reference to the
1> D:/dev/boost _70 \ \ include \ boost - 1 boost \ bind \ placeholders HPP (46) : note: see class template instantiation of are compiling "boost: : arg<1 & gt;" A reference to the
1> D:/dev/boost _70 \ boost \ \ include \ boost - 1 thread \ win32 \ thread_heap_alloc HPP (79) : error C2789: "data" : you must initialize the constant limit object of type
1> D:/dev/boost _70 \ boost \ \ include \ boost - 1 thread \ win32 \ thread_heap_alloc HPP (79) : note: see "data" statement
1> ThreadDlgDlg. CPP
1> Being generated code...
1> Generating project has been completed "ThreadDlg vcxproj" operations - failure,
==========: zero success, failure, latest 0, 0 skip==========

CodePudding user response:

Release compilation can
The debug compilation is the wrong,

CodePudding user response:

https://blog.csdn.net/qq_16597625/article/details/80279250
https://blog.csdn.net/educast/article/details/11768887
  • Related