From 8ede65a820c7115962fdfad6da314a85f9c0e61c Mon Sep 17 00:00:00 2001 From: Wei Feng Lin Date: Tue, 3 Sep 2024 15:00:40 +0800 Subject: [PATCH] edid-decode: Fix Visual Studio builds. Add utf-8 option and parse-if.cpp file. Add the /utf-8 option to resolve the issue of not being able to compile parse-base-block.cpp. Include parse-if.cpp in the compilation to resolve the issue of missing parse_if_vendor and other functions during linking. Signed-off-by: Wei Feng Lin Signed-off-by: Hans Verkuil --- vs/edid-decode.vcxproj | 3 +++ vs/edid-decode.vcxproj.filters | 3 +++ 2 files changed, 6 insertions(+) diff --git a/vs/edid-decode.vcxproj b/vs/edid-decode.vcxproj index 7b840ac..2c21187 100644 --- a/vs/edid-decode.vcxproj +++ b/vs/edid-decode.vcxproj @@ -59,6 +59,7 @@ true $(ProjectDir);%(AdditionalIncludeDirectories) 4244; 4018; 4267; 4996; 26451; 6385; 6001 + /utf-8 Console @@ -86,6 +87,7 @@ $(ProjectDir);%(AdditionalIncludeDirectories) 4244; 4018; 4267; 4996; 26451; 6385; 6001 MultiThreaded + /utf-8 Console @@ -97,6 +99,7 @@ + diff --git a/vs/edid-decode.vcxproj.filters b/vs/edid-decode.vcxproj.filters index b98ab04..0b78516 100644 --- a/vs/edid-decode.vcxproj.filters +++ b/vs/edid-decode.vcxproj.filters @@ -43,6 +43,9 @@ edid-decode + + edid-decode + -- 2.11.4.GIT