Dolphin, the GameCube and Wii emulator - Forums

Full Version: Can't build dolphin solution
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

omzig97

Hello, I decided today I wanted to start contributing to dolphin's code base. I cloned the git repo but have run into some nasty issues trying to build. I'm hoping I can get some help here - please let me know if this belongs on dev forum instead.

I have tried building both debug and release for both x64 and ARM64, and every instance results in these errors:

Code:
Severity Code Description Project File Line Suppression State
Error C1083 Cannot open compiler intermediate file: 'c:\users\dillon\comp\dolphin\build\arm64\release\pch\pch.pch': No such file or directory pch C:\Users\Dillon\comp\dolphin\Source\PCH\pch.cpp 1
Error MSB3721 The command "..\Externals\gettext\msgfmt -o "C:\Users\Dillon\comp\dolphin\Source\..\Binary\ARM64\Languages\ar\dolphin-emu.mo"   po\ar.po" exited with code 1. Languages C:\Users\Dillon\comp\dolphin\Languages\po.targets 45
Error C1083 Cannot open compiler intermediate file: 'c:\users\dillon\comp\dolphin\build\arm64\release\pch\pch.pch': No such file or directory Common C:\Users\Dillon\comp\dolphin\Source\Core\Common\CommonFuncs.cpp 1
Error C1083 Cannot open compiler intermediate file: 'c:\users\dillon\comp\dolphin\build\arm64\release\pch\pch.pch': No such file or directory Common C:\Users\Dillon\comp\dolphin\Source\Core\Common\ColorUtil.cpp 1
Error C1083 Cannot open compiler intermediate file: 'c:\users\dillon\comp\dolphin\build\arm64\release\pch\pch.pch': No such file or directory Common C:\Users\Dillon\comp\dolphin\Source\Core\Common\Config\ConfigInfo.cpp 1
Error C1083 Cannot open compiler intermediate file: 'c:\users\dillon\comp\dolphin\build\arm64\release\pch\pch.pch': No such file or directory Common C:\Users\Dillon\comp\dolphin\Source\Core\Common\Debug\Watches.cpp 1
Error C1083 Cannot open compiler intermediate file: 'c:\users\dillon\comp\dolphin\build\arm64\release\pch\pch.pch': No such file or directory Common C:\Users\Dillon\comp\dolphin\Source\Core\Common\Debug\MemoryPatches.cpp 1
Error C1083 Cannot open compiler intermediate file: 'c:\users\dillon\comp\dolphin\build\arm64\release\pch\pch.pch': No such file or directory Common C:\Users\Dillon\comp\dolphin\Source\Core\Common\Arm64Emitter.cpp 1
Error C1083 Cannot open compiler intermediate file: 'c:\users\dillon\comp\dolphin\build\arm64\release\pch\pch.pch': No such file or directory Common C:\Users\Dillon\comp\dolphin\Source\Core\Common\Config\Layer.cpp 1
Error C1083 Cannot open compiler intermediate file: 'c:\users\dillon\comp\dolphin\build\arm64\release\pch\pch.pch': No such file or directory Common C:\Users\Dillon\comp\dolphin\Source\Core\Common\Analytics.cpp 1
Error C1083 Cannot open compiler intermediate file: 'c:\users\dillon\comp\dolphin\build\arm64\release\pch\pch.pch': No such file or directory Common C:\Users\Dillon\comp\dolphin\Source\Core\Common\Config\Config.cpp 1
Error C1083 Cannot open compiler intermediate file: 'c:\users\dillon\comp\dolphin\build\arm64\release\pch\pch.pch': No such file or directory Common C:\Users\Dillon\comp\dolphin\Source\Core\Common\ArmCPUDetect.cpp 1
Error C1083 Cannot open compiler intermediate file: 'c:\users\dillon\comp\dolphin\build\arm64\release\pch\pch.pch': No such file or directory Common C:\Users\Dillon\comp\dolphin\Source\Core\Common\CDUtils.cpp 1
Error C1083 Cannot open compiler intermediate file: 'c:\users\dillon\comp\dolphin\build\arm64\release\pch\pch.pch': No such file or directory Common C:\Users\Dillon\comp\dolphin\Source\Core\Common\CompatPatches.cpp 1
Error D8040 error creating or communicating with child process Common C:\Users\Dillon\comp\dolphin\Source\Core\Common\cl 1
Error C1083 Cannot open compiler intermediate file: 'c:\users\dillon\comp\dolphin\build\arm64\release\pch\pch.pch': No such file or directory AudioCommon C:\Users\Dillon\comp\dolphin\Source\Core\AudioCommon\AudioStretcher.cpp 1
Error C1083 Cannot open compiler intermediate file: 'c:\users\dillon\comp\dolphin\build\arm64\release\pch\pch.pch': No such file or directory InputCommon

