<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Visual C++ mit Fortran - &amp;quot;Nicht aufgelöstes externes Symbol&amp;quot;]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>ich habe ein C++-Projekt in Visual Studio, das mit dem Silverfrost FTN95 Fortran Plugin mit einem Fortran-Projekt verbunden ist. Wenn ich versuche, eine release-Version zu erstellen, kriege ich für jeden Aufruf einer Fortran-Methode einen derartigen Fehler:</p>
<p>Cpp error LNK2019: Nicht aufgelöstes externes Symbol '_BOMOD',<br />
verwiesen in Funktion<br />
'&quot;private: float __thiscall Train::callVkarteu(int,int,int,int,float,float,float,float,float)&quot;<br />
(?callVkarteu@Train@@AAEMHHHHMMMMM@Z)'</p>
<p>der Bomod-Aufruf sieht so aus:</p>
<pre><code class="language-cpp">BOMOD (&amp;AREAL,&amp;lauf,&amp;BOFE2,&amp;N2,&amp;ETAg2,&amp;ETAi2,&amp;WURZL2,&amp;BETA2,&amp;FK2,&amp;PWP2,&amp;SAT2,&amp;BODI2,&amp;SICKER2);
</code></pre>
<p>und in derselben .cpp-Datei außerhalb der Methoden steht:</p>
<pre><code class="language-cpp">extern &quot;C&quot; void BOMOD(int* AREAL, int* lauf, float* BOFE2, float* N2, float* ETAg2, 
					  float* ETAi2, float* WURZL2, float* BETA2, float* FK2, float* PWP2,
					  float* SAT2, float* BODI2, float* SICKER2);
</code></pre>
<p>in der Debug-Version läufts, allerdings mit (u.a.) diesen Warnungen:</p>
<p>WARNING - Default LibMain being provided<br />
WARNING - Executable name extension changed to .DLL<br />
(keine Ahnung, ob das was miteinander zu tun hat)</p>
<p>Was läuft da falsch?</p>
<p>Danke schonmal,<br />
Uwe</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/194660/visual-c-mit-fortran-quot-nicht-aufgelöstes-externes-symbol-quot</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 01:19:23 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/194660.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 09 Oct 2007 14:31:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Visual C++ mit Fortran - &amp;quot;Nicht aufgelöstes externes Symbol&amp;quot; on Tue, 09 Oct 2007 14:31:25 GMT]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>ich habe ein C++-Projekt in Visual Studio, das mit dem Silverfrost FTN95 Fortran Plugin mit einem Fortran-Projekt verbunden ist. Wenn ich versuche, eine release-Version zu erstellen, kriege ich für jeden Aufruf einer Fortran-Methode einen derartigen Fehler:</p>
<p>Cpp error LNK2019: Nicht aufgelöstes externes Symbol '_BOMOD',<br />
verwiesen in Funktion<br />
'&quot;private: float __thiscall Train::callVkarteu(int,int,int,int,float,float,float,float,float)&quot;<br />
(?callVkarteu@Train@@AAEMHHHHMMMMM@Z)'</p>
<p>der Bomod-Aufruf sieht so aus:</p>
<pre><code class="language-cpp">BOMOD (&amp;AREAL,&amp;lauf,&amp;BOFE2,&amp;N2,&amp;ETAg2,&amp;ETAi2,&amp;WURZL2,&amp;BETA2,&amp;FK2,&amp;PWP2,&amp;SAT2,&amp;BODI2,&amp;SICKER2);
</code></pre>
<p>und in derselben .cpp-Datei außerhalb der Methoden steht:</p>
<pre><code class="language-cpp">extern &quot;C&quot; void BOMOD(int* AREAL, int* lauf, float* BOFE2, float* N2, float* ETAg2, 
					  float* ETAi2, float* WURZL2, float* BETA2, float* FK2, float* PWP2,
					  float* SAT2, float* BODI2, float* SICKER2);
</code></pre>
<p>in der Debug-Version läufts, allerdings mit (u.a.) diesen Warnungen:</p>
<p>WARNING - Default LibMain being provided<br />
WARNING - Executable name extension changed to .DLL<br />
(keine Ahnung, ob das was miteinander zu tun hat)</p>
<p>Was läuft da falsch?</p>
<p>Danke schonmal,<br />
Uwe</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1381372</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1381372</guid><dc:creator><![CDATA[uha]]></dc:creator><pubDate>Tue, 09 Oct 2007 14:31:25 GMT</pubDate></item><item><title><![CDATA[Reply to Visual C++ mit Fortran - &amp;quot;Nicht aufgelöstes externes Symbol&amp;quot; on Tue, 09 Oct 2007 14:41:57 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile-var-mode-is-viewprofile-and-u-is-18038.html" rel="nofollow">CStoll</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-15.html" rel="nofollow">C++</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-1.html" rel="nofollow">MFC (Visual C++)</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39405.html" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1381391</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1381391</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Tue, 09 Oct 2007 14:41:57 GMT</pubDate></item></channel></rss>