From 26fca9f8eea5809b22dd3580595afa6cedd8a374 Mon Sep 17 00:00:00 2001 From: "Jonas_sorgenfrei@yahoo.de" Date: Fri, 18 Mar 2022 21:08:30 +0100 Subject: [PATCH 1/2] adding x64 bit adding VS Studio dlls to debugger env --- CMakeLists.txt | 2 +- configuration/visualstudio.vcxproj.user.in | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 851b742..6d8f205 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required (VERSION 3.0) cmake_policy(VERSION 3.0) -project (LearnOpenGL) +project(LearnOpenGL) set(CMAKE_CXX_STANDARD 17) # this does nothing for MSVC, use target_compile_options below set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/configuration/visualstudio.vcxproj.user.in b/configuration/visualstudio.vcxproj.user.in index 46ba5d6..6d01597 100644 --- a/configuration/visualstudio.vcxproj.user.in +++ b/configuration/visualstudio.vcxproj.user.in @@ -3,10 +3,24 @@ $(TargetPath) $(OutDir) + PATH=@CMAKE_SOURCE_DIR@/dlls;%PATH% WindowsLocalDebugger $(TargetPath) + PATH=@CMAKE_SOURCE_DIR@/dlls;%PATH% + $(OutDir) + WindowsLocalDebugger + + + $(TargetPath) + $(OutDir) + PATH=@CMAKE_SOURCE_DIR@/dlls;%PATH% + WindowsLocalDebugger + + + $(TargetPath) + PATH=@CMAKE_SOURCE_DIR@/dlls;%PATH% $(OutDir) WindowsLocalDebugger From 0ed1ebe03942367e966a541a6281935e09a29acf Mon Sep 17 00:00:00 2001 From: "Jonas_sorgenfrei@yahoo.de" Date: Sat, 19 Mar 2022 11:36:29 +0100 Subject: [PATCH 2/2] edited readme --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index c7ee52a..183ca4e 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ Contains code samples for all chapters of Learn OpenGL and [https://learnopengl. ## Windows building All relevant libraries are found in /libs and all DLLs found in /dlls (pre-)compiled for Windows. The CMake script knows where to find the libraries so just run CMake script and generate project of choice. -Note that you still have to manually copy the required .DLL files from the /dlls folder to your binary folder for the binaries to run. Keep in mind the supplied libraries were generated with a specific compiler version which may or may not work on your system (generating a large batch of link errors). In that case it's advised to build the libraries yourself from the source.