From 7928ac3b4c82ad39917460bfeacdc00272b09413 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Mon, 6 Feb 2023 23:53:32 +0100 Subject: [PATCH] Fix SDK Launcher compiler error Path has to be changed due to project include changes. The r5dev directory is no longer a system include, however, the compiler expects includes from system when compiling resources. --- r5dev/resource/sdklauncher.rc | 8 ++++---- r5dev/sdklauncher/sdklauncher_res.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/r5dev/resource/sdklauncher.rc b/r5dev/resource/sdklauncher.rc index 947d837f..b81b95ac 100644 --- a/r5dev/resource/sdklauncher.rc +++ b/r5dev/resource/sdklauncher.rc @@ -1,6 +1,6 @@ // Microsoft Visual C++ generated resource script. // -#include "sdklauncher/sdklauncher_res.h" +#include "../sdklauncher/sdklauncher_res.h" //#define RELEASE #ifndef DEDI_LAUNCHER @@ -29,7 +29,7 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US 1 TEXTINCLUDE BEGIN - "sdklauncher/sdklauncher_res.h\0" + "../sdklauncher/sdklauncher_res.h\0" END 2 TEXTINCLUDE @@ -56,9 +56,9 @@ END // remains consistent on all systems. #ifdef RELEASE -IDI_ICON1 ICON "resource\\ico\\sdklauncher_rel.ico" +IDI_ICON1 ICON "..\\resource\\ico\\sdklauncher_rel.ico" #else -IDI_ICON1 ICON "resource\\ico\\sdklauncher_dbg.ico" +IDI_ICON1 ICON "..\\resource\\ico\\sdklauncher_dbg.ico" #endif #endif // English (United States) resources diff --git a/r5dev/sdklauncher/sdklauncher_res.h b/r5dev/sdklauncher/sdklauncher_res.h index f37d4afb..5c6ac07c 100644 --- a/r5dev/sdklauncher/sdklauncher_res.h +++ b/r5dev/sdklauncher/sdklauncher_res.h @@ -2,7 +2,7 @@ // Microsoft Visual C++ generated include file. // Used by r5launch.rc // -#include "launcher/launcherdefs.h" +#include "../launcher/launcherdefs.h" #define IDI_ICON1 101 // Next default values for new objects