[Solved] Problem building with CMake

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

Walta69
Not too shy to talk
Not too shy to talk
Posts: 31
Joined: Wed Jun 25, 2014 08:40

Re: Problem building with CMake

Postby Walta69 » Wed Jun 25, 2014 14:19

Here is the log:

Code: Select all

The system is: Windows - 6.2 - AMD64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: 
Build flags: ;/DWIN32;/D_WINDOWS;/W3
Id flags:

The output was:
0
Microsoft (R) Build Engine version 4.0.30319.33440
[Microsoft .NET Framework, version 4.0.30319.34014]
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 2014-06-25 01:55:05 PM.
Project "C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\2.8.12.2\CompilerIdC\CompilerIdC.vcxproj" on node 1 (default targets).
PrepareForBuild:
  Creating directory "Debug\".
InitializeBuildStatus:
  Creating "Debug\CompilerIdC.unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  E:\Program Files(x86)\Visual Studio 2010\VC\bin\CL.exe /c /nologo /W0 /WX- /Od /Oy- /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Debug\\" /Fd"Debug\vc100.pdb" /Gd /TC /analyze- /errorReport:queue CMakeCCompilerId.c
  CMakeCCompilerId.c
Link:
  E:\Program Files(x86)\Visual Studio 2010\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdC.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /ManifestFile:"Debug\CompilerIdC.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /PDB:"C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\2.8.12.2\CompilerIdC\CompilerIdC.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdC.lib" /MACHINE:X86 Debug\CMakeCCompilerId.obj
  CompilerIdC.vcxproj -> C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\2.8.12.2\CompilerIdC\.\CompilerIdC.exe
Manifest:
  C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\mt.exe /nologo /verbose /outputresource:".\CompilerIdC.exe;#1" /manifest Debug\CompilerIdC.exe.intermediate.manifest
PostBuildEvent:
  for %%i in (cl.exe) do @echo CMAKE_C_COMPILER=%%~$PATH:i
  :VCEnd
  CMAKE_C_COMPILER=E:\Program Files(x86)\Visual Studio 2010\VC\bin\cl.exe
FinalizeBuildStatus:
  Deleting file "Debug\CompilerIdC.unsuccessfulbuild".
  Touching "Debug\CompilerIdC.lastbuildstate".
Done Building Project "C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\2.8.12.2\CompilerIdC\CompilerIdC.vcxproj" (default targets).

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:00.23


Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.exe"

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.vcxproj"

The C compiler identification is MSVC, found in "C:/Users/Michael/Downloads/cegui-0.8.3/build/CMakeFiles/2.8.12.2/CompilerIdC/CompilerIdC.exe"

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: 
Build flags: ;/DWIN32;/D_WINDOWS;/W3;/GR;/EHsc
Id flags:

The output was:
0
Microsoft (R) Build Engine version 4.0.30319.33440
[Microsoft .NET Framework, version 4.0.30319.34014]
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 2014-06-25 01:55:05 PM.
Project "C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\2.8.12.2\CompilerIdCXX\CompilerIdCXX.vcxproj" on node 1 (default targets).
PrepareForBuild:
  Creating directory "Debug\".
InitializeBuildStatus:
  Creating "Debug\CompilerIdCXX.unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  E:\Program Files(x86)\Visual Studio 2010\VC\bin\CL.exe /c /nologo /W0 /WX- /Od /Oy- /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Debug\\" /Fd"Debug\vc100.pdb" /Gd /TP /analyze- /errorReport:queue CMakeCXXCompilerId.cpp
  CMakeCXXCompilerId.cpp
Link:
  E:\Program Files(x86)\Visual Studio 2010\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdCXX.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /ManifestFile:"Debug\CompilerIdCXX.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /PDB:"C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\2.8.12.2\CompilerIdCXX\CompilerIdCXX.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdCXX.lib" /MACHINE:X86 Debug\CMakeCXXCompilerId.obj
  CompilerIdCXX.vcxproj -> C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\2.8.12.2\CompilerIdCXX\.\CompilerIdCXX.exe
