<?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 libifcoremt.lib(for_main.obj) : error LNK2019: unresolved external symbol MAIN__ referenced in function main in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremt-lib-for-main-obj-error-LNK2019-unresolved-external/m-p/813158#M43922</link>
    <description>&lt;P&gt;Hi, all! I am using intel fortran on Windows. When I link I get the Error &lt;/P&gt;&lt;P&gt;1&amp;gt;libifcoremt.lib(for_main.obj) : error LNK2019: unresolved external symbol MAIN__ referenced in function main&lt;BR /&gt;1&amp;gt;x64\\Debug\\Console8.exe : fatal error LNK1120: 1 unresolved externals&lt;/P&gt;&lt;P&gt;What I am doing wrong? Project files with build log in attachments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dmitriy&lt;/P&gt;</description>
    <pubDate>Sat, 29 Jan 2011 17:15:21 GMT</pubDate>
    <dc:creator>trion</dc:creator>
    <dc:date>2011-01-29T17:15:21Z</dc:date>
    <item>
      <title>libifcoremt.lib(for_main.obj) : error LNK2019: unresolved external symbol MAIN__ referenced in function main</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremt-lib-for-main-obj-error-LNK2019-unresolved-external/m-p/813158#M43922</link>
      <description>&lt;P&gt;Hi, all! I am using intel fortran on Windows. When I link I get the Error &lt;/P&gt;&lt;P&gt;1&amp;gt;libifcoremt.lib(for_main.obj) : error LNK2019: unresolved external symbol MAIN__ referenced in function main&lt;BR /&gt;1&amp;gt;x64\\Debug\\Console8.exe : fatal error LNK1120: 1 unresolved externals&lt;/P&gt;&lt;P&gt;What I am doing wrong? Project files with build log in attachments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dmitriy&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jan 2011 17:15:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremt-lib-for-main-obj-error-LNK2019-unresolved-external/m-p/813158#M43922</guid>
      <dc:creator>trion</dc:creator>
      <dc:date>2011-01-29T17:15:21Z</dc:date>
    </item>
    <item>
      <title>libifcoremt.lib(for_main.obj) : error LNK2019: unresolved exter</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremt-lib-for-main-obj-error-LNK2019-unresolved-external/m-p/813159#M43923</link>
      <description>Hello Trion,&lt;BR /&gt;&lt;BR /&gt;the linker error simply tells you that you don't have a main program in your console application. So you must do something like this:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;[bash]program main 
C call the subroutine vumat() 
end program main

subroutine vumat(
C Read only -
     1  nblock, ndir, nshr, nstatev, nfieldv, nprops, lanneal,
     2  stepTime, totalTime, dt, cmname, coordMp, charLength,
     3  props, density, strainInc, relSpinInc,
     4  tempOld, stretchOld, defgradOld, fieldOld,
     3  stressOld, stateOld, enerInternOld, enerInelasOld,
     6  tempNew, stretchNew, defgradNew, fieldNew,
C Write only -
     5  stressNew, stateNew, enerInternNew, enerInelasNew )
.
.
.[/bash]&lt;/PRE&gt; &lt;BR /&gt;You can use the main program simply as a test driver if you want to.&lt;BR /&gt;&lt;BR /&gt;Pedro</description>
      <pubDate>Sat, 29 Jan 2011 17:28:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremt-lib-for-main-obj-error-LNK2019-unresolved-external/m-p/813159#M43923</guid>
      <dc:creator>psantos</dc:creator>
      <dc:date>2011-01-29T17:28:22Z</dc:date>
    </item>
    <item>
      <title>libifcoremt.lib(for_main.obj) : error LNK2019: unresolved exter</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremt-lib-for-main-obj-error-LNK2019-unresolved-external/m-p/813160#M43924</link>
      <description>I need to know how to do obj without main function, because  this file is used in abaqus and in this program it doesn't work with it&lt;BR /&gt;&lt;BR /&gt;I have tried to do bat file with paths to libriries, but it doesnt help me&lt;BR /&gt;&lt;BR /&gt;Any idea what I can do about this?&lt;BR /&gt;</description>
      <pubDate>Sat, 29 Jan 2011 19:10:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremt-lib-for-main-obj-error-LNK2019-unresolved-external/m-p/813160#M43924</guid>
      <dc:creator>trion</dc:creator>
      <dc:date>2011-01-29T19:10:20Z</dc:date>
    </item>
    <item>
      <title>libifcoremt.lib(for_main.obj) : error LNK2019: unresolved exter</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremt-lib-for-main-obj-error-LNK2019-unresolved-external/m-p/813161#M43925</link>
      <description>Trion,&lt;BR /&gt;&lt;BR /&gt;When you say obj you mean generating the .obj files? If this is what you want you just need to compile the source code. Under the Visual Studio go to the menu build then compile. The .obj are generated during the compilation. The error you are getting is a linker error. So if you only need the .obj you don't need to perform the link. I hope this solve your problem.&lt;BR /&gt;&lt;BR /&gt;Pedro</description>
      <pubDate>Sat, 29 Jan 2011 20:26:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremt-lib-for-main-obj-error-LNK2019-unresolved-external/m-p/813161#M43925</guid>
      <dc:creator>psantos</dc:creator>
      <dc:date>2011-01-29T20:26:57Z</dc:date>
    </item>
  </channel>
</rss>

