<?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 I would consider capturing in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/resurrecting-an-old-open-gl-program/m-p/1031750#M110769</link>
    <description>&lt;P&gt;I would consider capturing the OpenGL frame buffer as a *.BMP file and rendering to a file to be different things in that the frame buffer might have limitations around the resolution of the monitor but a *.BMP file can have any dimensions you want. Rendering to a printer has the same problem in spades because my monitor has 3840 X 2160 resolution, but my color laser printer has significantly more resolution. Add to that the complication that Microsoft left an example on their web site someplace that was totally wrong so that any time spent working from that starting point was wasted until you found their correct example.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jun 2015 20:21:51 GMT</pubDate>
    <dc:creator>JVanB</dc:creator>
    <dc:date>2015-06-08T20:21:51Z</dc:date>
    <item>
      <title>resurrecting an old open_gl program</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/resurrecting-an-old-open-gl-program/m-p/1031745#M110764</link>
      <description>&lt;P&gt;I'm trying to bring an old program back to life.&lt;/P&gt;
&lt;P&gt;I believe GLUT is now dead and I'm trying to get the &lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;fauxInitWindow routine to setup the graphics window.&amp;nbsp; &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;Upon linking, however I get unresolved external symbols in&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" face="Consolas"&gt;Error&amp;nbsp;1&amp;nbsp; error LNK2019: unresolved external symbol &lt;A href="mailto:_auxInitDisplayMode@4"&gt;_auxInitDisplayMode@4&lt;/A&gt; referenced in function _JM_GRAPHIC_WIN_INIT_SIZE_2D&amp;nbsp;jm_gl_junction_box.obj&amp;nbsp;&lt;BR /&gt;Error&amp;nbsp;2&amp;nbsp; error LNK2019: unresolved external symbol &lt;A href="mailto:_auxInitPosition@16"&gt;_auxInitPosition@16&lt;/A&gt; referenced in function _JM_GRAPHIC_WIN_INIT_SIZE_2D&amp;nbsp;jm_gl_junction_box.obj&amp;nbsp;&lt;BR /&gt;Error&amp;nbsp;3&amp;nbsp; error LNK2019: unresolved external symbol &lt;A href="mailto:_auxInitWindowA@4"&gt;_auxInitWindowA@4&lt;/A&gt; referenced in function _JM_GRAPHIC_WIN_INIT_SIZE_2D&amp;nbsp;jm_gl_junction_box.obj&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas what's else is required&lt;/P&gt;
&lt;P&gt;These come from the following routine:&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;subroutine&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT color="#000000"&gt; jm_graphic_win_init_size_2d(title,npx,npy)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;c&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;c routine to initialise graphics window to a specific pixel size&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;c&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;USE&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT color="#000000"&gt; IFOPNGL&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;c use opengl_glut&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;use&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT color="#000000"&gt; ifwin&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;character&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT color="#000000"&gt;*(*) title&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;logical&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT color="#000000"&gt; ferror&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;integer(4)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT color="#000000"&gt; iret&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;c&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;c call fglutinit&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;c call fglutinitdisplaymode(ior(k_GLUT_double,k_GLUT_RGB))&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;call&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT color="#000000" size="2" face="Consolas"&gt; fauxInitDisplayMode (&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;IOR&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT color="#000000"&gt;(AUX_SINGLE , AUX_RGB))&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;call&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT color="#000000"&gt; fauxInitPosition (0, 0, 500, 500)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;c iret=fglutCreateWindow(title)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT color="#000000" size="2" face="Consolas"&gt;iret=fauxInitWindow(title//&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;char&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT color="#000000"&gt;(0))&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;c call fglutReshapeWindow(npx, npy)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;c&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;return&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;end&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2015 16:16:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/resurrecting-an-old-open-gl-program/m-p/1031745#M110764</guid>
      <dc:creator>chunky_lover_23</dc:creator>
      <dc:date>2015-06-08T16:16:07Z</dc:date>
    </item>
    <item>
      <title>Microsoft pulled the AUX</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/resurrecting-an-old-open-gl-program/m-p/1031746#M110765</link>
      <description>&lt;P&gt;Microsoft pulled the AUX library routines several VS versions ago. Take a look at the Rings sample for how to get a window started now.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2015 16:30:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/resurrecting-an-old-open-gl-program/m-p/1031746#M110765</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2015-06-08T16:30:07Z</dc:date>
    </item>
    <item>
      <title>I followed the route Steve</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/resurrecting-an-old-open-gl-program/m-p/1031747#M110766</link>
      <description>&lt;P&gt;I followed the route Steve suggest above on my OGL applications but did ultimately end up writing quite a few Glut like routines to handle things like dynamic (mouse driven) zoom/pan/rotate etc.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;You could look at the FreeGlut libraries but that will also involve some work (probably much less work in my case) to get working Fortran interfaces. I chose not to because a) I didn't want to be reliant on third party libraries and b) I wanted full control of the user interface via the windows API.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2015 16:44:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/resurrecting-an-old-open-gl-program/m-p/1031747#M110766</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2015-06-08T16:44:45Z</dc:date>
    </item>
    <item>
      <title>AFAIK, GLUT doesn't offer the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/resurrecting-an-old-open-gl-program/m-p/1031748#M110767</link>
      <description>&lt;P&gt;AFAIK, GLUT doesn't offer the capability to render to a file or to the printer. Thus, you really have to go through the wgl* path, but that's OK because ifort conveniently provides example code that does this. I don't know if it has examples that render to devices other than the screen, though.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2015 18:56:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/resurrecting-an-old-open-gl-program/m-p/1031748#M110767</guid>
      <dc:creator>JVanB</dc:creator>
      <dc:date>2015-06-08T18:56:24Z</dc:date>
    </item>
    <item>
      <title>@RO I am note sure about</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/resurrecting-an-old-open-gl-program/m-p/1031749#M110768</link>
      <description>&lt;P&gt;@RO I am note sure about rendering to a printer but capturing the OGL frame buffer as a bmp file is pretty straight forward and there is a &amp;nbsp;C examples on MSDN that was easy to convert.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2015 19:41:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/resurrecting-an-old-open-gl-program/m-p/1031749#M110768</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2015-06-08T19:41:42Z</dc:date>
    </item>
    <item>
      <title>I would consider capturing</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/resurrecting-an-old-open-gl-program/m-p/1031750#M110769</link>
      <description>&lt;P&gt;I would consider capturing the OpenGL frame buffer as a *.BMP file and rendering to a file to be different things in that the frame buffer might have limitations around the resolution of the monitor but a *.BMP file can have any dimensions you want. Rendering to a printer has the same problem in spades because my monitor has 3840 X 2160 resolution, but my color laser printer has significantly more resolution. Add to that the complication that Microsoft left an example on their web site someplace that was totally wrong so that any time spent working from that starting point was wasted until you found their correct example.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2015 20:21:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/resurrecting-an-old-open-gl-program/m-p/1031750#M110769</guid>
      <dc:creator>JVanB</dc:creator>
      <dc:date>2015-06-08T20:21:51Z</dc:date>
    </item>
    <item>
      <title>Thanks to all</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/resurrecting-an-old-open-gl-program/m-p/1031751#M110770</link>
      <description>&lt;P&gt;Thanks to all&lt;/P&gt;