The same error is listed about 100 more times for other projects and files. I have tried googling this error but really couldn't find anything applicable.

EDIT/UPDATE:

I am now getting a slightly different error.
Code:
Severity    Code    Description    Project    File    Line    Suppression State
Error (active)    E1696    cannot open source file "C:\USERS\DILLON\COMP\DOLPHIN\SOURCE\PCH\PCH.H"    pch        0    
Error (active)    E2998    PCH warning: an unknown error occurred.  An IntelliSense PCH file was not generated.    pch        0    
Error    C2220    the following warning is treated as an error
#include "pch.h"
^    pch    C:\Users\Dillon\comp\dolphin\Source\PCH\pch.cpp    5    
Warning    C4622    overwriting debug information formed during creation of the precompiled header in object file: 'C:\Users\Dillon\comp\dolphin\Build\ARM64\Release\pch\pch.obj'
#include "pch.h"
^    pch    C:\Users\Dillon\comp\dolphin\Source\PCH\pch.cpp    5    
Error    C1854    cannot overwrite information formed during creation of the precompiled header in object file: 'C:\Users\Dillon\comp\dolphin\Build\ARM64\Release\pch\pch.obj'
#include "pch.h"
^    pch    C:\Users\Dillon\comp\dolphin\Source\PCH\pch.cpp    5    
Error    MSB3721    The command "..\Externals\gettext\msgfmt -o "C:\Users\Dillon\comp\dolphin\Source\..\Binary\ARM64\Languages\ar\dolphin-emu.mo"   po\ar.po" exited with code 1.    Languages    C:\Users\Dillon\comp\dolphin\Languages\po.targets    45    
Error    C1083    Cannot open compiler intermediate file: 'c:\users\dillon\comp\dolphin\build\arm64\release\pch\pch.pch': No such file or directory    Common    C:\Users\Dillon\comp\dolphin\Source\Core\Common\CommonFuncs.cpp    1    
Error    C1083    Cannot open compiler intermediate file: 'c:\users\dillon\comp\dolphin\build\arm64\release\pch\pch.pch': No such file or directory    Common    C:\Users\Dillon\comp\dolphin\Source\Core\Common\Debug\MemoryPatches.cpp    1    
Error    C1083    Cannot open compiler intermediate file: 'c:\users\dillon\comp\dolphin\build\arm64\release\pch\pch.pch': No such file or directory    Common    C:\Users\Dillon\comp\dolphin\Source\Core\Common\ColorUtil.cpp    1    
Error    C1083    Cannot open compiler intermediate file: 'c:\users\dillon\comp\dolphin\build\arm64\release\pch\pch.pch': No such file or directory    Common    C:\Users\Dillon\comp\dolphin\Source\Core\Common\Config\ConfigInfo.cpp    1    
etc.

I have tried the following fixes:
https://stackoverflow.com/questions/3479...-directory
https://stackoverflow.com/questions/6096...g-on-build

But neither really helped. I've also modified my include directories to include
Code:
C:\Users\Dillon\comp\dolphin\Source\PCH
, but that has not helped either. I checked my project macros, and they seemed correct although I don't know how to verify that. I would post them here but I could not copy/paste it.

I will be happy to provide more information as needed.

My profile does not include my build version as I have no idea where I can find that - but if it helps, I cloned the repo around 11pm on March 6th 2020.

Please and thank you!

omzig97

I'm attaching the build output text to this post in case it helps.

amino

I didn't want to revive this thread but I'm getting the exact same error and I have no idea how to fix it (especially since I was able to build it earlier but am not able to anymore). I have been deleting and regetting the repo multiple times but that hasn't seemed to fix the issue.

Edit: Turns out after I updated visual studio 2019, it fixed this error and is now able to build properly.