Ylly
Topic Author
Posts: 7
Joined: 12 Jun 2019, 18:21

Problem with Samples in C++ SDK

13 Jun 2019, 21:16

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?

Tags:
 
User avatar
jsantos
Site Admin
Posts: 2802
Joined: 20 Jan 2012, 17:18
Contact:

Re: Problem with Samples in C++ SDK

14 Jun 2019, 14:20

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?
 
Ylly
Topic Author
Posts: 7
Joined: 12 Jun 2019, 18:21

Re: Problem with Samples in C++ SDK

14 Jun 2019, 22:27

I have 2017. I tried compile "Inventory", "HelloWorld" and others all c++ versions with windows_x86_64.
 
User avatar
jsantos
Site Admin
Posts: 2802
Joined: 20 Jan 2012, 17:18
Contact:

Re: Problem with Samples in C++ SDK

14 Jun 2019, 22:41

Could you please paste the building log of a full rebuild of "HelloWorld" (only that)
 
Ylly
Topic Author
Posts: 7
Joined: 12 Jun 2019, 18:21

Re: Problem with Samples in C++ SDK

15 Jun 2019, 00:56

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 ==========
 
User avatar
jsantos
Site Admin
Posts: 2802
Joined: 20 Jan 2012, 17:18
Contact:

Re: Problem with Samples in C++ SDK

15 Jun 2019, 01:14

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?
 
Ylly
Topic Author
Posts: 7
Joined: 12 Jun 2019, 18:21

Re: Problem with Samples in C++ SDK

15 Jun 2019, 01:33

Recompiling library solved my problem. In Lib folder was only Noesis.lib now Noesis.lib and NoesisApp.lib
 
User avatar
jsantos
Site Admin
Posts: 2802
Joined: 20 Jan 2012, 17:18
Contact:

Re: Problem with Samples in C++ SDK

15 Jun 2019, 01:38

I think you forgot to 'Rebuild All' solution.
 
jz497
Posts: 3
Joined: 06 Dec 2019, 18:45

Re: Problem with Samples in C++ SDK

07 Dec 2019, 21:06

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 ==========
 
User avatar
jsantos
Site Admin
Posts: 2802
Joined: 20 Jan 2012, 17:18
Contact:

Re: Problem with Samples in C++ SDK

07 Dec 2019, 21:46

Could you please paste your log?

Who is online

Users browsing this forum: Google [Bot] and 9 guests