Quantcast
Channel: OPC Labs - OPC Labs - Recent Topics - OPC Labs Online Forums
Viewing all articles
Browse latest Browse all 1794

Cannot Compile mscorlib.tlh (C++, VS 2017) - by: MPick

$
0
0
Hi,

I've attempted to add quick OPC to our visual studio project. As far as I can tell I've replicated the project setup from the examples (which I re-targeted to the v141 toolset and compiled just fine.)

Based on the headers in the examples, the header where I would like to interface with Quick OPC looks like this:



I've copied the SDK folder into my visual studio project (it's policy for us to keep our dependencies in a 'deps' folder), and set up VS to copy the appropriate files to our output directory + correctly link QuickOPC.h.

However when I try to compile I run into problems with mscorlib.tlh (& .tli), many syntax errors are thrown. Many of the errors look like:


See the attached file 'pcs-supervisor.log' which is the build log (with the highest verbosity) from visual studio for more. I have also included the projects .vcxproj file.

Is there a setting in my configuration that is incompatible with mscorlib? I've googled around already no no avail.

Please let me know if there's any other useful information I can provide.

Thanks,

(PS, sorry for resubmitting, files didn't attach.)

Viewing all articles
Browse latest Browse all 1794

Trending Articles