Category : premake

I was following this OpenGL tutorial on YouTube https://youtu.be/45MIykWJ-C4. but instead of following everything exactly, I tried to setup GLFW using premake. then I tried running with just the glfwInit() and received these errors Severity Code Description Project File Line Suppression State Error LNK2001 unresolved external symbol __imp_calloc OpenGl_sandbox C:devc++projectsOpenGLOpenGl_sandboxglfw3.lib(win32_joystick.obj) 1 Error LNK2001 unresolved external ..

Read more

I built opencv version 4.5.4 from the source on my Ubuntu and tried to run some code using premake5. this is my premake.lua file — premake5.lua workspace "Art" configurations { "Debug", "Release" } — cppdialect ‘C++11’ outputdir = "%{cfg.buildcfg}-%{cfg.system}" project "Art" kind "ConsoleApp" language "C++" targetdir ("bin/" .. outputdir .. "/%{prj.name}") objdir ("bin-int/" .. outputdir ..

Read more

First of all sorry for my bad english. i am trying to link raylib. Windows 10 PreMake version 5.0 g++ version 8.1.0 Directory // premake5.lua workspace "foo" architecture "x64" configurations {"Debug","Release"} outputdir = "%{cfg.buildcfg}-%{cfg.architecture}-%{cfg.system}" project "foo" location "./build/" kind "ConsoleApp" language "C++" targetdir "./build/%{cfg.buildcfg}" files { "./src/**.cpp", "./src/**.c", "./dependencies/**.h" } includedirs {"./dependencies/**"} links{"raylib"} libdirs{"./dependencies/**"} filter ..

Read more

Currently, I call SetProcessDPIAware() but the docs recommend using a manifest: We recommended that you specify the default process DPI awareness via a manifest setting. While specifying the default via API is supported, it is not recommended. Additionally, I find that on some machines calling SetProcessDPIAware() causes the window title to disappear and reappear which ..

Read more