SRombauts / UEGitPlugin

Unreal Engine 5 Git LFS 2 Source Control Plugin (beta)
http://srombauts.github.io/UEGitPlugin
MIT License
806 stars 165 forks source link

Cannot Compile C++ Project in UnrealEngine 4.24.2 with the Plugin installed #122

Closed IgnacioMGarrido closed 4 years ago

IgnacioMGarrido commented 4 years ago

GitSourceControlProvider.cpp(22): fatal error C1083: Cannot open include file: 'IPluginManager.h': No such file or directory LogMainFrame: MainFrame: Module compiling took 66.394 seconds

freezernick commented 4 years ago

Try it with

#include "Interfaces/IPluginManager.h"
ccarvalheiro commented 4 years ago

Got the same problem today when upgrading, it fails after switching the DefaultBuildSettings to BuildSettingsVersion.V2 in older projects or new projects where that is the default already.

I opened a pull request #123 with the fix.

watermelon-xi commented 2 years ago

试试看

#包括 “接口/IPluginManager.h ”

thank you,but I have another question. How did you find this address.can you teach me.pleasse

freezernick commented 2 years ago

试试看

#包括 “接口/IPluginManager.h ”

thank you,but I have another question. How did you find this address.can you teach me.pleasse

You can use the API Documentation of the Unreal Engine to look for specific classes, functions etc.

When you are on a page of a class, you'll find the Include Path / Statement listed there.

E.g: https://docs.unrealengine.com/4.27/en-US/API/Runtime/Projects/Interfaces/IPluginManager/