pgkt04 / defender-control

An open-source windows defender manager. Now you can disable windows defender permanently.
MIT License
1.4k stars 120 forks source link

Imggui files badly configured #8

Closed itsmepayback closed 2 years ago

itsmepayback commented 2 years ago

I am trying to compile your code in visual studio 2022 but it says that imgui.h file and other .h files related to imgui files are not there. As I explored the repository, I figured they are in the imgui folder. But even if they are here, it still says it cannot find them when compiling. Can you help with that?

pgkt04 commented 2 years ago

did you even set the build output to Release mode and x64 platform?

itsmepayback commented 2 years ago

Yes i did set it as release and kept it as x64 platform but it still cannot find the imgui files

pgkt04 commented 2 years ago

It probably somehow unlinked itself in your solution settings. I re-cloned it and tested and it compiles fine. try that or just relink the imgui files in your solution settings.

itsmepayback commented 2 years ago

okay, relinking the imgui header files seems to compile fine. But why didn't you also made an x86 version for compatibility?

itsmepayback commented 2 years ago

ok lol

pgkt04 commented 2 years ago

okay, relinking the imgui header files seems to compile fine. But why didn't you also made an x86 version for compatibility?

x86 requires different flags for setting certain registries. doing everything x64 is easier.