- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Am back to the problem of compiling Fortran OpenGL on Linux 64 bit platforms using IVF 10.1. (Windows 32 & 64 bit all work). Want the mod files (opengl_gl, opengl_glu, opengl_glut) as well as the NIST f90gl.lib, f90glu.lib and f90glut.lib.
Problem on Linux 64 is in compiling the NIST Fortran OpenGL package to make the mod files and libraries for this 64 bit environment. (Note that this worked in Windows for both 32 and 64).
Has anyone been successful at this? And if so, how. This is very frustrating!
Thanks.
John S
Problem on Linux 64 is in compiling the NIST Fortran OpenGL package to make the mod files and libraries for this 64 bit environment. (Note that this worked in Windows for both 32 and 64).
Has anyone been successful at this? And if so, how. This is very frustrating!
Thanks.
John S
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What problems are you having?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Was able to compile the *.mod and *.lib for f90gl-1.2.12. But when trying the examples from this NIST directory, get possible name mangle. Here are a few initial lines of the output :
ne):/opt/OpenGL/f90gl-1.2.12/examples # make -f mf8lim7
ifort -O -o blender -I../include/GL blender.f90
-L../lib -L/lib -lf90glut -lf90GLU -lf90GL -lglut -lGLU -lGL -L/usr/X11R6/lib -lXaw -lXt -lXmu -lXi -lXext -lX11 -lm
../lib/libf90glut.a(cwrapglt.o): In function `fglutjoystickfunc_':
cwrapglt.c:(.text+0x161): undefined reference to `__glutSetFCB'
../lib/libf90glut.a(cwrapglt.o): In function `fortranJoystickWrapper':
cwrapglt.c:(.text+0x1a2): undefined reference to `__glutGetFCB'
The blender.mod was made, but then the above errors.
In the mf8lim7 make file for f90gl-1.2.12, there is a setting for name mangle, and I've tried LOWERCASE and UNDERSCORE. Neither worked.
So, ....?
John
ne):/opt/OpenGL/f90gl-1.2.12/examples # make -f mf8lim7
ifort -O -o blender -I../include/GL blender.f90
-L../lib -L/lib -lf90glut -lf90GLU -lf90GL -lglut -lGLU -lGL -L/usr/X11R6/lib -lXaw -lXt -lXmu -lXi -lXext -lX11 -lm
../lib/libf90glut.a(cwrapglt.o): In function `fglutjoystickfunc_':
cwrapglt.c:(.text+0x161): undefined reference to `__glutSetFCB'
../lib/libf90glut.a(cwrapglt.o): In function `fortranJoystickWrapper':
cwrapglt.c:(.text+0x1a2): undefined reference to `__glutGetFCB'
The blender.mod was made, but then the above errors.
In the mf8lim7 make file for f90gl-1.2.12, there is a setting for name mangle, and I've tried LOWERCASE and UNDERSCORE. Neither worked.
So, ....?
John

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page