<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Trouble with User-defined Libraries</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/504118a294/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/504118a294/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/504118a294/</id><updated>2020-02-27T22:50:23.634000Z</updated><subtitle>Recent posts to Trouble with User-defined Libraries</subtitle><entry><title>Trouble with User-defined Libraries</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/504118a294/?limit=25#c757" rel="alternate"/><published>2020-02-27T22:50:23.634000Z</published><updated>2020-02-27T22:50:23.634000Z</updated><author><name>Ralph Holz</name><uri>https://forge.codesys.com/u/ralph-holz/</uri></author><id>https://forge.codesys.com3a9b05ecfb8605bfddf36614227ec542540e06a0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;try to save your library as "internal Library" and it will work! Thats the way to save a in CoDeSys written (internal) Library.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Ralph&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Trouble with User-defined Libraries</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/504118a294/?limit=25#2d57" rel="alternate"/><published>2020-02-27T22:50:19.163000Z</published><updated>2020-02-27T22:50:19.163000Z</updated><author><name>saj-khan</name><uri>https://forge.codesys.com/u/saj-khan/</uri></author><id>https://forge.codesys.com3a21fd5d046eff0b40b5de20d297247d0eb268c3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Ralph Holz hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Hi&lt;br/&gt;
Did you save your library as "External Library"? That was the first idea wich came in my mind. If you create a library wich contains code written in CoDeSys you have to save it as internal library. For an external lib the code must be part or extension of the runtime system. If there are functions missing you get exactly the error message you mentioned. &lt;br/&gt;
Regards&lt;br/&gt;
Ralph&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Hi Ralph,&lt;/p&gt;
&lt;p&gt;Yes,I did save it as external library.And also tried saving it as external library 2.1 and 2.2.I have also included this library along with the standard library in my application.But the same error always.&lt;/p&gt;
&lt;p&gt;A few days back some CoDeSys installation files in WinXP were corrupted due to a virus.I had to delete some files as cleaning and then repair the installation.Do you think this could be the cause?I will try to uninstall and then reinstall the software.&lt;/p&gt;
&lt;p&gt;Thanks for your help.&lt;/p&gt;
&lt;p&gt;Sajid Khan&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Trouble with User-defined Libraries</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/504118a294/?limit=25#14e2" rel="alternate"/><published>2020-02-27T22:50:17.561000Z</published><updated>2020-02-27T22:50:17.561000Z</updated><author><name>Ralph Holz</name><uri>https://forge.codesys.com/u/ralph-holz/</uri></author><id>https://forge.codesys.comb5cf844f7e46c7c12ad4f3c30a7396ecf9d88d25</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Did you save your library as "External Library"? That was the first idea wich came in my mind. If you create a library wich contains code written in CoDeSys you have to save it as internal library. For an external lib the code must be part or extension of the runtime system. If there are functions missing you get exactly the error message you mentioned. &lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Ralph&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Trouble with User-defined Libraries</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/504118a294/?limit=25#a36d" rel="alternate"/><published>2020-02-27T22:50:13.055000Z</published><updated>2020-02-27T22:50:13.055000Z</updated><author><name>saj-khan</name><uri>https://forge.codesys.com/u/saj-khan/</uri></author><id>https://forge.codesys.com182e4b2048de57bad48ea462823a8afca7e2475d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am evaluating the older version of CoDeSys(ver 2.something).I wrote a new library containing a function block for motor control.I included the standard library in this library because my function block uses other function blocks from the standard library.&lt;/p&gt;
&lt;p&gt;The problem is whenever I create a new program in which I use my function block and then download it to SP RTE I get an error "unresolved external POUs".&lt;/p&gt;
&lt;p&gt;I am not sure if the problem is with the version of the library I am using while saving it or anyother.&lt;/p&gt;
&lt;p&gt;Please help to resolve this. &lt;/p&gt;
&lt;p&gt;Sajid Khan.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>