<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to math.h Problem in Externel Lib</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/d5867001c9/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/d5867001c9/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/d5867001c9/</id><updated>2020-02-27T23:24:51.995000Z</updated><subtitle>Recent posts to math.h Problem in Externel Lib</subtitle><entry><title>math.h Problem in Externel Lib</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/d5867001c9/?limit=25#00df" rel="alternate"/><published>2020-02-27T23:24:51.995000Z</published><updated>2020-02-27T23:24:51.995000Z</updated><author><name>asifdip</name><uri>https://forge.codesys.com/u/asifdip/</uri></author><id>https://forge.codesys.com8596fbdb0de0a95c337739a498450593ad0960f9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi shooter,&lt;br/&gt;
Basically i can use SIN, COS TAN in CodeSys and I already used it. It is not my problem. I have a big Sun position algorithm and it is huge big, Anyway I want to link that C Code (Sun position algorithm) where math.h is present as external library. but I can not create an external library for math.h. So at first i want to create a simple external libray for math.h and with SIN, COS function. then I want to make an external library  for big SUN position algorithm. I hope, you got my problem.......&lt;/p&gt;
&lt;p&gt;Bye&lt;br/&gt;
Asif&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>math.h Problem in Externel Lib</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/d5867001c9/?limit=25#036b" rel="alternate"/><published>2020-02-27T23:24:50.311000Z</published><updated>2020-02-27T23:24:50.311000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.com44479f4002f6019f7ce590716172e7531854490a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;why you need to go external,&lt;br/&gt;
SIN is inside codesys and if needed better progs look at  w &lt;a class="" href="http://www.oscat.de" rel="nofollow"&gt;www.oscat.de&lt;/a&gt; w &lt;br/&gt;
(i saw btw 32bit, is this same type as in codesys?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>math.h Problem in Externel Lib</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/d5867001c9/?limit=25#5f9a" rel="alternate"/><published>2020-02-27T23:24:44.949000Z</published><updated>2020-02-27T23:24:44.949000Z</updated><author><name>asifdip</name><uri>https://forge.codesys.com/u/asifdip/</uri></author><id>https://forge.codesys.com0af85f1c089edb4f63d3d3d1423d1129b64169b9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
Can anybody tells me that why i have errors when I have creating an external Library in Visual c++. As normally I have no error when I create a simple external library with C (without SIN, COS or math.h) like  &lt;span style="color: 150%;"&gt;&lt;strong&gt;A=B+C;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;But when I write trigonometric function program (&lt;span style="color: 150%;"&gt;&lt;strong&gt;Y=SIN X&lt;/strong&gt;&lt;/span&gt; ) with &lt;strong&gt;math.h &lt;/strong&gt;in Visual C++ with Functional Block  then I have two errors.&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #FF0040;"&gt;Error:C:\DOCUMENTS AND SETTINGS\WIM\MIJN DOCUMENTEN\CODESYSTEST11\SIN_LIB.OBJ' (Symbol '_sin', Class 'EXTERNAL', Type 'REL32')&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Error:C:\DOCUMENTS AND SETTINGS\WIM\MIJN DOCUMENTEN\CODESYSTEST11\SIN_LIB.OBJ' (Symbol '_RTC_CheakEsp, Class 'EXTERNAL', Type 'REL32')&lt;/p&gt;
&lt;p&gt;Please give a small idea as I need to create a external library where I have to use lot of SIN COS TAN. &lt;/p&gt;
&lt;p&gt;Thanks&lt;br/&gt;
Asif&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>