Benito
Topic Author
Posts: 2
Joined: 21 Mar 2019, 17:10

Noesis GUI integration Visual Studio 2017

25 Mar 2019, 18:53

I am making an application with Visual Studio 2017 (I have alredy made part of it so I can not change the environment right now) and I would like to use Noesis Gui, the problem comes when including the Noesis headers in the c++ app.

Everything I tried gave plenty of compiler errors (didn't find any of the headers), so my question is, How should I include the necesary files in the blank c++ application VS2017?

OS: Windows 10 64bit
 
User avatar
jsantos
Site Admin
Posts: 4393
Joined: 20 Jan 2012, 17:18
Contact:

Re: Noesis GUI integration Visual Studio 2017

25 Mar 2019, 19:55

Are you able to compile the samples we provide with the C++ SDK?
 
Benito
Topic Author
Posts: 2
Joined: 21 Mar 2019, 17:10

Re: Noesis GUI integration Visual Studio 2017

26 Mar 2019, 18:23

Hi jsantos, I tried to compile the whole solution and got this:
Compilation_errors_NoesisGui.PNG
  • 27 projects correct
  • 9 projects incorrect
The problems only appear in blend´s projects.

Anyways, the compiler error that the sample project gives is not the same as ours. Our problem are the include directories as I mentioned before.

I make an empty project , add (in project properties --> C/C++ --> General --> Additional include Directories ) the include folder you provide.
This does not seem to work because using our own relative routes or even using the ones that are provided in the sample project does not make the headers visible.
Therefore we are not able to use or compile any of the scripts that attemp to use any Noesis Gui functionality.

How should we configure our project to use the Noesis headers properly?
 
User avatar
jsantos
Site Admin
Posts: 4393
Joined: 20 Jan 2012, 17:18
Contact:

Re: Noesis GUI integration Visual Studio 2017

27 Mar 2019, 00:36

Something wrong is happening when converting the 2015 solution to 2017, it is not bringing packages from NuGet. That explains all the errors you are getting from C# projects. I am analyzing this and will fix it for the next version.

But, C++ projects are compiling fine so please, have a look at the include and library settings from those projects and copy them into your project. It is also explained in the Integration Tutorial.
 
User avatar
sfernandez
Site Admin
Posts: 3264
Joined: 22 Dec 2011, 19:20

Re: Noesis GUI integration Visual Studio 2017

27 Mar 2019, 16:30

We've been investigating the compilation errors for the blend projects and discovered that our extensions package was not including all the dependant assemblies.
We uploaded a new version of Noesis.GUI.Extensions package which fixes those problems.

If you go to any of the failing blend projects in Visual Studio, right click "Manage NuGet Packages...", and update Noesis.GUI.Extensions to version 2.2.2 it should compile fine. You can also do that globally for all the projects by right clicking the solution, "Manage NuGet Packages for Solution...", selecting Noesis.GUI.Extensions package, and clicking the 'Update' button.

We fixed all the projects in our repository so next version of the SDK (coming soon) will work as expected.

Sorry for the inconveniences.

Who is online

Users browsing this forum: Semrush [Bot] and 4 guests