Step-by-step: How to build EmulationStation on Windows
-
-
@Nismo Still doesn't work. Tried VS 2017 command prompt, failed, deleted everything in build directory and tried VS 2015. I did notice before the boost errors that it couldn't find PkgConfig. Here's my full output from running the 2015 command prompt with your lib being the active one.
C:\src\EmulationStation\build>cmake -g "Visual Studio 14 2015 x86" .. -DEIGEN3_INCLUDE_DIR=%ES_LIB_DIR%\eigen -DFREETYPE_INCLUDE_DIRS=%ES_LIB_DIR%\freetype-2.7\include -DFREETYPE_LIBRARY=%ES_LIB_DIR%\freetype-2.7\objs\vc2010\Win32\freetype27.lib -DFreeImage_INCLUDE_DIR=%ES_LIB_DIR%\FreeImage\Source -DFreeImage_LIBRARY=%ES_LIB_DIR%\FreeImage\Dist\x32\FreeImage.lib -DSDL2_INCLUDE_DIR=%ES_LIB_DIR%\SDL2-2.0.5\include -DSDL2_LIBRARY=%ES_LIB_DIR%\SDL2-2.0.5\build\Release\SDL2.lib;%ES_LIB_DIR%\SDL2-2.0.5\build\Release\SDL2main.lib;Imm32.lib;version.lib -DBOOST_ROOT=%ES_LIB_DIR%\boost_1_61_0 -DBoost_LIBRARY_DIR=%ES_LIB_DIR%\boost_1_61_0\lib32-msvc-14.0 -DCURL_INCLUDE_DIR=%ES_LIB_DIR%\curl-7.50.3\include -DCURL_LIBRARY=%ES_LIB_DIR%\curl-7.50.3\builds\libcurl-vc14-x86-release-dll-ipv6-sspi-winssl\lib\libcurl.lib -DVLC_INCLUDE_DIR=%ES_LIB_DIR%\libvlc-2.2.2\include -DVLC_LIBRARIES=%ES_LIB_DIR%\libvlc-2.2.2\lib\msvc\libvlc.lib;%ES_LIB_DIR%\libvlc-2.2.2\lib\msvc\libvlccore.lib -DVLC_VERSION=1.0.0 -- Building for: Visual Studio 15 2017 -- The C compiler identification is MSVC 19.10.25019.0 -- The CXX compiler identification is MSVC 19.10.25019.0 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done Looking for bcm_host.h bcm_host.h not found Looking for libMali.so libMali.so not found -- Found OpenGL: opengl32 -- Found Freetype: c:\src\lib\freetype-2.7\objs\vc2010\Win32\freetype27.lib -- Looking for FreeImage... -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Found FreeImage: c:\src\lib\FreeImage\Dist\x32\FreeImage.lib -- Looking for pthread.h -- Looking for pthread.h - not found -- Found Threads: TRUE -- Found SDL2: c:\src\lib\SDL2-2.0.5\build\Release\SDL2.lib;c:\src\lib\SDL2-2.0.5\build\Release\SDL2main.lib;Imm32.lib;version.lib CMake Error at C:/Program Files/CMake/share/cmake-3.8/Modules/FindBoost.cmake:1813 (message): Unable to find the requested Boost libraries. Boost version: 1.61.0 Boost include path: C:/src/lib/boost_1_61_0 Could not find the following Boost libraries: boost_system boost_date_time boost_locale No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost. Call Stack (most recent call first): CMakeLists.txt:52 (find_package) -- Found CURL: C:/src/lib/curl-7.50.3/builds/libcurl-vc14-x86-release-dll-ipv6-sspi-winssl/lib/libcurl.lib (found version "7.50.3") -- VLC library found -- Configuring incomplete, errors occurred! See also "C:/src/EmulationStation/build/CMakeFiles/CMakeOutput.log". See also "C:/src/EmulationStation/build/CMakeFiles/CMakeError.log".
-
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.
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.