Step-by-step: How to build EmulationStation on Windows
-
@fieldofcows I'm very happy to know that we can have an up to date windows branch.
Thank you very much.
@trigger_death If the branchs are up to date I don't think you could have any problem.
-
@trigger_death said in Step-by-step: How to build EmulationStation on Windows:
But about the Windows branch, does that mean there's currently separate branches for building on Windows and Linux systems?
That particular branch builds on Windows, Linux and Raspberry pi without problems.
There is a simple fix that needs to be applied to the retropie ES which would allow it to build on Windows. I'll see if I can suggest a PR to get it included in the retropie fork. Although this is a RPi version, I don't see any harm in including this fix.
-
@fieldofcows I hope this isn't going too off topic but: Although you say it's well documented, I actually find this guide for Windows to be much more understandable than any of the other guides for Linux or the Raspberry Pi. However, I can't seem to find any guides on how to build & install EmulationStation on RetroPie. Do you have insight into that? It's not mentioned anywhere to where the output should be as well as how to setup the libraries.
Edit: Nevermind, I've figured out how to do it and layed it out here.
-
This PR, which was merged in recently, broke my builds of ES under windows.
Basically, what happened is that PugiXML is now an git submodule, which is much easier to maintain. However, when you rebase your view, it is not automatically included.
You need to performgit submodule update --init
in order to make that happen.
Easy enough, but it took me a while to figure it out.
@BuZz: will we do the same for nanosvg?
-
@Zigurana sorry, should have mentioned that. I probably need to update the readme too.
If nanosvg is managed on git, we could.
-
I'm having trouble with the final Cmake step. It can't find the boost libraries. I've used the retroPie branch and the fix_debug_and_win_builds. I was using visual studio 2017 but when I switched to 2015 I still got the same error from boost.
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:49 (find_package) -- Configuring incomplete, errors occurred!
Thanks
-
Have you installed it manually? Use the boost installer.
-
@Nismo I didn't install it manually. I used the installer you and the tutorial mentioned. I have a boost_1_61_0\lib32-msvc-14.0 directory with date_time, system and locale files in it.
-
Can you send to me a folder list inside C:/src/lib/boost_1_61_0????
-
@Nismo Here you go.
-
Have you installed C-Make or it's a portable one?
I'm uploading my working lib folder for you, but it will take a few minutes.
-
@Nismo I installed Cmake. It's version 3.8. I appreciate it.
-
A few minutes remaining for upload complete, then you can rename your C:/src/lib folder to C:/src/lib_old and try with mine...
-
-
@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.
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.