Manifest:
  C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\mt.exe /nologo /verbose /outputresource:".\CompilerIdCXX.exe;#1" /manifest Debug\CompilerIdCXX.exe.intermediate.manifest
PostBuildEvent:
  for %%i in (cl.exe) do @echo CMAKE_CXX_COMPILER=%%~$PATH:i
  :VCEnd
  CMAKE_CXX_COMPILER=E:\Program Files(x86)\Visual Studio 2010\VC\bin\cl.exe
FinalizeBuildStatus:
  Deleting file "Debug\CompilerIdCXX.unsuccessfulbuild".
  Touching "Debug\CompilerIdCXX.lastbuildstate".
Done Building Project "C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\2.8.12.2\CompilerIdCXX\CompilerIdCXX.vcxproj" (default targets).

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:00.23


Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.exe"

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.vcxproj"

The CXX compiler identification is MSVC, found in "C:/Users/Michael/Downloads/cegui-0.8.3/build/CMakeFiles/2.8.12.2/CompilerIdCXX/CompilerIdCXX.exe"

Determining if the C compiler works passed with the following output:
Change Dir: C:/Users/Michael/Downloads/cegui-0.8.3/build/CMakeFiles/CMakeTmp

Run Build Command:C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe cmTryCompileExec3807782403.vcxproj /p:Configuration=Debug /p:VisualStudioVersion=10.0
Microsoft (R) Build Engine version 4.0.30319.33440

[Microsoft .NET Framework, version 4.0.30319.34014]

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 2014-06-25 01:55:05 PM.

Project "C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\CMakeTmp\cmTryCompileExec3807782403.vcxproj" on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTryCompileExec3807782403.dir\Debug\".

  Creating directory "C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\CMakeTmp\Debug\".

InitializeBuildStatus:

  Creating "cmTryCompileExec3807782403.dir\Debug\cmTryCompileExec3807782403.unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

  E:\Program Files(x86)\Visual Studio 2010\VC\bin\CL.exe /c /Zi /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"cmTryCompileExec3807782403.dir\Debug\\" /Fd"cmTryCompileExec3807782403.dir\Debug\vc100.pdb" /Gd /TC /analyze- /errorReport:queue testCCompiler.c

  Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /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"cmTryCompileExec3807782403.dir\Debug\\" /Fd"cmTryCompileExec3807782403.dir\Debug\vc100.pdb" /Gd /TC /analyze- /errorReport:queue testCCompiler.c

 

  testCCompiler.c

ManifestResourceCompile:

  C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\rc.exe /nologo /fo"cmTryCompileExec3807782403.dir\Debug\cmTryCompileExec3807782403.exe.embed.manifest.res" cmTryCompileExec3807782403.dir\Debug\cmTryCompileExec3807782403_manifest.rc

Link:

  E:\Program Files(x86)\Visual Studio 2010\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec3807782403.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /ManifestFile:"cmTryCompileExec3807782403.dir\Debug\cmTryCompileExec3807782403.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:/Users/Michael/Downloads/cegui-0.8.3/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec3807782403.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/Michael/Downloads/cegui-0.8.3/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec3807782403.lib" /MACHINE:X86 cmTryCompileExec3807782403.dir\Debug\cmTryCompileExec3807782403.exe.embed.manifest.res

  cmTryCompileExec3807782403.dir\Debug\testCCompiler.obj  /machine:X86 /debug

Manifest:

  C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\mt.exe /nologo /verbose /out:"cmTryCompileExec3807782403.dir\Debug\cmTryCompileExec3807782403.exe.embed.manifest" /manifest cmTryCompileExec3807782403.dir\Debug\cmTryCompileExec3807782403.exe.intermediate.manifest

  C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\rc.exe /nologo /fo"cmTryCompileExec3807782403.dir\Debug\cmTryCompileExec3807782403.exe.embed.manifest.res" cmTryCompileExec3807782403.dir\Debug\cmTryCompileExec3807782403_manifest.rc

