Failed to compile plugin source code.

I wanted to make a Plugin for my project, but when I try to hit Create Plugin, it gives me this error:

Failed to compile plugin source code. See output log for more information.

Output log:

[2023.02.18-17.10.29:890][596][1/6] Resource Default.rc2
[2023.02.18-17.10.30:192][596][2/6] Link UnrealEditor-VS2022_IntelliCode.dll
[2023.02.18-17.10.30:192][596]LINK : fatal error LNK1104: Datei "C:\Users\opper\Documents\Unreal Projects\VS2022_IntelliCode\Binaries\Win64\UnrealEditor-VS2022_IntelliCode.dll" kann nicht ge?ffnet werden.
[2023.02.18-17.10.32:805][596][3/6] Compile Module.IGZ_FileFormat.cpp
[2023.02.18-17.10.32:805][596]C:\Users\opper\Documents\Unreal Projects\VS2022_IntelliCode\Plugins\IGZ_FileFormat\Source\IGZ_FileFormat\Private\IGZ_FileFormatEditorModeCommands.cpp(13): warning C4996: 'FEditorStyle::GetStyleSetName': FEditorStyle::GetStyleSetName() is deprecated, use FAppStyle::GetAppStyleSetName() instead. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
[2023.02.18-17.10.32:805][596][4/6] Link UnrealEditor-IGZ_FileFormat.lib
[2023.02.18-17.10.32:805][596]   Bibliothek "C:\Users\opper\Documents\Unreal Projects\VS2022_IntelliCode\Plugins\IGZ_FileFormat\Intermediate\Build\Win64\UnrealEditor\Development\IGZ_FileFormat\UnrealEditor-IGZ_FileFormat.lib" und Objekt "C:\Users\opper\Documents\Unreal Projects\VS2022_IntelliCode\Plugins\IGZ_FileFormat\Intermediate\Build\Win64\UnrealEditor\Development\IGZ_FileFormat\UnrealEditor-IGZ_FileFormat.exp" werden erstellt.
[2023.02.18-17.10.33:410][596][5/6] Link UnrealEditor-IGZ_FileFormat.dll
[2023.02.18-17.10.33:410][596]   Bibliothek "C:\Users\opper\Documents\Unreal Projects\VS2022_IntelliCode\Plugins\IGZ_FileFormat\Intermediate\Build\Win64\UnrealEditor\Development\IGZ_FileFormat\UnrealEditor-IGZ_FileFormat.suppressed.lib" und Objekt "C:\Users\opper\Documents\Unreal Projects\VS2022_IntelliCode\Plugins\IGZ_FileFormat\Intermediate\Build\Win64\UnrealEditor\Development\IGZ_FileFormat\UnrealEditor-IGZ_FileFormat.suppressed.exp" werden erstellt.
[2023.02.18-17.10.33:410][596][6/6] WriteMetadata VS2022_IntelliCodeEditor.target cancelled
[2023.02.18-17.10.37:625][596]LogWindowsTextInputMethodSystem: Activated input method: Deutsch (Ă–sterreich) - (Keyboard).
[2023.02.18-17.10.37:625][596]LogWindowsTextInputMethodSystem: Activated input method: Deutsch (Ă–sterreich) - (Keyboard).

Maybe you encountered this error before, and you know how to fix this?
Help would be appreciated :slight_smile:


image

1 Like

Hi NewSkyLineYT,

Try fixing this one first (just replace as it states):

1 Like

Thanks for the answer, but I can’t fix it, because the file doesn’t exist after it gives me the warning that the source code couldn't compile.

Looks like it fixed itself after creating a new project, maybe the name was the issue, don’t know :sweat_smile: But thanks :slight_smile:

2 Likes

Maybe will help others:
Try to remove binaries and rebuild and then create the Plugin from the Editor.
I’ve also closed VisualStudio for the creation time to not have it latch onto some files just in case.

8 Likes

Removing binaries is working, thanks

4 Likes

yeah…plugin name = project name = mess/fail…

2 Likes

Thank you! That solved my issue!

1 Like