mingingmingler
Topic Author
Posts: 28
Joined: 15 Jan 2018, 00:03

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

16 Mar 2023, 18:14

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.
 
User avatar
hcpizzi
Site Admin
Posts: 331
Joined: 09 Feb 2012, 12:40

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

17 Mar 2023, 09:32

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
 
mingingmingler
Topic Author
Posts: 28
Joined: 15 Jan 2018, 00:03

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

17 Mar 2023, 13:56

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.
 
User avatar
hcpizzi
Site Admin
Posts: 331
Joined: 09 Feb 2012, 12:40

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

20 Mar 2023, 12:46

Glad you got it working!

Who is online

Users browsing this forum: Bing [Bot] and 5 guests