10-28-2016 01:30 PM
Hi,
Including window.h makes this project not compile in CVI 2015 Service Pack 1 [ Version 15.0.1 ( 239 ) ]
I am on Windows 7 64 bit
The project is just the example project except for the include at the top.
Thanks
Cheers
Ram
Solved! Go to Solution.
10-30-2016 01:07 PM
Your project compiles fine on my system: what errors are you receiving? Please post the build log so that we can examine it.
I see you have included several libraries and your project is a 64-bit one: are you sure you have the 64-bit release of each of them?
10-31-2016 12:18 PM
Hi Roberto,
Thanks for looking at this issue. I have attached the build log. Except for adding regex.fp, I have not added any other library to the project. The compile errors are repeatable without adding any libraries.
Thanks
Cheers
Ram
10-31-2016 05:25 PM
The majority if not all errors refer to sal.h include file so the primary question is whether you have this file in your system or not.
I saw discussions in some other forums that claim that sal.h is not distributed with the SDK but is part of VS: I don't know who installed this file on my system but I know for sure I have some VS redistributables loaded by some installer.
11-01-2016 03:40 AM - edited 11-01-2016 03:42 AM
Rethinking to your situation, it is difficult to imagine that such a condition has not been addressed by NI or Microsoft when designing the IDE and the SDK; I would firstly check that all is correctly installed and configured. What I would do is to:
1. Try running any of the shipping example that make use of the SDK and see if the very same errors appear
2. Try a repair install of both CVI and the SDK
3. Try a complete uninstall on NI software and the SDK and a fresh reinstall of them only
11-08-2016 03:56 PM
Hi Roberto,
Thank you for the idea. starting with a shipping example [ winshape ] helped. If I kept adding my old files in to this project, I was able to mess the project up again, but now I have a better starting point to investigate that.
Thanks
Cheers
Ram