Step-by-step: How to build EmulationStation on Windows
-
See also "C:/src/EmulationStation/build/CMakeFiles/CMakeOutput.log".
See also "C:/src/EmulationStation/build/CMakeFiles/CMakeError.log". -
@Nismo The error log mentions not being able to find pthreads.
C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\cmTC_bd6f9.vcxproj]CMakeError.log
Determining if the include file pthread.h exists failed with the following output: Change Dir: C:/src/EmulationStation/build/CMakeFiles/CMakeTmp Run Build Command:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community/MSBuild/15.0/Bin/MSBuild.exe" "cmTC_bd6f9.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=15.0" Microsoft (R) Build Engine version 15.1.1012.6693 Copyright (C) Microsoft Corporation. All rights reserved. Build started 4/23/2017 2:38:43 AM. Project "C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\cmTC_bd6f9.vcxproj" on node 1 (default targets). PrepareForBuild: Creating directory "cmTC_bd6f9.dir\Debug\". Creating directory "C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\Debug\". Creating directory "cmTC_bd6f9.dir\Debug\cmTC_bd6f9.tlog\". InitializeBuildStatus: Creating "cmTC_bd6f9.dir\Debug\cmTC_bd6f9.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. ClCompile: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\CL.exe /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_bd6f9.dir\Debug\\" /Fd"cmTC_bd6f9.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25019 for x86 Copyright (C) Microsoft Corporation. All rights reserved. cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_bd6f9.dir\Debug\\" /Fd"cmTC_bd6f9.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c CheckIncludeFile.c C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\cmTC_bd6f9.vcxproj] Done Building Project "C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\cmTC_bd6f9.vcxproj" (default targets) -- FAILED. Build FAILED. "C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\cmTC_bd6f9.vcxproj" (default target) (1) -> (ClCompile target) -> C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\cmTC_bd6f9.vcxproj] 0 Warning(s) 1 Error(s) Time Elapsed 00:00:00.68
CMakeOutput.log
The system is: Windows - 10.0.15063 - AMD64 Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. Compiler: Build flags: Id flags: The output was: 0 Microsoft (R) Build Engine version 15.1.1012.6693 Copyright (C) Microsoft Corporation. All rights reserved. Build started 4/23/2017 2:38:32 AM. Project "C:\src\EmulationStation\build\CMakeFiles\3.8.0\CompilerIdC\CompilerIdC.vcxproj" on node 1 (default targets). PrepareForBuild: Creating directory "Debug\". Creating directory "Debug\CompilerIdC.tlog\". InitializeBuildStatus: Creating "Debug\CompilerIdC.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. ClCompile: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\CL.exe /c /nologo /W0 /WX- /diagnostics:classic /Od /Oy- /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\\" /Fd"Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue CMakeCCompilerId.c CMakeCCompilerId.c Link: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\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 /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdC.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdC.lib" /MACHINE:X86 /SAFESEH Debug\CMakeCCompilerId.obj CompilerIdC.vcxproj -> C:\src\EmulationStation\build\CMakeFiles\3.8.0\CompilerIdC\.\CompilerIdC.exe PostBuildEvent: for %%i in (cl.exe) do @echo CMAKE_C_COMPILER=%%~$PATH:i :VCEnd CMAKE_C_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\cl.exe FinalizeBuildStatus: Deleting file "Debug\CompilerIdC.tlog\unsuccessfulbuild". Touching "Debug\CompilerIdC.tlog\CompilerIdC.lastbuildstate". Done Building Project "C:\src\EmulationStation\build\CMakeFiles\3.8.0\CompilerIdC\CompilerIdC.vcxproj" (default targets). Build succeeded. 0 Warning(s) 0 Error(s) Time Elapsed 00:00:01.13 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:/src/EmulationStation/build/CMakeFiles/3.8.0/CompilerIdC/CompilerIdC.exe" Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. Compiler: Build flags: Id flags: The output was: 0 Microsoft (R) Build Engine version 15.1.1012.6693 Copyright (C) Microsoft Corporation. All rights reserved. Build started 4/23/2017 2:38:33 AM. Project "C:\src\EmulationStation\build\CMakeFiles\3.8.0\CompilerIdCXX\CompilerIdCXX.vcxproj" on node 1 (default targets). PrepareForBuild: Creating directory "Debug\". Creating directory "Debug\CompilerIdCXX.tlog\". InitializeBuildStatus: Creating "Debug\CompilerIdCXX.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. ClCompile: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\CL.exe /c /nologo /W0 /WX- /diagnostics:classic /Od /Oy- /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\\" /Fd"Debug\vc141.pdb" /Gd /TP /analyze- /errorReport:queue CMakeCXXCompilerId.cpp CMakeCXXCompilerId.cpp Link: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\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 /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdCXX.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdCXX.lib" /MACHINE:X86 /SAFESEH Debug\CMakeCXXCompilerId.obj CompilerIdCXX.vcxproj -> C:\src\EmulationStation\build\CMakeFiles\3.8.0\CompilerIdCXX\.\CompilerIdCXX.exe PostBuildEvent: for %%i in (cl.exe) do @echo CMAKE_CXX_COMPILER=%%~$PATH:i :VCEnd CMAKE_CXX_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\cl.exe FinalizeBuildStatus: Deleting file "Debug\CompilerIdCXX.tlog\unsuccessfulbuild". Touching "Debug\CompilerIdCXX.tlog\CompilerIdCXX.lastbuildstate". Done Building Project "C:\src\EmulationStation\build\CMakeFiles\3.8.0\CompilerIdCXX\CompilerIdCXX.vcxproj" (default targets). Build succeeded. 0 Warning(s) 0 Error(s) Time Elapsed 00:00:01.10 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:/src/EmulationStation/build/CMakeFiles/3.8.0/CompilerIdCXX/CompilerIdCXX.exe" Determining if the C compiler works passed with the following output: Change Dir: C:/src/EmulationStation/build/CMakeFiles/CMakeTmp Run Build Command:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community/MSBuild/15.0/Bin/MSBuild.exe" "cmTC_ae4f8.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=15.0" Microsoft (R) Build Engine version 15.1.1012.6693 Copyright (C) Microsoft Corporation. All rights reserved. Build started 4/23/2017 2:38:34 AM. Project "C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\cmTC_ae4f8.vcxproj" on node 1 (default targets). PrepareForBuild: Creating directory "cmTC_ae4f8.dir\Debug\". Creating directory "C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\Debug\". Creating directory "cmTC_ae4f8.dir\Debug\cmTC_ae4f8.tlog\". InitializeBuildStatus: Creating "cmTC_ae4f8.dir\Debug\cmTC_ae4f8.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. ClCompile: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\CL.exe /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_ae4f8.dir\Debug\\" /Fd"cmTC_ae4f8.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\testCCompiler.c Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25019 for x86 Copyright (C) Microsoft Corporation. All rights reserved. cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_ae4f8.dir\Debug\\" /Fd"cmTC_ae4f8.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\testCCompiler.c testCCompiler.c Link: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\link.exe /ERRORREPORT:QUEUE /OUT:"C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\Debug\cmTC_ae4f8.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/src/EmulationStation/build/CMakeFiles/CMakeTmp/Debug/cmTC_ae4f8.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/src/EmulationStation/build/CMakeFiles/CMakeTmp/Debug/cmTC_ae4f8.lib" /MACHINE:X86 /SAFESEH /machine:X86 cmTC_ae4f8.dir\Debug\testCCompiler.obj cmTC_ae4f8.vcxproj -> C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\Debug\cmTC_ae4f8.exe FinalizeBuildStatus: Deleting file "cmTC_ae4f8.dir\Debug\cmTC_ae4f8.tlog\unsuccessfulbuild". Touching "cmTC_ae4f8.dir\Debug\cmTC_ae4f8.tlog\cmTC_ae4f8.lastbuildstate". Done Building Project "C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\cmTC_ae4f8.vcxproj" (default targets). Build succeeded. 0 Warning(s) 0 Error(s) Time Elapsed 00:00:01.17 Detecting C compiler ABI info compiled with the following output: Change Dir: C:/src/EmulationStation/build/CMakeFiles/CMakeTmp Run Build Command:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community/MSBuild/15.0/Bin/MSBuild.exe" "cmTC_8955e.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=15.0" Microsoft (R) Build Engine version 15.1.1012.6693 Copyright (C) Microsoft Corporation. All rights reserved. Build started 4/23/2017 2:38:36 AM. Project "C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\cmTC_8955e.vcxproj" on node 1 (default targets). PrepareForBuild: Creating directory "cmTC_8955e.dir\Debug\". Creating directory "C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\Debug\". Creating directory "cmTC_8955e.dir\Debug\cmTC_8955e.tlog\". InitializeBuildStatus: Creating "cmTC_8955e.dir\Debug\cmTC_8955e.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. ClCompile: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\CL.exe /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_8955e.dir\Debug\\" /Fd"cmTC_8955e.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Program Files\CMake\share\cmake-3.8\Modules\CMakeCCompilerABI.c" Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25019 for x86 Copyright (C) Microsoft Corporation. All rights reserved. cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_8955e.dir\Debug\\" /Fd"cmTC_8955e.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Program Files\CMake\share\cmake-3.8\Modules\CMakeCCompilerABI.c" CMakeCCompilerABI.c Link: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\link.exe /ERRORREPORT:QUEUE /OUT:"C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\Debug\cmTC_8955e.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/src/EmulationStation/build/CMakeFiles/CMakeTmp/Debug/cmTC_8955e.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/src/EmulationStation/build/CMakeFiles/CMakeTmp/Debug/cmTC_8955e.lib" /MACHINE:X86 /SAFESEH /machine:X86 cmTC_8955e.dir\Debug\CMakeCCompilerABI.obj cmTC_8955e.vcxproj -> C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\Debug\cmTC_8955e.exe FinalizeBuildStatus: Deleting file "cmTC_8955e.dir\Debug\cmTC_8955e.tlog\unsuccessfulbuild". Touching "cmTC_8955e.dir\Debug\cmTC_8955e.tlog\cmTC_8955e.lastbuildstate". Done Building Project "C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\cmTC_8955e.vcxproj" (default targets). Build succeeded. 0 Warning(s) 0 Error(s) Time Elapsed 00:00:01.17 Determining if the CXX compiler works passed with the following output: Change Dir: C:/src/EmulationStation/build/CMakeFiles/CMakeTmp Run Build Command:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community/MSBuild/15.0/Bin/MSBuild.exe" "cmTC_d3e04.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=15.0" Microsoft (R) Build Engine version 15.1.1012.6693 Copyright (C) Microsoft Corporation. All rights reserved. Build started 4/23/2017 2:38:37 AM. Project "C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\cmTC_d3e04.vcxproj" on node 1 (default targets). PrepareForBuild: Creating directory "cmTC_d3e04.dir\Debug\". Creating directory "C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\Debug\". Creating directory "cmTC_d3e04.dir\Debug\cmTC_d3e04.tlog\". InitializeBuildStatus: Creating "cmTC_d3e04.dir\Debug\cmTC_d3e04.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. ClCompile: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\CL.exe /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_d3e04.dir\Debug\\" /Fd"cmTC_d3e04.dir\Debug\vc141.pdb" /Gd /TP /analyze- /errorReport:queue C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\testCXXCompiler.cxx Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25019 for x86 Copyright (C) Microsoft Corporation. All rights reserved. cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_d3e04.dir\Debug\\" /Fd"cmTC_d3e04.dir\Debug\vc141.pdb" /Gd /TP /analyze- /errorReport:queue C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\testCXXCompiler.cxx testCXXCompiler.cxx Link: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\link.exe /ERRORREPORT:QUEUE /OUT:"C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\Debug\cmTC_d3e04.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/src/EmulationStation/build/CMakeFiles/CMakeTmp/Debug/cmTC_d3e04.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/src/EmulationStation/build/CMakeFiles/CMakeTmp/Debug/cmTC_d3e04.lib" /MACHINE:X86 /SAFESEH /machine:X86 cmTC_d3e04.dir\Debug\testCXXCompiler.obj cmTC_d3e04.vcxproj -> C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\Debug\cmTC_d3e04.exe FinalizeBuildStatus: Deleting file "cmTC_d3e04.dir\Debug\cmTC_d3e04.tlog\unsuccessfulbuild". Touching "cmTC_d3e04.dir\Debug\cmTC_d3e04.tlog\cmTC_d3e04.lastbuildstate". Done Building Project "C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\cmTC_d3e04.vcxproj" (default targets). Build succeeded. 0 Warning(s) 0 Error(s) Time Elapsed 00:00:01.17 Detecting CXX compiler ABI info compiled with the following output: Change Dir: C:/src/EmulationStation/build/CMakeFiles/CMakeTmp Run Build Command:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community/MSBuild/15.0/Bin/MSBuild.exe" "cmTC_99e30.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=15.0" Microsoft (R) Build Engine version 15.1.1012.6693 Copyright (C) Microsoft Corporation. All rights reserved. Build started 4/23/2017 2:38:39 AM. Project "C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\cmTC_99e30.vcxproj" on node 1 (default targets). PrepareForBuild: Creating directory "cmTC_99e30.dir\Debug\". Creating directory "C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\Debug\". Creating directory "cmTC_99e30.dir\Debug\cmTC_99e30.tlog\". InitializeBuildStatus: Creating "cmTC_99e30.dir\Debug\cmTC_99e30.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. ClCompile: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\CL.exe /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_99e30.dir\Debug\\" /Fd"cmTC_99e30.dir\Debug\vc141.pdb" /Gd /TP /analyze- /errorReport:queue "C:\Program Files\CMake\share\cmake-3.8\Modules\CMakeCXXCompilerABI.cpp" Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25019 for x86 Copyright (C) Microsoft Corporation. All rights reserved. cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_99e30.dir\Debug\\" /Fd"cmTC_99e30.dir\Debug\vc141.pdb" /Gd /TP /analyze- /errorReport:queue "C:\Program Files\CMake\share\cmake-3.8\Modules\CMakeCXXCompilerABI.cpp" CMakeCXXCompilerABI.cpp Link: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\link.exe /ERRORREPORT:QUEUE /OUT:"C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\Debug\cmTC_99e30.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/src/EmulationStation/build/CMakeFiles/CMakeTmp/Debug/cmTC_99e30.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/src/EmulationStation/build/CMakeFiles/CMakeTmp/Debug/cmTC_99e30.lib" /MACHINE:X86 /SAFESEH /machine:X86 cmTC_99e30.dir\Debug\CMakeCXXCompilerABI.obj cmTC_99e30.vcxproj -> C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\Debug\cmTC_99e30.exe FinalizeBuildStatus: Deleting file "cmTC_99e30.dir\Debug\cmTC_99e30.tlog\unsuccessfulbuild". Touching "cmTC_99e30.dir\Debug\cmTC_99e30.tlog\cmTC_99e30.lastbuildstate". Done Building Project "C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\cmTC_99e30.vcxproj" (default targets). Build succeeded. 0 Warning(s) 0 Error(s) Time Elapsed 00:00:01.10 Detecting CXX [] compiler features compiled with the following output: Change Dir: C:/src/EmulationStation/build/CMakeFiles/CMakeTmp Run Build Command:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community/MSBuild/15.0/Bin/MSBuild.exe" "cmTC_68448.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=15.0" Microsoft (R) Build Engine version 15.1.1012.6693 Copyright (C) Microsoft Corporation. All rights reserved. Build started 4/23/2017 2:38:41 AM. Project "C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\cmTC_68448.vcxproj" on node 1 (default targets). PrepareForBuild: Creating directory "cmTC_68448.dir\Debug\". Creating directory "C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\Debug\". Creating directory "cmTC_68448.dir\Debug\cmTC_68448.tlog\". InitializeBuildStatus: Creating "cmTC_68448.dir\Debug\cmTC_68448.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. ClCompile: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\CL.exe /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_68448.dir\Debug\\" /Fd"cmTC_68448.dir\Debug\vc141.pdb" /Gd /TP /analyze- /errorReport:queue C:\src\EmulationStation\build\CMakeFiles\feature_tests.cxx Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25019 for x86 Copyright (C) Microsoft Corporation. All rights reserved. cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_68448.dir\Debug\\" /Fd"cmTC_68448.dir\Debug\vc141.pdb" /Gd /TP /analyze- /errorReport:queue C:\src\EmulationStation\build\CMakeFiles\feature_tests.cxx feature_tests.cxx Link: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\link.exe /ERRORREPORT:QUEUE /OUT:"C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\Debug\cmTC_68448.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/src/EmulationStation/build/CMakeFiles/CMakeTmp/Debug/cmTC_68448.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/src/EmulationStation/build/CMakeFiles/CMakeTmp/Debug/cmTC_68448.lib" /MACHINE:X86 /SAFESEH /machine:X86 cmTC_68448.dir\Debug\feature_tests.obj cmTC_68448.vcxproj -> C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\Debug\cmTC_68448.exe FinalizeBuildStatus: Deleting file "cmTC_68448.dir\Debug\cmTC_68448.tlog\unsuccessfulbuild". Touching "cmTC_68448.dir\Debug\cmTC_68448.tlog\cmTC_68448.lastbuildstate". Done Building Project "C:\src\EmulationStation\build\CMakeFiles\CMakeTmp\cmTC_68448.vcxproj" (default targets). Build succeeded. 0 Warning(s) 0 Error(s) Time Elapsed 00:00:01.16 Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers Feature record: CXX_FEATURE:1cxx_alias_templates Feature record: CXX_FEATURE:1cxx_alignas Feature record: CXX_FEATURE:1cxx_alignof Feature record: CXX_FEATURE:1cxx_attributes Feature record: CXX_FEATURE:1cxx_attribute_deprecated Feature record: CXX_FEATURE:1cxx_auto_type Feature record: CXX_FEATURE:1cxx_binary_literals Feature record: CXX_FEATURE:1cxx_constexpr Feature record: CXX_FEATURE:1cxx_contextual_conversions Feature record: CXX_FEATURE:1cxx_decltype Feature record: CXX_FEATURE:1cxx_decltype_auto Feature record: CXX_FEATURE:1cxx_default_function_template_args Feature record: CXX_FEATURE:1cxx_defaulted_functions Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers Feature record: CXX_FEATURE:1cxx_delegating_constructors Feature record: CXX_FEATURE:1cxx_deleted_functions Feature record: CXX_FEATURE:1cxx_digit_separators Feature record: CXX_FEATURE:1cxx_enum_forward_declarations Feature record: CXX_FEATURE:1cxx_explicit_conversions Feature record: CXX_FEATURE:1cxx_extended_friend_declarations Feature record: CXX_FEATURE:1cxx_extern_templates Feature record: CXX_FEATURE:1cxx_final Feature record: CXX_FEATURE:1cxx_func_identifier Feature record: CXX_FEATURE:1cxx_generalized_initializers Feature record: CXX_FEATURE:1cxx_generic_lambdas Feature record: CXX_FEATURE:1cxx_inheriting_constructors Feature record: CXX_FEATURE:1cxx_inline_namespaces Feature record: CXX_FEATURE:1cxx_lambdas Feature record: CXX_FEATURE:1cxx_lambda_init_captures Feature record: CXX_FEATURE:1cxx_local_type_template_args Feature record: CXX_FEATURE:1cxx_long_long_type Feature record: CXX_FEATURE:1cxx_noexcept Feature record: CXX_FEATURE:1cxx_nonstatic_member_init Feature record: CXX_FEATURE:1cxx_nullptr Feature record: CXX_FEATURE:1cxx_override Feature record: CXX_FEATURE:1cxx_range_for Feature record: CXX_FEATURE:1cxx_raw_string_literals Feature record: CXX_FEATURE:1cxx_reference_qualified_functions Feature record: CXX_FEATURE:1cxx_return_type_deduction Feature record: CXX_FEATURE:1cxx_right_angle_brackets Feature record: CXX_FEATURE:1cxx_rvalue_references Feature record: CXX_FEATURE:1cxx_sizeof_member Feature record: CXX_FEATURE:1cxx_static_assert Feature record: CXX_FEATURE:1cxx_strong_enums Feature record: CXX_FEATURE:1cxx_template_template_parameters Feature record: CXX_FEATURE:1cxx_thread_local Feature record: CXX_FEATURE:1cxx_trailing_return_types Feature record: CXX_FEATURE:1cxx_unicode_literals Feature record: CXX_FEATURE:1cxx_uniform_initialization Feature record: CXX_FEATURE:1cxx_unrestricted_unions Feature record: CXX_FEATURE:1cxx_user_literals Feature record: CXX_FEATURE:1cxx_variable_templates Feature record: CXX_FEATURE:1cxx_variadic_macros Feature record: CXX_FEATURE:1cxx_variadic_templates
-
I don't know what to do at this point, so only thing you can try it's download the source from github, place the folder emulationstation-master inside C:\src
and try to use my build folder, place it inside C:\src\EmulationStation-master\ and then you don't need to use C-make, simply open C:\src\EmulationStation-master\build\emulationstation-all.sln in Visual Studio 2015 and build.If that doesn't fix your problem, I don't know what to do.
Here's my build folder: http://www.mediafire.com/file/18wup39qx35x1ht/build.7z
-
@Nismo That works, thanks.
-
Finally!!! I'm glad to help. Regards.
-
@Nismo I'm getting this error using your build folder
Severity Code Description Project File Line Suppression State
Error MSB6006 "cmd.exe" exited with code -1073741819. ZERO_CHECK C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets 171
Error MSB6006 "cmd.exe" exited with code 1. nanosvg C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets 171
Error MSB6006 "cmd.exe" exited with code 1. pugixml C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets 171
Error MSB6006 "cmd.exe" exited with code 1. es-core C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets 171
Error MSB6006 "cmd.exe" exited with code 1. emulationstation C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets 171
Error MSB6006 "cmd.exe" exited with code 1. ALL_BUILD C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets 171 -
Maybe it's because of this?:
Visual Studio Community 2015:
Use the web setup at https://www.visualstudio.com/vs/community/ selecting the following options:Custom install
Select Visual C++->Common Tools (nothing else)
Select Common Tools->Git & GitHub
Everything else off -
That's VS 2017
-
@duiz I know it, that's because I use bold in 2015...
All it's working fine for me in Vs 2015.
-
I was able to open the sln with 2017, have it update the files and continue to build with no problem. I did build with 2015 before trying 2017.
-
Is there a way to compile this onto a USB? Or is there no difference?
-
@itsnitro there's no difference, just copy all the required files into the same dir on de usb.
-
I tried to install and all steps run perfect except the last step to build ES in VS 2015 these are the errors are shown. How can I fix:
Severity Code Description Project File Line Suppression State Error (active) identifier "open" is undefined es-core c:\src\EmulationStation\es-core\src\platform.cpp 87 Error (active) identifier "close" is undefined es-core c:\src\EmulationStation\es-core\src\platform.cpp 89 Error C3861 'open': identifier not found es-core C:\src\EmulationStation\es-core\src\platform.cpp 87 Error C3861 'close': identifier not found es-core C:\src\EmulationStation\es-core\src\platform.cpp 89 Error C2440 'initializing': cannot convert from 'const boost::filesystem::path::value_type *' to 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' es-core C:\src\EmulationStation\es-core\src\Util.cpp 105 Error C2440 'initializing': cannot convert from 'const boost::filesystem::path::value_type *' to 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' es-core C:\src\EmulationStation\es-core\src\Util.cpp 106
-
@ray3d please put the output in a code block (three backticks + newline, see compose?) if you want people to be able to parse this.
-
@zigurana Thank you ziguana for answer. I see what was the pro the problem was I made the build for both versions at the same time in same directory. Then what I did was only use the commands at post and on VS to only debug version and the build was made perfectly.
Now sorry for my ignorance but after I made the build of EmulationStation how do you run? I see in the debug directory these files:"nanosvgd.lib" and "pugixmld.lib" but not an exe sorry to ask but how do you run EmulationStation?
-
@ray3d
Are you sure the linking did succeed successfully after compilation? It would be good if you could post the complete build output logging (in a codeblock)
I have the following library files included in my Debug folder:- boost_date_time-vc140-mt-gd-1_61.dll
- boost_filesystem-vc140-mt-gd-1_61.dll
- boost_locale-vc140-mt-gd-1_61.dll
- boost_system-vc140-mt-gd-1_61.dll
- emulationstation.exe
- emulationstation.ilk
- emulationstation.pdb
- es-cored.lib
- FreeImage.dll
- libcurl.dll
- libvlc.dll
- libvlccore.dll
- nanosvgd.lib
- pugixmld.lib
-
You are right there is something wrong. Actually I made a re build and I have this errors now:
**Severity Code Description Project File Line Suppression State
Error C3861 'open': identifier not found es-core C:\src\EmulationStation\es-core\src\platform.cpp 87
Error C3861 'close': identifier not found es-core C:\src\EmulationStation\es-core\src\platform.cpp 89
Error C2440 'initializing': cannot convert from 'const boost::filesystem::path::value_type ' to 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' es-core C:\src\EmulationStation\es-core\src\Util.cpp 105
Error C2440 'initializing': cannot convert from 'const boost::filesystem::path::value_type ' to 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' es-core C:\src\EmulationStation\es-core\src\Util.cpp 106
Error C1083 Cannot open include file: 'SDL2/SDL.h': No such file or directory emulationstation C:\src\EmulationStation\es-app\src\views\ViewController.cpp 15What could be the problem?
-
You are missing some dependencies, did cmake find all it needed? You are still only showing part of your output. Please use https://pastebin.com/ to show us all the output of a rebuild.
-
Here are the logs of the cmake of EmulationStation via the developer command prompt VS 2015 :
And here are the logs of the VS 2015 building EmulationStation:
-
@ray3d wait, what branch are you trying to build?
mytouch()
method in platform.cpp looks like:void touch(const std::string& filename) { #ifdef WIN32 FILE* fp = fopen(filename.c_str(), "ab+"); if (fp != NULL) fclose(fp); #else int fd = open(filename.c_str(), O_CREAT|O_WRONLY, 0644); if (fd >= 0) close(fd); #endif }
Looks like you are trying to build one of the older branches, that did not have the fixes to build on VS2015 yet.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.