LinkEmbedManifest:

  E:\Program Files(x86)\Visual Studio 2010\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec3807782403.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /ManifestFile:"cmTryCompileExec3807782403.dir\Debug\cmTryCompileExec3807782403.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:/Users/Michael/Downloads/cegui-0.8.3/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec3807782403.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/Michael/Downloads/cegui-0.8.3/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec3807782403.lib" /MACHINE:X86 cmTryCompileExec3807782403.dir\Debug\cmTryCompileExec3807782403.exe.embed.manifest.res

  cmTryCompileExec3807782403.dir\Debug\testCCompiler.obj  /machine:X86 /debug

  cmTryCompileExec3807782403.vcxproj -> C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec3807782403.exe

FinalizeBuildStatus:

  Deleting file "cmTryCompileExec3807782403.dir\Debug\cmTryCompileExec3807782403.unsuccessfulbuild".

  Touching "cmTryCompileExec3807782403.dir\Debug\cmTryCompileExec3807782403.lastbuildstate".

Done Building Project "C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\CMakeTmp\cmTryCompileExec3807782403.vcxproj" (default targets).



Build succeeded.

    0 Warning(s)

    0 Error(s)



Time Elapsed 00:00:00.55



Detecting C compiler ABI info compiled with the following output:
Change Dir: C:/Users/Michael/Downloads/cegui-0.8.3/build/CMakeFiles/CMakeTmp

Run Build Command:C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe cmTryCompileExec2028954750.vcxproj /p:Configuration=Debug /p:VisualStudioVersion=10.0
Microsoft (R) Build Engine version 4.0.30319.33440

[Microsoft .NET Framework, version 4.0.30319.34014]

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 2014-06-25 01:55:06 PM.

Project "C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\CMakeTmp\cmTryCompileExec2028954750.vcxproj" on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTryCompileExec2028954750.dir\Debug\".

  Creating directory "C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\CMakeTmp\Debug\".

InitializeBuildStatus:

  Creating "cmTryCompileExec2028954750.dir\Debug\cmTryCompileExec2028954750.unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

  E:\Program Files(x86)\Visual Studio 2010\VC\bin\CL.exe /c /Zi /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"cmTryCompileExec2028954750.dir\Debug\\" /Fd"cmTryCompileExec2028954750.dir\Debug\vc100.pdb" /Gd /TC /analyze- /errorReport:queue "..\..\..\..\cmake-2.8.12.2-win32-x86\share\cmake-2.8\Modules\CMakeCCompilerABI.c"

  Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /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"cmTryCompileExec2028954750.dir\Debug\\" /Fd"cmTryCompileExec2028954750.dir\Debug\vc100.pdb" /Gd /TC /analyze- /errorReport:queue "..\..\..\..\cmake-2.8.12.2-win32-x86\share\cmake-2.8\Modules\CMakeCCompilerABI.c"

 

  CMakeCCompilerABI.c

ManifestResourceCompile:

  C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\rc.exe /nologo /fo"cmTryCompileExec2028954750.dir\Debug\cmTryCompileExec2028954750.exe.embed.manifest.res" cmTryCompileExec2028954750.dir\Debug\cmTryCompileExec2028954750_manifest.rc

Link:

  E:\Program Files(x86)\Visual Studio 2010\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec2028954750.exe" /INCREMENTAL /NOLOGO /MANIFEST /ManifestFile:"cmTryCompileExec2028954750.dir\Debug\cmTryCompileExec2028954750.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:/Users/Michael/Downloads/cegui-0.8.3/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec2028954750.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/Michael/Downloads/cegui-0.8.3/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec2028954750.lib" /MACHINE:X86 cmTryCompileExec2028954750.dir\Debug\cmTryCompileExec2028954750.exe.embed.manifest.res

  cmTryCompileExec2028954750.dir\Debug\CMakeCCompilerABI.obj  /machine:X86 /debug

