|
楼主 |
发表于 2012-10-11 12:06:58
|
显示全部楼层
Determining if files pthread.h exist failed with the following output:
Change Dir: C:/OSG/OpenSceneGraph/build/CMakeFiles/CMakeTmp
Run Build Command:C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe cmTryCompileExec.vcxproj /p:Configuration=Debug
Microsoft(R) 生成引擎版本 4.0.30319.1
[Microsoft .NET Framework 版本 4.0.30319.1]
版权所有(C) Microsoft Corporation 2007。保留所有权利。
生成启动时间为 2012/10/11 11:17:10。
节点 1 上的项目“C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj”(默认目标)。
InitializeBuildStatus:
正在创建“cmTryCompileExec.dir\Debug\cmTryCompileExec.unsuccessfulbuild”,因为已指定“AlwaysCreate”。
ClCompile:
C:\Windows\system32\CL.exe /c /Zi /nologo /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec.dir\Debug\\" /Fd"C:/OSG/OpenSceneGraph/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.pdb" /Gd /TC /analyze- /errorReport:queue CheckIncludeFiles.c /Zm1000
CheckIncludeFiles.c
CheckIncludeFiles.c(2): fatal error C1083: 无法打开包括文件:“pthread.h”: No such file or directory [C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
已完成生成项目“C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj”(默认目标)的操作 - 失败。
生成失败。
“C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj”(默认目标) (1) ->
(ClCompile 目标) ->
CheckIncludeFiles.c(2): fatal error C1083: 无法打开包括文件:“pthread.h”: No such file or directory [C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
0 个警告
1 个错误
已用时间 00:00:00.38
Source:
/* */
#include <pthread.h>
int main(){return 0;}
Performing C++ SOURCE FILE Test _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS failed with the following output:
Change Dir: C:/OSG/OpenSceneGraph/build/CMakeFiles/CMakeTmp
Run Build Command:C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe cmTryCompileExec.vcxproj /p:Configuration=Debug
Microsoft(R) 生成引擎版本 4.0.30319.1
[Microsoft .NET Framework 版本 4.0.30319.1]
版权所有(C) Microsoft Corporation 2007。保留所有权利。
生成启动时间为 2012/10/11 11:17:14。
节点 1 上的项目“C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj”(默认目标)。
InitializeBuildStatus:
正在创建“cmTryCompileExec.dir\Debug\cmTryCompileExec.unsuccessfulbuild”,因为已指定“AlwaysCreate”。
ClCompile:
C:\Windows\system32\CL.exe /c /Zi /nologo /W4 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"cmTryCompileExec.dir\Debug\\" /Fd"C:/OSG/OpenSceneGraph/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.pdb" /Gd /TP /wd4706 /wd4127 /wd4100 /analyze- /errorReport:queue src.cxx /Zm1000
src.cxx
src.cxx(8): error C3861: “__sync_add_and_fetch”: 找不到标识符 [C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
src.cxx(9): error C3861: “__sync_synchronize”: 找不到标识符 [C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
src.cxx(10): error C3861: “__sync_sub_and_fetch”: 找不到标识符 [C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
src.cxx(11): error C3861: “__sync_bool_compare_and_swap”: 找不到标识符 [C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
src.cxx(14): error C3861: “__sync_bool_compare_and_swap”: 找不到标识符 [C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
已完成生成项目“C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj”(默认目标)的操作 - 失败。
生成失败。
“C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj”(默认目标) (1) ->
(ClCompile 目标) ->
src.cxx(8): error C3861: “__sync_add_and_fetch”: 找不到标识符 [C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
src.cxx(9): error C3861: “__sync_synchronize”: 找不到标识符 [C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
src.cxx(10): error C3861: “__sync_sub_and_fetch”: 找不到标识符 [C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
src.cxx(11): error C3861: “__sync_bool_compare_and_swap”: 找不到标识符 [C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
src.cxx(14): error C3861: “__sync_bool_compare_and_swap”: 找不到标识符 [C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
0 个警告
5 个错误
已用时间 00:00:00.58
Return value: 1
Source file was:
#include <cstdlib>
int main()
{
unsigned value = 0;
void* ptr = &value;
__sync_add_and_fetch(&value, 1);
__sync_synchronize();
__sync_sub_and_fetch(&value, 1);
if (!__sync_bool_compare_and_swap(&value, 0, 1))
return EXIT_FAILURE;
if (!__sync_bool_compare_and_swap(&ptr, ptr, ptr))
return EXIT_FAILURE;
return EXIT_SUCCESS;
}
Performing C++ SOURCE FILE Test _OPENTHREADS_ATOMIC_USE_MIPOSPRO_BUILTINS failed with the following output:
Change Dir: C:/OSG/OpenSceneGraph/build/CMakeFiles/CMakeTmp
Run Build Command:C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe cmTryCompileExec.vcxproj /p:Configuration=Debug
Microsoft(R) 生成引擎版本 4.0.30319.1
[Microsoft .NET Framework 版本 4.0.30319.1]
版权所有(C) Microsoft Corporation 2007。保留所有权利。
生成启动时间为 2012/10/11 11:17:15。
节点 1 上的项目“C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj”(默认目标)。
InitializeBuildStatus:
正在创建“cmTryCompileExec.dir\Debug\cmTryCompileExec.unsuccessfulbuild”,因为已指定“AlwaysCreate”。
ClCompile:
C:\Windows\system32\CL.exe /c /Zi /nologo /W4 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _OPENTHREADS_ATOMIC_USE_MIPOSPRO_BUILTINS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"cmTryCompileExec.dir\Debug\\" /Fd"C:/OSG/OpenSceneGraph/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.pdb" /Gd /TP /wd4706 /wd4127 /wd4100 /analyze- /errorReport:queue src.cxx /Zm1000
src.cxx
src.cxx(8): error C3861: “__add_and_fetch”: 找不到标识符 [C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
src.cxx(9): error C3861: “__synchronize”: 找不到标识符 [C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
src.cxx(10): error C3861: “__sub_and_fetch”: 找不到标识符 [C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
src.cxx(11): error C3861: “__compare_and_swap”: 找不到标识符 [C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
src.cxx(14): error C3861: “__compare_and_swap”: 找不到标识符 [C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
已完成生成项目“C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj”(默认目标)的操作 - 失败。
生成失败。
“C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj”(默认目标) (1) ->
(ClCompile 目标) ->
src.cxx(8): error C3861: “__add_and_fetch”: 找不到标识符 [C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
src.cxx(9): error C3861: “__synchronize”: 找不到标识符 [C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
src.cxx(10): error C3861: “__sub_and_fetch”: 找不到标识符 [C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
src.cxx(11): error C3861: “__compare_and_swap”: 找不到标识符 [C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
src.cxx(14): error C3861: “__compare_and_swap”: 找不到标识符 [C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
0 个警告
5 个错误
已用时间 00:00:00.31
Return value: 1
Source file was:
#include <stdlib.h>
int main(int, const char**)
{
unsigned value = 0;
void* ptr = &value;
__add_and_fetch(&value, 1);
__synchronize(value);
__sub_and_fetch(&value, 1);
if (!__compare_and_swap(&value, 0, 1))
return EXIT_FAILURE;
if (!__compare_and_swap((unsigned long*)&ptr, (unsigned long)ptr, (unsigned long)ptr))
return EXIT_FAILURE;
return EXIT_SUCCESS;
}
Performing C++ SOURCE FILE Test _OPENTHREADS_ATOMIC_USE_SUN failed with the following output:
Change Dir: C:/OSG/OpenSceneGraph/build/CMakeFiles/CMakeTmp
Run Build Command:C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe cmTryCompileExec.vcxproj /p:Configuration=Debug
Microsoft(R) 生成引擎版本 4.0.30319.1
[Microsoft .NET Framework 版本 4.0.30319.1]
版权所有(C) Microsoft Corporation 2007。保留所有权利。
生成启动时间为 2012/10/11 11:17:15。
节点 1 上的项目“C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj”(默认目标)。
InitializeBuildStatus:
正在创建“cmTryCompileExec.dir\Debug\cmTryCompileExec.unsuccessfulbuild”,因为已指定“AlwaysCreate”。
ClCompile:
C:\Windows\system32\CL.exe /c /Zi /nologo /W4 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _OPENTHREADS_ATOMIC_USE_SUN /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"cmTryCompileExec.dir\Debug\\" /Fd"C:/OSG/OpenSceneGraph/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.pdb" /Gd /TP /wd4706 /wd4127 /wd4100 /analyze- /errorReport:queue src.cxx /Zm1000
src.cxx
src.cxx(2): fatal error C1083: 无法打开包括文件:“atomic.h”: No such file or directory [C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
已完成生成项目“C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj”(默认目标)的操作 - 失败。
生成失败。
“C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj”(默认目标) (1) ->
(ClCompile 目标) ->
src.cxx(2): fatal error C1083: 无法打开包括文件:“atomic.h”: No such file or directory [C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
0 个警告
1 个错误
已用时间 00:00:00.32
Return value: 1
Source file was:
#include <atomic.h>
#include <cstdlib>
int main(int, const char**)
{
uint_t value = 0;
void* ptr = &value;
atomic_inc_uint_nv(&value);
membar_consumer();
atomic_dec_uint_nv(&value);
if (0 != atomic_cas_uint(&value, 0, 1))
return EXIT_FAILURE;
if (ptr != atomic_cas_ptr(&ptr, ptr, ptr))
return EXIT_FAILURE;
return EXIT_SUCCESS;
}
Performing C++ SOURCE FILE Test _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC failed with the following output:
Change Dir: C:/OSG/OpenSceneGraph/build/CMakeFiles/CMakeTmp
Run Build Command:C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe cmTryCompileExec.vcxproj /p:Configuration=Debug
Microsoft(R) 生成引擎版本 4.0.30319.1
[Microsoft .NET Framework 版本 4.0.30319.1]
版权所有(C) Microsoft Corporation 2007。保留所有权利。
生成启动时间为 2012/10/11 11:17:19。
节点 1 上的项目“C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj”(默认目标)。
InitializeBuildStatus:
正在创建“cmTryCompileExec.dir\Debug\cmTryCompileExec.unsuccessfulbuild”,因为已指定“AlwaysCreate”。
ClCompile:
C:\Windows\system32\CL.exe /c /Zi /nologo /W4 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"cmTryCompileExec.dir\Debug\\" /Fd"C:/OSG/OpenSceneGraph/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.pdb" /Gd /TP /wd4706 /wd4127 /wd4100 /analyze- /errorReport:queue src.cxx /Zm1000
src.cxx
src.cxx(2): fatal error C1083: 无法打开包括文件:“libkern/OSAtomic.h”: No such file or directory [C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
已完成生成项目“C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj”(默认目标)的操作 - 失败。
生成失败。
“C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj”(默认目标) (1) ->
(ClCompile 目标) ->
src.cxx(2): fatal error C1083: 无法打开包括文件:“libkern/OSAtomic.h”: No such file or directory [C:\OSG\OpenSceneGraph\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
0 个警告
1 个错误
已用时间 00:00:00.31
Return value: 1
Source file was:
#include <libkern/OSAtomic.h>
int main()
{
volatile int32_t value = 0;
long data = 0;
long * volatile ptr = &data;
OSAtomicIncrement32(&value);
OSMemoryBarrier();
OSAtomicDecrement32(&value);
OSAtomicCompareAndSwapInt(value, 1, &value);
OSAtomicCompareAndSwapPtr(ptr, ptr, (void * volatile *)&ptr);
}
|
|