<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Build Error: my 1st IEC component in VS2010</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ca6e05841e/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ca6e05841e/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/ca6e05841e/</id><updated>2020-02-27T13:48:46.838000Z</updated><subtitle>Recent posts to Build Error: my 1st IEC component in VS2010</subtitle><entry><title>Build Error: my 1st IEC component in VS2010</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ca6e05841e/?limit=25#75d3" rel="alternate"/><published>2020-02-27T13:48:46.838000Z</published><updated>2020-02-27T13:48:46.838000Z</updated><author><name>liuyongzhi</name><uri>https://forge.codesys.com/u/liuyongzhi/</uri></author><id>https://forge.codesys.coma74f542e48ae603c6fb97a0ab97e0780a744592c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I followed the tutorial to create an IEC runtime component. All source files, .h, .c, .m4, .bat are ready to build in the VS 2010.&lt;br/&gt;
Make use of the windows solution project in the Toolkit, and replace those CmpTemplate.&lt;em&gt; by MyLibrary.&lt;/em&gt;, the building error reads:&lt;/p&gt;
&lt;p&gt;Error   1   error C1083: Cannot open include file: 'sysdefines.h': No such file or directory    c:\program files\codesys runtime toolkit\components\cmpstd.h    21  1   CmpTemplate&lt;/p&gt;
&lt;p&gt;Where should I check? Thanks.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[img]&lt;/span&gt;C:\Users\302014330\Desktop\Untitled.jpg&lt;span&gt;[/img]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Untitled.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=683"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>