Page 1 of 1

New UE 5.1 integration fails to build due to instances of NsApp includes

Posted: 16 Mar 2023, 18:14
by mingingmingler
Example:
Plugins\NoesisGUI\Source\NoesisEditor\Private\NoesisEditorModule.cpp(60): fatal error C1083: Cannot open include file: 'NsApp/LangServer.h': No such file or directory
I can adjust the include paths to NsApp headers to be more specific, and they build, but I guess it shouldn't be like this.

Re: New UE 5.1 integration fails to build due to instances of NsApp includes

Posted: 17 Mar 2023, 09:32
by hcpizzi
Hi,

The include path is added in Noesis.Build.cs:
		if (Target.Type == TargetType.Editor)
		{
			PublicIncludePaths.Add(Path.Combine(NoesisBasePath, "Src", "Packages", "App", "LangServer", "Include"));
		}
Could you please verify that your version contains those lines?

Thanks

Re: New UE 5.1 integration fails to build due to instances of NsApp includes

Posted: 17 Mar 2023, 13:56
by mingingmingler
My Noesis.Build.cs does include those lines. I did a clean integration by deleting the previous Plugins/NoesisGUI dir and copying in the new one.

Edit: I typically run the debug editor, so I switched to development and it built correctly; I then switched back to debug and that too built fine. Must have been some UE unity weirdness.

Re: New UE 5.1 integration fails to build due to instances of NsApp includes

Posted: 20 Mar 2023, 12:46
by hcpizzi
Glad you got it working!