diff --git a/src/main.cpp b/src/main.cpp index e71dbed..6134330 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,5 +1,6 @@ #include #include "SDL.h" +#include "nfd.h" #include "Chip8.h" #define SCREEN_WIDTH 64 diff --git a/src/premake5.lua b/src/premake5.lua index 578a49f..4342821 100644 --- a/src/premake5.lua +++ b/src/premake5.lua @@ -7,8 +7,8 @@ workspace "Octo" kind "ConsoleApp" language "C++" files { "**.h", "**.cpp" } - includedirs { "depend/SDL2-2.0.5/include" } - libdirs { "depend/SDL2-2.0.5/lib/x86" } + includedirs { "depend/SDL2-2.0.5/include", "depend/nativefiledialog-master/src/include" } + libdirs { "depend/SDL2-2.0.5/lib/x86", "depend/nativefiledialog-master/build/lib/Release/x86" } debugargs { "pong2.c8" } debugdir "../" targetdir ("../") @@ -17,9 +17,9 @@ workspace "Octo" defines { "DEBUG" } flags { "Symbols" } targetsuffix "_d" - links { "SDL2", "SDL2main" } + links { "SDL2", "SDL2main", "nfd" } filter "configurations:Release" defines { "NDEBUG" } optimize "On" - links { "SDL2", "SDL2main" } \ No newline at end of file + links { "SDL2", "SDL2main", "nfd" } \ No newline at end of file