<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic problem linking fortran files after compilation in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/problem-linking-fortran-files-after-compilation/m-p/1744965#M178720</link>
    <description>&lt;P&gt;This communication is a few weeks since my last.&amp;nbsp; First of all thanks to those who have helped me earlier with the compilation issues I was having with Fortran.&amp;nbsp; I believe I have managed to solve them. but now I am having a problem with linking the files together.&amp;nbsp; See below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Compiling with Intel® Fortran Compiler 2025.3.2 [Intel(R) 64]...08:02:38:642&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; osd_a.f9008:02:44:345&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Linking...08:02:44:549&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; osd_a.obj : error LNK2019: unresolved external symbol DIALOGBOXPARAM_G referenced in function _WinMain@1608:02:44:555&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msvcrtd.lib(exe_winmain.obj) : error LNK2019: unresolved external symbol WinMain referenced in function "int __cdecl invoke_main(void)" (?invoke_main@@YAHXZ)08:02:44:559&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x64\Debug\opticsoft.exe : fatal error LNK1120: 2 unresolved externals08:02:44:562&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 08:02:44:562&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Build log written to&amp;nbsp; "file://C:/opticsoft/i2610/opticsoft/x64/Debug/BuildLog.htm"08:02:44:562&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; opticsoft - 3 error(s), 0 warning(s)08:02:44:570&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========08:02:44:570&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ========== Build completed at 8:02 AM and took 06.438 seconds ==========&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because the Fortran compiler objected to my use of DIALOGBOXPARAM (used previously with IVF), I changed the call to DIALOGBOXPARAM_G found in user32.f90 file.&amp;nbsp; However, I am not sure whether or not this was a good move.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for the other error, signified by msvcrtd.lib. I haven’t a clue what that is about.&amp;nbsp; When I received this error first of all, I added what I imagined was the appropriate link to the option for additional include directories within the compiler, but this cause of action had no effect.&amp;nbsp; Both errors appear in the file osda.f90, which contains the routine winMain.&lt;/P&gt;&lt;P&gt;Would appreciate any help to resolve the above two problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 19 Apr 2026 16:42:50 GMT</pubDate>
    <dc:creator>ivf_ian</dc:creator>
    <dc:date>2026-04-19T16:42:50Z</dc:date>
    <item>
      <title>problem linking fortran files after compilation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/problem-linking-fortran-files-after-compilation/m-p/1744965#M178720</link>
      <description>&lt;P&gt;This communication is a few weeks since my last.&amp;nbsp; First of all thanks to those who have helped me earlier with the compilation issues I was having with Fortran.&amp;nbsp; I believe I have managed to solve them. but now I am having a problem with linking the files together.&amp;nbsp; See below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Compiling with Intel® Fortran Compiler 2025.3.2 [Intel(R) 64]...08:02:38:642&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; osd_a.f9008:02:44:345&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Linking...08:02:44:549&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; osd_a.obj : error LNK2019: unresolved external symbol DIALOGBOXPARAM_G referenced in function _WinMain@1608:02:44:555&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msvcrtd.lib(exe_winmain.obj) : error LNK2019: unresolved external symbol WinMain referenced in function "int __cdecl invoke_main(void)" (?invoke_main@@YAHXZ)08:02:44:559&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x64\Debug\opticsoft.exe : fatal error LNK1120: 2 unresolved externals08:02:44:562&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 08:02:44:562&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Build log written to&amp;nbsp; "file://C:/opticsoft/i2610/opticsoft/x64/Debug/BuildLog.htm"08:02:44:562&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; opticsoft - 3 error(s), 0 warning(s)08:02:44:570&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========08:02:44:570&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ========== Build completed at 8:02 AM and took 06.438 seconds ==========&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because the Fortran compiler objected to my use of DIALOGBOXPARAM (used previously with IVF), I changed the call to DIALOGBOXPARAM_G found in user32.f90 file.&amp;nbsp; However, I am not sure whether or not this was a good move.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for the other error, signified by msvcrtd.lib. I haven’t a clue what that is about.&amp;nbsp; When I received this error first of all, I added what I imagined was the appropriate link to the option for additional include directories within the compiler, but this cause of action had no effect.&amp;nbsp; Both errors appear in the file osda.f90, which contains the routine winMain.&lt;/P&gt;&lt;P&gt;Would appreciate any help to resolve the above two problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Apr 2026 16:42:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/problem-linking-fortran-files-after-compilation/m-p/1744965#M178720</guid>
      <dc:creator>ivf_ian</dc:creator>
      <dc:date>2026-04-19T16:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: problem linking fortran files after compilation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/problem-linking-fortran-files-after-compilation/m-p/1745172#M178726</link>
      <description>&lt;P&gt;You need to post the code where you call this, it is without doubt a problem with the call args and the declarations of the same.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 08:21:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/problem-linking-fortran-files-after-compilation/m-p/1745172#M178726</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2026-04-21T08:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: problem linking fortran files after compilation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/problem-linking-fortran-files-after-compilation/m-p/1745196#M178727</link>
      <description>&lt;P&gt;Attached is the file which I believe generates the problems.&amp;nbsp; This was written by a colleague some 20 years ago, and I have made minor modifications in the hope of making it compatible with the latest IVF.&amp;nbsp; However, I'm somewhat at sea with combining C with Fortran.&amp;nbsp; If it would help I can send the other files within the program.&amp;nbsp; &amp;nbsp;Thanks for your assistance.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 12:41:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/problem-linking-fortran-files-after-compilation/m-p/1745196#M178727</guid>
      <dc:creator>ivf_ian</dc:creator>
      <dc:date>2026-04-21T12:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: problem linking fortran files after compilation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/problem-linking-fortran-files-after-compilation/m-p/1745944#M178751</link>
      <description>&lt;P&gt;Would you please include all the necessary files and instructions for the settings to reproduce the issue?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2026 18:30:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/problem-linking-fortran-files-after-compilation/m-p/1745944#M178751</guid>
      <dc:creator>Shiquan_Su</dc:creator>
      <dc:date>2026-04-27T18:30:46Z</dc:date>
    </item>
  </channel>
</rss>