Manifest:

  C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\mt.exe /nologo /verbose /out:"cmTryCompileExec2028954750.dir\Debug\cmTryCompileExec2028954750.exe.embed.manifest" /manifest cmTryCompileExec2028954750.dir\Debug\cmTryCompileExec2028954750.exe.intermediate.manifest

  C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\rc.exe /nologo /fo"cmTryCompileExec2028954750.dir\Debug\cmTryCompileExec2028954750.exe.embed.manifest.res" cmTryCompileExec2028954750.dir\Debug\cmTryCompileExec2028954750_manifest.rc

LinkEmbedManifest:

  E:\Program Files(x86)\Visual Studio 2010\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec2028954750.exe" /INCREMENTAL /NOLOGO /MANIFEST /ManifestFile:"cmTryCompileExec2028954750.dir\Debug\cmTryCompileExec2028954750.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:/Users/Michael/Downloads/cegui-0.8.3/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec2028954750.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/Michael/Downloads/cegui-0.8.3/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec2028954750.lib" /MACHINE:X86 cmTryCompileExec2028954750.dir\Debug\cmTryCompileExec2028954750.exe.embed.manifest.res

  cmTryCompileExec2028954750.dir\Debug\CMakeCCompilerABI.obj  /machine:X86 /debug

  cmTryCompileExec2028954750.vcxproj -> C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec2028954750.exe

FinalizeBuildStatus:

  Deleting file "cmTryCompileExec2028954750.dir\Debug\cmTryCompileExec2028954750.unsuccessfulbuild".

  Touching "cmTryCompileExec2028954750.dir\Debug\cmTryCompileExec2028954750.lastbuildstate".

Done Building Project "C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\CMakeTmp\cmTryCompileExec2028954750.vcxproj" (default targets).



Build succeeded.

    0 Warning(s)

    0 Error(s)



Time Elapsed 00:00:00.50



Determining if the CXX compiler works passed with the following output:
Change Dir: C:/Users/Michael/Downloads/cegui-0.8.3/build/CMakeFiles/CMakeTmp

Run Build Command:C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe cmTryCompileExec4289479188.vcxproj /p:Configuration=Debug /p:VisualStudioVersion=10.0
Microsoft (R) Build Engine version 4.0.30319.33440

[Microsoft .NET Framework, version 4.0.30319.34014]

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 2014-06-25 01:55:07 PM.

Project "C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\CMakeTmp\cmTryCompileExec4289479188.vcxproj" on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTryCompileExec4289479188.dir\Debug\".

  Creating directory "C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\CMakeTmp\Debug\".

InitializeBuildStatus:

  Creating "cmTryCompileExec4289479188.dir\Debug\cmTryCompileExec4289479188.unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

  E:\Program Files(x86)\Visual Studio 2010\VC\bin\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"cmTryCompileExec4289479188.dir\Debug\\" /Fd"cmTryCompileExec4289479188.dir\Debug\vc100.pdb" /Gd /TP /analyze- /errorReport:queue testCXXCompiler.cxx

  Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"cmTryCompileExec4289479188.dir\Debug\\" /Fd"cmTryCompileExec4289479188.dir\Debug\vc100.pdb" /Gd /TP /analyze- /errorReport:queue testCXXCompiler.cxx

 

  testCXXCompiler.cxx

ManifestResourceCompile:

  C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\rc.exe /nologo /fo"cmTryCompileExec4289479188.dir\Debug\cmTryCompileExec4289479188.exe.embed.manifest.res" cmTryCompileExec4289479188.dir\Debug\cmTryCompileExec4289479188_manifest.rc

Link:

  E:\Program Files(x86)\Visual Studio 2010\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec4289479188.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /ManifestFile:"cmTryCompileExec4289479188.dir\Debug\cmTryCompileExec4289479188.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:/Users/Michael/Downloads/cegui-0.8.3/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec4289479188.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/Michael/Downloads/cegui-0.8.3/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec4289479188.lib" /MACHINE:X86 cmTryCompileExec4289479188.dir\Debug\cmTryCompileExec4289479188.exe.embed.manifest.res

  cmTryCompileExec4289479188.dir\Debug\testCXXCompiler.obj  /machine:X86 /debug

