• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 ... 46 47 48 49 50 ... 1189 Next »

Can't build dolphin solution
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Can't build dolphin solution
03-07-2020, 05:54 PM
#1
omzig97
Unregistered
 
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/34799503/compile-error-cannot-open-precompiled-header-pch-no-such-file-or-directory
https://stackoverflow.com/questions/6096384/how-to-fix-pch-file-missing-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!
Reply
03-09-2020, 03:20 PM
#2
omzig97
Unregistered
 
I'm attaching the build output text to this post in case it helps.


Attached Files
.txt   output.txt (Size: 44.64 KB / Downloads: 88)
Reply
08-06-2021, 03:16 PM (This post was last modified: 08-07-2021, 05:54 AM by amino. Edit Reason: Problem fixed. )
#3
amino Offline
Junior Member
**
Posts: 4
Threads: 3
Joined: Jul 2021
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.
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode