Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Intel C++ compiler

We use Visual Studio C++ as a compiler. To improve the power of compiled application we woud like to use Intel C++ compiler (see on web). However, it's not capable of compiling NI components! Do anyone know about the compatibility of NI components with Intel compiler?
0 Kudos
Message 1 of 4
(3,570 Views)
Hello

This is not something we have tested with the Measurement Studio components, hence we dont officially support it. But Im assuming if the Intel compiler is fully compatible with MFC components and the Visual Studio IDE, it should work with the Measurement Studio components as well, just a matter of configuring it correctly ( defines, component paths etc.. ). But it might require tinkering.. Try checking out the project properties and matching it up with the Intel compiler settings.

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 4
(3,570 Views)
The problem exists with all the following declarations:

//Returns the plot to use as a template for new plots.
__declspec(property(get=GetPlotTemplate)) CNiPlot PlotTemplate;

The compiler notifies as follows:

:\Program Files\National Instruments\MeasurementStudio\VC\Include\NiGraph.h(614): error: incomplete type is not allowed
__declspec(property(get=GetPlotTemplate)) CNiPlot PlotTemplate;

Is there any project option which help to get rid of this problem or other ideas?
0 Kudos
Message 3 of 4
(3,570 Views)
I'm guessing that there are errors for __declspec property because that is a Microsoft-specific C++ extension. I don't know of any Visual C++ project option related to this, and I've never seen the Intel C++ compiler, so I'm not sure what options it has. You could try commenting out the __declspec property lines in your headers.

- Elton
0 Kudos
Message 4 of 4
(3,570 Views)