Manifest:

  C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\mt.exe /nologo /verbose /out:"cmTryCompileExec4289479188.dir\Debug\cmTryCompileExec4289479188.exe.embed.manifest" /manifest cmTryCompileExec4289479188.dir\Debug\cmTryCompileExec4289479188.exe.intermediate.manifest

  C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\rc.exe /nologo /fo"cmTryCompileExec4289479188.dir\Debug\cmTryCompileExec4289479188.exe.embed.manifest.res" cmTryCompileExec4289479188.dir\Debug\cmTryCompileExec4289479188_manifest.rc

LinkEmbedManifest:

  E:\Program Files(x86)\Visual Studio 2010\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec4289479188.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /ManifestFile:"cmTryCompileExec4289479188.dir\Debug\cmTryCompileExec4289479188.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:/Users/Michael/Downloads/cegui-0.8.3/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec4289479188.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/Michael/Downloads/cegui-0.8.3/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec4289479188.lib" /MACHINE:X86 cmTryCompileExec4289479188.dir\Debug\cmTryCompileExec4289479188.exe.embed.manifest.res

  cmTryCompileExec4289479188.dir\Debug\testCXXCompiler.obj  /machine:X86 /debug

  cmTryCompileExec4289479188.vcxproj -> C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec4289479188.exe

FinalizeBuildStatus:

  Deleting file "cmTryCompileExec4289479188.dir\Debug\cmTryCompileExec4289479188.unsuccessfulbuild".

  Touching "cmTryCompileExec4289479188.dir\Debug\cmTryCompileExec4289479188.lastbuildstate".

Done Building Project "C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\CMakeTmp\cmTryCompileExec4289479188.vcxproj" (default targets).



Build succeeded.

    0 Warning(s)

    0 Error(s)



Time Elapsed 00:00:00.55



Detecting CXX compiler ABI info compiled with the following output:
Change Dir: C:/Users/Michael/Downloads/cegui-0.8.3/build/CMakeFiles/CMakeTmp

Run Build Command:C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe cmTryCompileExec1988369096.vcxproj /p:Configuration=Debug /p:VisualStudioVersion=10.0
Microsoft (R) Build Engine version 4.0.30319.33440

[Microsoft .NET Framework, version 4.0.30319.34014]

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 2014-06-25 01:55:07 PM.

Project "C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\CMakeTmp\cmTryCompileExec1988369096.vcxproj" on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTryCompileExec1988369096.dir\Debug\".

  Creating directory "C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\CMakeTmp\Debug\".

InitializeBuildStatus:

  Creating "cmTryCompileExec1988369096.dir\Debug\cmTryCompileExec1988369096.unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

  E:\Program Files(x86)\Visual Studio 2010\VC\bin\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"cmTryCompileExec1988369096.dir\Debug\\" /Fd"cmTryCompileExec1988369096.dir\Debug\vc100.pdb" /Gd /TP /analyze- /errorReport:queue "..\..\..\..\cmake-2.8.12.2-win32-x86\share\cmake-2.8\Modules\CMakeCXXCompilerABI.cpp"

  Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"cmTryCompileExec1988369096.dir\Debug\\" /Fd"cmTryCompileExec1988369096.dir\Debug\vc100.pdb" /Gd /TP /analyze- /errorReport:queue "..\..\..\..\cmake-2.8.12.2-win32-x86\share\cmake-2.8\Modules\CMakeCXXCompilerABI.cpp"

 

  CMakeCXXCompilerABI.cpp

ManifestResourceCompile:

  C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\rc.exe /nologo /fo"cmTryCompileExec1988369096.dir\Debug\cmTryCompileExec1988369096.exe.embed.manifest.res" cmTryCompileExec1988369096.dir\Debug\cmTryCompileExec1988369096_manifest.rc