&lt;P&gt;I'm using VS2010 with IntelFortrain installed - but cannot find the latest opengl samples.&amp;nbsp; Is there a link to them anywhere ?.&lt;/P&gt;
&lt;P&gt;My installation has some samples - but no open gl.&amp;nbsp; Specifically I get in:&lt;/P&gt;
&lt;P&gt;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplates\IntelFortran&lt;/P&gt;
&lt;P&gt;only the console, quickwin, com server &amp;amp; general Windowing samples.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2015 13:50:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/resurrecting-an-old-open-gl-program/m-p/1031751#M110770</guid>
      <dc:creator>chunky_lover_23</dc:creator>
      <dc:date>2015-06-09T13:50:10Z</dc:date>
    </item>
    <item>
      <title>C:\Program Files (x86)\Intel</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/resurrecting-an-old-open-gl-program/m-p/1031752#M110771</link>
      <description>&lt;P&gt;C:\Program Files (x86)\Intel\Composer XE 2015\Samples\en_US\Fortran\OpenGL.zip&lt;/P&gt;

&lt;P&gt;You're looking at the project templates, which are not really samples.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2015 14:29:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/resurrecting-an-old-open-gl-program/m-p/1031752#M110771</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2015-06-09T14:29:50Z</dc:date>
    </item>
  </channel>
</rss>

