Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29251 Discussions

Precompiled f90GL and GLUT libraries

Steven_L_Intel1
Employee
1,735 Views

As a courtesy to users of Intel Visual Fortran, we provide a copy of the f90GL sources, samples and build scripts, along with a precompiled version of f90GL and the GLUT library it depends on. Libraries are provided for IA-32 and Intel 64 (Intel EM64T) based systems. For more information, please see the README-Intel-IA32.txt or README-Intel-Intel64.txt file in the attached ZIP.

These files are provided as a courtesy of Intel and are not supported by Intel. Please do not contact Intel Fortran support for assistance with f90GL or GLUT. f90gl was produced by an agency of the U.S. Government, and is not subject to copyright in the United States. For information on f90GL, please see http://math.nist.gov/f90gl/

The GLUT library is copyrighted by Mark J. Kilgard. GLUT is not in the public domain, but it is freely distributable without licensing fees. GLUT is provided without gurantee or warrantee expressed or implied. For more information about GLUT, please see http://www.opengl.org/resources/libraries/glut

0 Kudos
8 Replies
dannycat
New Contributor I
1,735 Views

Steve, in a previous thread I whererequested some help with f90gl I mentioned a problem regarding the NurbsRender pointer, and I managed to contact Bill Mitchell at nist.gov about the matter. He suspects that it is caused by the c pointerlength hard coded to 4 in the glkinds.f90 file.

! C pointers

integer, parameter, public :: glcptr_length = 4

type, public :: glcptr

character(len=glcptr_length) :: addr

end type glcptr

type (glcptr), parameter, public :: glnullptr = glcptr( &

char(0)//char(0)//char(0)//char(0))

The glcptr_length = INT_PTR_KIND() should fix the first problem I believe but the glnullptr parameter will need to be changed also but not sure if this can be done while keeping code configuration independent.

Bill suggest I rebuild having changed the glkinds.f90 but I am having problems with this as I don't have all the files required and make files are designed for CVF. Would it be possible to update the files supplied in the above attachment that you provided back in 2006 to fix this problem, or should I try to get the stuff from Bill?

0 Kudos
Steven_L_Intel1
Employee
1,735 Views

Are you using CVF or IVF? f90GL has progressed since I did the build four years ago. The build I posted includes a build file for IVF.

Maybe I'll have time to look at this next week - no promises.

0 Kudos
dannycat
New Contributor I
1,735 Views
Thanks Steve, I'm using IVF 11.1.054 particularly with regard to the64-bit configuration. I don't have any issues with the Win32. I'll try the build file in the meantime.
0 Kudos
dannycat
New Contributor I
1,735 Views
Hi Steve, I've tried the makefile but I think its set up for Intel C compiler whereas I use the MS compiler. I don't have the include files for the glut library either. I hope that you will have time to look at this or, if not if you can provide all sources I need to do it myself.
0 Kudos
Steven_L_Intel1
Employee
1,735 Views
It should be very simple to switch out MSVC for Intel C++. I'll see if I have time to look at this in the next week.
0 Kudos
dannycat
New Contributor I
1,735 Views

Steve

I've managed to get the makefiles to compile the gl and glu parts of the f90gl library suite although the glut seems more problematic. I don't use glut so hopefully this will not be an issue to me. However my attempt at modifying the glkinds.f90 does not seem to have solved the problem, although I will need to review what I've done.

Iam hoping that you can find some timein the near future to look into thisalthough I appreciate that youseem constantly busy looking after everyone else's problems more directly related to IVF.

Meanwhile I will continue to resolve it myself.

0 Kudos
dannycat
New Contributor I
1,735 Views
I have finally solved the problem (although not with GLUT). What I didn't realise is that the makefile msxnioregenerates the glkinds.f90 so all my edits were overwritten. All that is required is to put "#define PT8" in the fpp8nio file in fppincs directory and the correct configuration is then created. Then simply point the include directory and Additional library directories in x64 configuarions to where the new files have been created and you are in business. Take care not to overwrite the 32-bit files as these need to coexist if you are building both.
0 Kudos
cc077710
Beginner
1,735 Views
Hello anyone who can use the GLUT library in IVF on IDE,

I just began to think of drwaing a 3D grapfs with animation using GLUT in IVF on windows. I'm using the fortran from IDE. i read the readme.txt but I couldn't uderstand how to use the libraries. I followed the instruction but at the step 2, I could'nt find the location which isTools..Options..Intel Fortran..Project Directories..Include. And step3, I couldn't find which file to add. As a consequence, if I'd like to try the examples,the programis just notcomplied missingsome external symbols.

I also tried to bat file after copying lib-IA32\glut32.dll tomy Windows System32 folder (is this C:\Windows\System32 ? am not sure.) but I couldn't succed.

I'm completely a beginner of this kind of computer operation.However, I have to complete my thesis. Hope anyonereply and tell me how to use theexamples on IDE.

Akiko


0 Kudos
Reply