Page 1 of 2

Problem with Samples in C++ SDK

Posted: 13 Jun 2019, 21:16
by Ylly
I have error when im trying to build any of tutorial samples of C++ sdk
Image

What should i check? May be i need some components tune in Visual Studio?

Re: Problem with Samples in C++ SDK

Posted: 14 Jun 2019, 14:20
by jsantos
What version of Visual Studio are you using?

Each sample comes with two projects, the C++ version and the C# version (for editing the XAML in Visual Studio and Blend). Could you please tell me the name of the project that is not compiling?

Re: Problem with Samples in C++ SDK

Posted: 14 Jun 2019, 22:27
by Ylly
I have 2017. I tried compile "Inventory", "HelloWorld" and others all c++ versions with windows_x86_64.

Re: Problem with Samples in C++ SDK

Posted: 14 Jun 2019, 22:41
by jsantos
Could you please paste the building log of a full rebuild of "HelloWorld" (only that)

Re: Problem with Samples in C++ SDK

Posted: 15 Jun 2019, 00:56
by Ylly
1>------ Rebuild All started: Project: HelloWorld, Configuration: Debug x64 ------
1>App.xaml
1>MainWindow.xaml
1>Main.cpp
1>LINK : fatal error LNK1104: cannot open file 'NoesisApp.lib'
1>Done building project "Samples.HelloWorld.vcxproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

Re: Problem with Samples in C++ SDK

Posted: 15 Jun 2019, 01:14
by jsantos
The sample is compiling fine but it seems 'NoesisApp' is missing or got an error. Could you please also compile that library and paste the log?

Re: Problem with Samples in C++ SDK

Posted: 15 Jun 2019, 01:33
by Ylly
Recompiling library solved my problem. In Lib folder was only Noesis.lib now Noesis.lib and NoesisApp.lib

Re: Problem with Samples in C++ SDK

Posted: 15 Jun 2019, 01:38
by jsantos
I think you forgot to 'Rebuild All' solution.

Re: Problem with Samples in C++ SDK

Posted: 07 Dec 2019, 21:06
by jz497
Can someone please provide the details on how to resolve this error?
I've tried to "rebuild All solution" in VS 2017 and still get the same error.

Error:
1>------ Build started: Project: HelloWorld, Configuration: Debug x64 ------
1>LINK : fatal error LNK1104: cannot open file 'NoesisApp.lib'
1>Done building project "Samples.HelloWorld.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Re: Problem with Samples in C++ SDK

Posted: 07 Dec 2019, 21:46
by jsantos
Could you please paste your log?