Project

General

Profile

Emulator Issues #12544

Dolphin failed to build due to "fatal error C1083: Cannot open include file: 'FreeSurround/ChannelMaps.h': No such file or directory"

Added by QuellaZhang 13 days ago.

Status:
New
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Hi All,

Environment:
VS 2019 + Windows Server 2016 + dolphin master branch latest source code.

Dolphin failed to build due to 'fatal error C1083: Cannot open include file: 'FreeSurround/ChannelMaps.h': No such file or directory' with MSVC on windows, all errors come from "Externals" folder. It can be reproduced on latest commit c729852d72f7dcd9877fd4b4a002a0f0d91dcd66. Could you please help take a look at this issue?

Repro steps:
1. git clone https://github.com/dolphin-emu/dolphin.git F:\gitP\dolphin-emu\dolphin
2. git submodule init
3. git submodule update --recursive
4. Open a VS 2019 x64 command prompt and browse to F:\gitP\dolphin-emu\dolphin\Source
5. set CL=/D_HAS_DEPRECATED_RESULT_OF=1 /D_SILENCE_CXX17_RESULT_OF_DEPRECATION_WARNING /wd5054
6. msbuild /m /p:Platform=x64 /p:Configuration=Release /p:WindowsTargetPlatformVersion=10.0.19041.0 dolphin-emu.sln /t:Dolphin

Actual result:
F:\gitP\dolphin-emu\dolphin\Externals\FreeSurround\source\ChannelMaps.cpp(18,1): fatal error C1083: Cannot open include file: 'FreeSurround/ChannelMaps.h': No such file or directory [F:\gitP\dolphin-emu\dolphin\Externals\FreeSurround\FreeSurround.vcxproj]
F:\gitP\dolphin-emu\dolphin\Externals\FreeSurround\source\ChannelMaps.cpp(18,1): fatal error C1083: #include "FreeSurround/ChannelMaps.h" [F:\gitP\dolphin-emu\dolphin\Externals\FreeSurround\FreeSurround.vcxproj]
F:\gitP\dolphin-emu\dolphin\Externals\FreeSurround\source\ChannelMaps.cpp(18,1): fatal error C1083: ^ [F:\gitP\dolphin-emu\dolphin\Externals\FreeSurround\FreeSurround.vcxproj]

build.log (596 KB) build.log QuellaZhang, 06/08/2021 06:54 AM

Also available in: Atom PDF