Link:

  E:\Program Files(x86)\Visual Studio 2010\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec1988369096.exe" /INCREMENTAL /NOLOGO /MANIFEST /ManifestFile:"cmTryCompileExec1988369096.dir\Debug\cmTryCompileExec1988369096.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:/Users/Michael/Downloads/cegui-0.8.3/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec1988369096.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/Michael/Downloads/cegui-0.8.3/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec1988369096.lib" /MACHINE:X86 cmTryCompileExec1988369096.dir\Debug\cmTryCompileExec1988369096.exe.embed.manifest.res

  cmTryCompileExec1988369096.dir\Debug\CMakeCXXCompilerABI.obj  /machine:X86 /debug

Manifest:

  C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\mt.exe /nologo /verbose /out:"cmTryCompileExec1988369096.dir\Debug\cmTryCompileExec1988369096.exe.embed.manifest" /manifest cmTryCompileExec1988369096.dir\Debug\cmTryCompileExec1988369096.exe.intermediate.manifest

  C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\rc.exe /nologo /fo"cmTryCompileExec1988369096.dir\Debug\cmTryCompileExec1988369096.exe.embed.manifest.res" cmTryCompileExec1988369096.dir\Debug\cmTryCompileExec1988369096_manifest.rc

LinkEmbedManifest:

  E:\Program Files(x86)\Visual Studio 2010\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec1988369096.exe" /INCREMENTAL /NOLOGO /MANIFEST /ManifestFile:"cmTryCompileExec1988369096.dir\Debug\cmTryCompileExec1988369096.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:/Users/Michael/Downloads/cegui-0.8.3/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec1988369096.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/Michael/Downloads/cegui-0.8.3/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec1988369096.lib" /MACHINE:X86 cmTryCompileExec1988369096.dir\Debug\cmTryCompileExec1988369096.exe.embed.manifest.res

  cmTryCompileExec1988369096.dir\Debug\CMakeCXXCompilerABI.obj  /machine:X86 /debug

  cmTryCompileExec1988369096.vcxproj -> C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec1988369096.exe

FinalizeBuildStatus:

  Deleting file "cmTryCompileExec1988369096.dir\Debug\cmTryCompileExec1988369096.unsuccessfulbuild".

  Touching "cmTryCompileExec1988369096.dir\Debug\cmTryCompileExec1988369096.lastbuildstate".

Done Building Project "C:\Users\Michael\Downloads\cegui-0.8.3\build\CMakeFiles\CMakeTmp\cmTryCompileExec1988369096.vcxproj" (default targets).



Build succeeded.

    0 Warning(s)

    0 Error(s)



Time Elapsed 00:00:00.49




Sorry about that, hope this is better
Last edited by Walta69 on Wed Jun 25, 2014 14:25, edited 1 time in total.

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: Problem building with CMake

Postby Ident » Wed Jun 25, 2014 14:20

follow the posting guidelines. this is absolutely unreadable. use the right tags...

Edit: thanks, much better.
CrazyEddie: "I don't like GUIs"

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: Problem building with CMake

Postby Ident » Wed Jun 25, 2014 14:33

It reports no errors or whatsoever. I m baffled. I assume you selected VS2010 as compiler? What CMake version do you use?

Can you show me the CMake output you get when configurating?

As a side-info: There is no way CMake will know if your config actually requires boost or not. This is an issue that only pops up once you try to build your solution, because linker errors will occur. So whether or not you specify anything about boost in CMake shouldn't make a difference regarding the creation of the solution.
CrazyEddie: "I don't like GUIs"

Walta69
Not too shy to talk
Not too shy to talk
Posts: 31
Joined: Wed Jun 25, 2014 08:40

Re: Problem building with CMake

Postby Walta69 » Wed Jun 25, 2014 18:49

Sorry for being an idiot, but I did not notice that it still isn't finding OIS : "Could NOT find OIS (missing: OIS_H_PATH) "

My environment variables are as such:

1. OIS_HOME - C:\Dev\OgreSDK_vc10_v1-9-0 (Im using an SDK so I take it that it doesn't matter where this points to? - the guides say nothing about it)

2. OIS_H_PATH - C:\Dev\OgreSDK_vc10_v1-9-0\include\OIS

3. OIS_LIB - C:\Dev\OgreSDK_vc10_v1-9-0\lib\Release\OIS.lib

Please notify me of anything I may be missing.

Sorry again for the trouble

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: Problem building with CMake

Postby Ident » Wed Jun 25, 2014 19:59

If you set the OIS_H_PATH and the OIS_LIB path you should be set. Does it generate the solution now? Does it built?
CrazyEddie: "I don't like GUIs"

Walta69
Not too shy to talk
Not too shy to talk
Posts: 31
Joined: Wed Jun 25, 2014 08:40

Re: Problem building with CMake

Postby Walta69 » Wed Jun 25, 2014 20:07

According to what I have done above, it still says : "Error in configuration process, project files may be invalid", as well as "Could NOT find OIS (missing: OIS_H_PATH)"

Walta69
Not too shy to talk
Not too shy to talk
Posts: 31
Joined: Wed Jun 25, 2014 08:40

Re: Problem building with CMake

Postby Walta69 » Wed Jun 25, 2014 20:12

and still no .sln :(

User avatar
thomas
Quite a regular
Quite a regular
Posts: 64
Joined: Thu Aug 22, 2013 22:11

Re: Problem building with CMake

Postby thomas » Wed Jun 25, 2014 21:13

I don't think OIS_HOME is used, that was for 0.8.2; or maybe it's used for building your own Ogre from source.

If it says missing: OIS_H_PATH then I would guess the variable is not even set, otherwise it would say Could NOT find OIS and not mention anything about missing OIS_H_PATH

So it sounds like you don't even have OIS_H_PATH set.

If you are using CMake 2.8.x (which is the version I use) there is an checkbox to the right of the Search bar called Advanced, click that then scroll through the variables and look for OIS_H_PATH, set that.

I mean, I realize you stated you set OIS_H_PATH to C:\Dev\OgreSDK_vc10_v1-9-0\include\OIS, but if it says missing OIS_H_PATH than the variable either doesn't exist or is empty.

For example when I click configure on mine it shows:
Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)
Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)

If you are like me you probably checked a thousand times.

Maybe the CMake files got corrupted, you could also try going to File->Delete Cache and deleting your "Where to build binaries" folder and restart. Possibly something got messed up along the way.

User avatar
Nickenstein79
Quite a regular
Quite a regular
Posts: 93
Joined: Thu May 09, 2013 06:19

Re: Problem building with CMake

Postby Nickenstein79 » Wed Jun 25, 2014 21:25

Yeah, like thomas said.

On my machine I don't have an OIS_H_PATH environment variable set, but I've just looked at my cmake setup for building CEGUI and in there I have:

OIS_H_PATH - Pointing at the header folder for OIS within my Ogre-SDK which is "C:/Projects/OgreBuildv1_9/sdk/include/OIS" on my setup
OIS_LIB "C:/Projects/OgreBuildv1_9/sdk/lib/release/OIS.lib"
OIS_LIB_DBG "C:/Projects/OgreBuildv1_9/sdk/lib/release/OIS_d.lib"

So check that you actually do have an "include/OIS" folder within your Ogre sdk. And if needs be, manually point cmake directly at it.

I do have a windows environment variable set for OIS_HOME on my machine, this points at my ogre dependencies folder.

