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

Opengl and Fortran

sumitm
Начинающий
1 312Просмотр.
Hi,

Can anyone please help me why I have the following error when I wish to compile any of the f90gl supplied programs like gltdino2 in CVF.
"C:h_files estgltdino2.f90(5) : Error: Error in opening the Library module file. [OPENGL_FWRAP]
use opengl_gl"

I have included the 4 lib files in the project:
glut32.lib
f90glu
f90glut
f90gl

Any help would be appreciated.

Thanks

Sumit
0 баллов
4 Ответы
Steven_L_Intel1
Сотрудник
1 312Просмотр.
I suggest you read the CVF-readme.txt in the f90GL download that you can find at http://www.compaq.com/fortran/visual/f90gl.html It sounds as if you need to add to your INCLUDE/USE path the location of the f90GL .MOD files. Note that this is NOT a part of the CVF product.

Steve
sumitm
Начинающий
1 312Просмотр.
Got it!
There is a file by the name of opengl_fwrap.mod supplied with the f90gl archive that has to be placed in the current source file directory.
Thanks
Steven_L_Intel1
Сотрудник
1 312Просмотр.
Well, no it doesn't have to be in the source directory. It just has to be in one of the places the compiler looks for .MOD files (same as INCLUDE files). You can use Project..Settings..Preprocessor..INCLUDE/USE path to add it, or Tools..Options..Directories..Include files to be available to all projects.

Steve
guwei
Начинающий
1 312Просмотр.
I am also having a problem of compiling a fortran &opengl source problem, I am using Microsoft Developer Studio. I follow the instruction of CVF-readme.txt when installing the F90GL. But I had an error that : "Bad module file format" when compiling the module "opengl_gl". I found the module format of OLD opengl.mod(readable as a program) is fully different from that of opengl_gl.mod (unreadable).

anyone could help me?

Thanks in advance!
Ответить