From 561c486ceb2d1563fbcd0bec60a1f1d9e94cb7c0 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Fri, 10 May 2019 20:51:48 +0200 Subject: Add WinMM library for linkage Now it's required on Windows if not using a busy wait loop --- projects/Geany/raylib_compile_execute.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'projects/Geany/raylib_compile_execute.bat') diff --git a/projects/Geany/raylib_compile_execute.bat b/projects/Geany/raylib_compile_execute.bat index a62a1aca..eeba0b05 100644 --- a/projects/Geany/raylib_compile_execute.bat +++ b/projects/Geany/raylib_compile_execute.bat @@ -13,7 +13,7 @@ cmd /c if exist %NAME_PART%.exe del /F %NAME_PART%.exe :: . :: > Compiling program :: -------------------------- -gcc -o %NAME_PART%.exe %FILE_NAME% %RAYLIB_DIR%\raylib.rc.data -s -O2 -I../../src -Iexternal -lraylib -lopengl32 -lgdi32 -std=c99 -Wall -mwindows +gcc -o %NAME_PART%.exe %FILE_NAME% %RAYLIB_DIR%\raylib.rc.data -s -O2 -I../../src -Iexternal -lraylib -lopengl32 -lgdi32 -lwinmm -std=c99 -Wall -mwindows :: . :: . > Executing program :: ------------------------- -- cgit v1.2.3 From df7a0582160537f3962a6ab46e1dadc034f56458 Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 5 Jun 2019 00:04:31 +0200 Subject: Review projects paths --- projects/4coder/Makefile | 4 ++-- projects/CodeBlocks/core_basic_window.cbp | 8 ++++---- projects/Geany/raylib_compile_execute.bat | 4 ++-- projects/Geany/raylib_compile_sources.bat | 6 +++--- projects/VSCode/.vscode/c_cpp_properties.json | 2 +- projects/VSCode/.vscode/launch.json | 4 ++-- projects/VSCode/.vscode/tasks.json | 4 ++-- projects/VSCode/Makefile | 4 ++-- 8 files changed, 18 insertions(+), 18 deletions(-) (limited to 'projects/Geany/raylib_compile_execute.bat') diff --git a/projects/4coder/Makefile b/projects/4coder/Makefile index 63d093a2..a00f4fab 100644 --- a/projects/4coder/Makefile +++ b/projects/4coder/Makefile @@ -27,7 +27,7 @@ PROJECT_NAME ?= game RAYLIB_VERSION ?= 2.5.0 RAYLIB_API_VERSION ?= 2 -RAYLIB_PATH ?= C:\GitHub\raylib +RAYLIB_PATH ?= ..\.. # Define default options @@ -200,7 +200,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) ifeq ($(PLATFORM_OS),WINDOWS) # resource file contains windows executable icon and properties # -Wl,--subsystem,windows hides the console window - CFLAGS += $(RAYLIB_PATH)/raylib.rc.data -Wl,--subsystem,windows + CFLAGS += $(RAYLIB_PATH)/src/raylib.rc.data -Wl,--subsystem,windows endif ifeq ($(PLATFORM_OS),LINUX) ifeq ($(RAYLIB_LIBTYPE),STATIC) diff --git a/projects/CodeBlocks/core_basic_window.cbp b/projects/CodeBlocks/core_basic_window.cbp index 0000860f..c4b22a9e 100644 --- a/projects/CodeBlocks/core_basic_window.cbp +++ b/projects/CodeBlocks/core_basic_window.cbp @@ -13,11 +13,11 @@