EDIT: Also are you getting cmake to generate a solution for the actual version of VisualStudio you have installed? The version number you set should match Microsoft's 'internal' version number for the product.
(Check the table of internal version numbers on this wikipedia page http://en.wikipedia.org/wiki/Microsoft_Visual_Studio)

Walta69
Not too shy to talk
Not too shy to talk
Posts: 31
Joined: Wed Jun 25, 2014 08:40

Re: Problem building with CMake

Postby Walta69 » Wed Jun 25, 2014 22:27

thomas wrote:If you are using CMake 2.8.x (which is the version I use) there is an checkbox to the right of the Search bar called Advanced, click that then scroll through the variables and look for OIS_H_PATH, set that.


This worked and OIS is now seen. So Ogre and OIS are now working. However when I configure and generate it still says "Error in configuration process, project files may be invalid" and it doesn't generate a .sln.

Here are the error messages it gives along with it: (Note I am using cMake v2.8)

Code: Select all

CMake Error at cmake/CEGUIMacros.cmake:658 (message):
  CEGUI_SAMPLES_USE_OPENGL is enabled, but corresponding renderer is not
  going to be built (see: CEGUI_BUILD_RENDERER_OPENGL)
Call Stack (most recent call first):
  CMakeLists.txt:229 (cegui_sample_renderer_sanity_test)


CMake Error at cmake/CEGUIMacros.cmake:658 (message):
  CEGUI_SAMPLES_USE_OPENGL3 is enabled, but corresponding renderer is not
  going to be built (see: CEGUI_BUILD_RENDERER_OPENGL3)
Call Stack (most recent call first):
  CMakeLists.txt:230 (cegui_sample_renderer_sanity_test)


CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_INCLUDE_DIR (ADVANCED)
   used as include directory in directory C:/Users/Michael/Downloads/cegui-0.8.3/cegui/src/RendererModules/Ogre


User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: Problem building with CMake

Postby Ident » Wed Jun 25, 2014 22:32

Ah, finally the cmake output..

Switch off the CEGUI_SAMPLES_USE_OPENGL3 and CEGUI_SAMPLES_USE_OPENGL or turn on the renderer builds for those two renderers.

Did you set: Boost_INCLUDE_DIR ?
CrazyEddie: "I don't like GUIs"

Walta69
Not too shy to talk
Not too shy to talk
Posts: 31
Joined: Wed Jun 25, 2014 08:40

Re: Problem building with CMake

Postby Walta69 » Wed Jun 25, 2014 22:42

The first two errors are gone, now just boost. I changed Boost_DIR from within cMake to = C:/Dev/OgreSDK_vc10_v1-9-0/boost

I also changed Boost_INCLUDE_DIR from within cMake to = C:/Dev/OgreSDK_vc10_v1-9-0/boost/boost

It seems to have a problem with the first variable as it keeps resetting it and saying cannot find boost

lucebac
Just can't stay away
Just can't stay away
Posts: 193
Joined: Sat May 24, 2014 21:55

Re: Problem building with CMake

Postby lucebac » Thu Jun 26, 2014 00:07

As far as I know you can simply ignore the Boost_DIR error. You have to either set Boost_DIR (if there's a boost cmake file in that directory) OR the other boost variables (if there's no boost cmake file in that directory - which should be the most common case since boost uses its own build environment).

Walta69
Not too shy to talk
Not too shy to talk
Posts: 31
Joined: Wed Jun 25, 2014 08:40

Re: Problem building with CMake

Postby Walta69 » Thu Jun 26, 2014 10:47

It still isn't giving me a solution file though. I'll re-download everything, start from scratch and let you guys know the progress

Walta69
Not too shy to talk
Not too shy to talk
Posts: 31
Joined: Wed Jun 25, 2014 08:40

Re: Problem building with CMake

Postby Walta69 » Thu Jun 26, 2014 10:55

Same thing just keeps happening. I set my Boot_DIR and Boost_INCLUDE_DIR and when I configure and generate it gives me the "not found" errors and resets Boost_DIR to "Boost_DIR-NOTFOUND"

Don't know what to do :/

Here is the cMake output if that makes any difference:

Code: Select all

Some or all of the gtk libraries were not found. (missing:  GTK2_GTK_LIBRARY GTK2_GTK_INCLUDE_DIR GTK2_GDK_INCLUDE_DIR GTK2_GDKCONFIG_INCLUDE_DIR GTK2_GDK_LIBRARY GTK2_GLIB_INCLUDE_DIR GTK2_GLIBCONFIG_INCLUDE_DIR GTK2_GLIB_LIBRARY)
Ogre will not be available in SampleFramework due to missing boost_system library
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_INCLUDE_DIR (ADVANCED)
   used as include directory in directory C:/Users/Michael/Downloads/cegui-0.8.3/cegui/src/RendererModules/Ogre



Return to “Help”

Who is online

Users browsing this forum: No registered users and 6 guests