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

Module wizard generates file that gives compiler error

sumitm
Beginner
1,489 Views

Hi,

I am trying again to recompile my CVF program in IVF using the CAV utility

I regenrated the AVIS2d.f90 module file in IVFbut get the error

C:IVF_SBOAVIS2DIVF.f90(12): Error: This derived type name has not been declared. [GUID]

Can some one please help.

Thanks

Sumit

! AVIS2DIVF.f90

! This module contains the COM interfaces of the objects defined in

! C:Program FilesArrayVisualizerBinAVIS2D.OCX

! Generated by the Fortran Module Wizard on 08/15/07

MODULE AVIS2D

IMPLICIT NONE

! CLSIDs

TYPE (GUID), PARAMETER :: CLSID_Avis2D = &

GUID(#DE467C23, #8073, #11D0, &

CHAR('9F'X)//CHAR('E3'X)//CHAR('08'X)//CHAR('00'X)// &

CHAR('2B'X)//CHAR('E4'X)//CHAR('61'X)//CHAR('1B'X))

! Enums

! enumAxisStyles

INTEGER, PARAMETER :: Cross = 0 ! Cross0

INTEGER, PARAMETER :: Face0 = 1 ! Face0

INTEGER, PARAMETER :: Face1 = 2 ! Face1

0 Kudos
17 Replies
Steven_L_Intel1
Employee
1,489 Views
When I generate modules, the modules start with:

USE IFWINTY
USE IFAUTO

Are you saying yours does not?
0 Kudos
sumitm
Beginner
1,489 Views

Steve Thanks,

Mine did not automaticallyand after I added those two lines it has at least compiled that file succesfully. I have other hurdles to cross now.. and will be back with more questions.

Sumit

0 Kudos
John4
Valued Contributor I
1,489 Views
I have a question related to the subject: I usually have to change GUID by T_GUID in the modules generated by the Intel Module Wizard (otherwise it won't compile). Is that a bug in the Wizard?
0 Kudos
Steven_L_Intel1
Employee
1,489 Views
I've seen that issue with GUID and T_GUID before. These are actually different types. It's been a year or two since I ran into that and don't remember what came of it. I do think there's something inconsistemt that could use fixing.

Please report any and all such problems to Intel Premier Support.

I'm puzzled as to why you're generating module wizard files for AV, though. Is the provided Fortran interface not good enough?
0 Kudos
sumitm
Beginner
1,489 Views

Steve,

I have very little idea but thats how my CVF project was setup. All I wanted to do was migrate my CVF project to IVF. It languished in Premier Support for a year and then Ron gave up and said all I needed to do was recompile it with CVF:/iface option. Ron and you guys are experts but I cant compile my CVF project in IVF. Sorry if I am a little sarcastic. My fault was

a) I used CAV in my original code. IAV is not supported anymore and is not a recompile upgrade of CAV. So I was given the idea by Ron that IVF can be run with CAV if I generate the correct AVISGRID and AVIS2D module files that are needed. Hence I was generating those. Did not know there was a easy IVF interface to CAV already where I can get those as active X controls to work correctly.

b) I used Jugoslav's XFT because for some reaon IVF thinks that making dialog box controls with color/icon background option etc should not be as simple as in VB or Visual Studio. So now I have to keep track of those libraries . Ofcourse now I have CVF and IVF on the same computer as I need to keep one working version and other one a work in progress that some day may see light.

c) Additionally I used NIST's opengl libs. So now again I need all those recompiled mod and glut32 files.

Lastly, I could not locate the IVF sample solutions that was in the front page of the forum. Thats gone. The excel automation file now takes 20 + minutes to compile and gives me errors like

C:IVF_SBOAUTODICE.F90(228): Error: The type of the actual argument differs from the type of the dummy argument. ['c:program filePTI_SBO2_3pref_Design.XLS]

! Open the specified spreadsheet file (note: specify the full file path)

workbook = Workbooks_Open(workbooks,"c:program filesPTI_SBO2_3pref_Design.XLS", $STATUS = status)

CALL Check_Status(status, " Unable to get WORKBOOK object; ensure that the file path is correct")

The above worked perfectly in CVF.

So I am a little frustrated. Sorry I didnt mean to be mean.

Thanks

0 Kudos
sumitm
Beginner
1,489 Views
Steve,

I could get the excel automation going based on your autodice solution posted a couple of days back. However, if you will note on the excel97 module you did not have
use ifwinty
use ifauto
and I got the guid error and got out of it when I added that as per your note above.

I guess the settings for project matters how you get some errors and how to avoid it. Like the same code works without errors on some machines and with errors on others. How to get a good handle on these project properties.


Also your excel 97 file compiled on my computer in seconds. How did you generate that. Did you use the old excel 97 from CVF example or generate a new one in IVF module wizard.
Again thanks for your help.

Sumit

0 Kudos
Steven_L_Intel1
Employee
1,489 Views
Sumit,

The EXCEL module I created in IVF by selecting only those interfaces named in the comments of the Fortran source and not all interfaces. This made it a lot smaller and it compiled faster. I did not post an "EXCEL97" module - the module I did post did have those USE lines.

0 Kudos
sumitm
Beginner
1,489 Views

Steve,

You are right. Your excel.f90 module file had ifwinty and ifauto in them

I have a question. If I am getting an error

SBO23_IVF error LNK2001: unresolved external symbol _FAGLENDWATCH

this faglendwatch was in the aview160.lib file that was compiled in CVF and provided as part of CAV. How do I generate the aview160.lib file for IVF. I think static libs from CVF cannot be used in IVF.

There was an example post by Yitzak in AV forum in 2005 where he had a sample application where he used both IAV and CAV in his IVF solution having them as active X controls.

http://software.intel.com/en-us/forums//topic/50698

I do not see his solution anymore. Is that available somewhere or does Intel have a similar soluton showing how CAV can be used in IVF

Thanks

0 Kudos
Steven_L_Intel1
Employee
1,489 Views
I no longer have CAV on my system, but I'm pretty sure that the aview160.lib was not a Fortran static library and can be used, if you get the calling conventions right. The link error suggests either that you don't have the proper interface visible for the routine or it's not in the library you're using. We don't have an example of how to use CAV from IVF, but perhaps if you asked in the Array Visualizer section of the forum someone could help you.
0 Kudos
sumitm
Beginner
1,489 Views

Steve,

Sorry to keep bugging you. For now I am not getting any more AV errors but my compilation is not done yet.

I have 85 unresolved external errors related to f90gl and XFT

the f90gl errors are of the type

SBO23_IVF error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLBEGIN@4

I know I have the correct version as I have been able to run and compile the blender example and I have double checked the includes and libraries. One issue is as I have both cvf version f90gl and ivf f90gl and both say I need to copy the glut32.dll to the system32 directory. So I renamed the ivf one to glut32ivf.32.dll Is that a problem.

My xft errors are like

SBO23_IVF error LNK2019: unresolved external symbol _XFTDIALOG_mp_XDESTROYDIALOG@4 referenced in function _PETWALL_OPT

Again I have the XFT8 lib file

my include environment looks like

$(IFORTInstallDir)Include
$(VCInstallDir)include
$(VCInstallDir)atlmfcinclude
$(VCInstallDir)PlatformSDKinclude
$(FrameworkSDKDir)include
C:Program FilesMicrosoft Visual Studio .NET 2003VC7ATLMFCINCLUDE
C:Program FilesMicrosoft Visual Studio .NET 2003VC7INCLUDE
C:Program FilesMicrosoft Visual Studio .NET 2003VC7PlatformSDKincludeprerelease
C:Program FilesMicrosoft Visual Studio .NET 2003VC7PlatformSDKinclude
C:Program FilesMicrosoft Visual Studio .NET 2003SDKv1.1include
C:Program FilesMicrosoft Visual Studio .NET 2003SDKv1.1include
C:IVFf90gllib
C:IVFf90glincludeGL
C:Program FilesMicrosoft Visual Studio .NET 2003XFTInclude8
C:Program FilesMicrosoft Visual Studio .NET 2003XFTLib8
C:Program FilesMicrosoft Visual Studio .NET 2003XFTXFT8
C:Program FilesArrayVisualizerINCLUDE
C:IVF9V9SamplesQuickWinScigraphDebug
C:IVFf90glexamplesIVF_SBO_50pts_ptwlSBO23_IVF

there is no df98 in there

Can you point out why it cannot find those externals.

Thanks

Sumit

0 Kudos
Steven_L_Intel1
Employee
1,489 Views
Jugoslav will have to help regarding XFT.

As for f90GL, you can use the same glut32.dll for both compilers. Renaming one of them is not going to accomplish anything. I'm a bit puzzled at the link error as that @4 suggests that it's using CVF-compatible STDCALL as the calling convention, and the IVF version of f90GL doesn't do that.
0 Kudos
sumitm1
Beginner
1,489 Views

Steve,

I have reduced my errors to 63 . All linker errors related to opengl. I am attaching my build log.htm file

I downloaded the latest f90gl files from http://software.intel.com/en-us/forums/showthread.php?t=51670

posted by you a year back. I know Intel does not provide support for it but would request you to give me any clue. I saw your note on Readme_intel IA32.txt and thats what I have done.

The way I got around XFT linker errors was addingJugoslav's source files to my project.

Is there a way I can do the same for this opengl thing. I have fwrap.f90, iterf.f90,isshort.f90, glkinds.f90, fwrapglu.f90 etc files in gl, glut and f=glu directories.

Another unrelated thing. Unusedqq is not available in new ifqwin or ifcore modules?

I had that used in CVF a number of times. What do I replace it with, if I want no listing of anything df in use statement.

Thanks

------ Build started: Project: SBO23_IVF, Configuration: Debug|Win32 ------

Linking...
Creating temporary file "RSP1.rsp" with contents
[
 /OUT:"Debug/SBO23_IVF.exe" /INCREMENTAL:NO /NOLOGO /DEBUG /PDB:"Debug/SBO23_IVF.pdb" /SUBSYSTEM:WINDOWS  "Debug/EXEpilog.obj" "Debug/EXCheckStack.obj" "Debug/EXGetCmdData.obj" "Debug/INPTINFO.obj" "Debug/colmodle.obj" "Debug/Str_Stn_Module.obj" "Debug/moduleopcb.obj" "Debug/dizzy.obj" "Debug/WLmodule.obj" "Debug/ModulePL.obj" "Debug/pieval.obj" "Debug/modle.obj" "Debug/com_module.obj" "Debug/xftmenuty.obj" "Debug/xftapity.obj" "Debug/M_MrgRef.obj" "Debug/xfttypes.obj" "Debug/Module_Bottle3D.obj" "Debug/AVISGRID.obj" "Debug/display_string.obj" "Debug/EXCEL.obj" "Debug/module_copyfolder.obj" "Debug/DLLPRGRS.obj" "Debug/animfor_qnch.obj" "Debug/ADOBJS.obj" "Debug/ANIMWIN32GLOBALS.obj" "Debug/ANIMFOR.obj" "Debug/aiimwin32_glo_qnch.obj" "Debug/AVIS2DIVF1.obj" "Debug/XFTNotify.obj" "Debug/xftapi.obj" "Debug/xftgdi.obj" "Debug/XFTToolbar.obj" "Debug/xftcaret.obj" "Debug/xftstrings.obj" "Debug/XFTListView.obj" "Debug/XFTPrint.obj" "Debug/opengl_Globals.obj" "Debug/xftreg.obj" "Debug/xftmenu.obj" "Debug/xftctrl.obj" "Debug/xftwnd.obj" "Debug/opengl_pref.obj" "Debug/xftdialog.obj" "Debug/xftmdi.obj" "Debug/XFLOGM2.obj" "Debug/xftfile.obj" "Debug/xftapp.obj" "Debug/xeffort.obj" "Debug/xft.obj" "Debug/sav_pow_pr.obj" "Debug/Read_dxf.obj" "Debug/prefconf.obj" "Debug/Heatpro.obj" "Debug/design_optimization.obj" "Debug/calcnF.obj" "Debug/ViewBot_B.obj" "Debug/PTIGRAPHICS.obj" "Debug/Inpbot.obj" "Debug/ANIMWIN32.obj" "Debug/backgnd.obj" "Debug/petwall.obj" "Debug/COMDLGER.obj" "Debug/str_stn_pet.obj" "Debug/Readprefm.obj" "Debug/ov5sr.obj" "Debug/multicavity.obj" "Debug/READCHS.obj" "Debug/ViewPref.obj" "Debug/animwin32_qnch.obj" "Debug/plotir.obj" "Debug/ovenc.obj" "Debug/bmtempf.obj" "Debug/AUTODICE.obj" "Debug/Modify_preform.obj" "Debug/EXITPROG.obj" "Debug/calorimetry.obj" "Debug/parameter.obj" "Debug/INP_POWER.obj" "Debug/calcn.obj" "Debug/bottlegraphs.obj" "Debug/Read_Power.obj" "Debug/bottlesubs.obj" "Debug/3Dtemp.obj" "Debug/subrs.obj" "Debug/read_pref_dxf.obj" "Debug/pickedSet.obj" "Debug/loadhts.obj" "Debug/InpIRF.obj" "Debug/refresh.obj" "Debug/menus.obj" "Debug/botconfig.obj" "Debug/savepower.obj" "Debug/readbot.obj" "Debug/optimize_process.obj" "Debug/Preform_Dgn_HS.obj" "Debug/EXWinMain.obj" "Debug/heater.res" "C:IVF9f90gl-1.2.12lib-IA32g
lut32.lib" "C:IVF9f90gl-1.2.12lib-IA32f90GLU.lib" "C:IVF9f90gl-1.2.12lib-IA32f90GL.lib" "C:IVF9f90gl-1.2.12lib-IA32f90GLUT.lib"
]
Creating command line "Link @"C:IVFf90glexamplesIVF_SBO_50pts_ptwlSBO23_IVFDebugRSP1.rsp""

Link: executing 'link'
ifqwin.lib(qwkentry.obj) : error LNK2005: _WinMain@16 already defined in EXWinMain.obj
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTPOSTREDISPLAY@0 referenced in function _VIEW_MODIFIER_mp_RESET_TO_INIT
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLMATRIXMODE@4 referenced in function _VIEW_MODIFIER_mp_RESET_VIEW
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLPOPMATRIX@0 referenced in function _VIEW_MODIFIER_mp_RESET_VIEW
Read_dxf.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLPOPMATRIX@0 referenced in function _READ_DXF
3Dtemp.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLPOPMATRIX@0
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLPUSHMATRIX@0 referenced in function _VIEW_MODIFIER_mp_RESET_VIEW
Read_dxf.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLPUSHMATRIX@0
3Dtemp.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLPUSHMATRIX@0
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLTRANSLATED@12 referenced in function _VIEW_MODIFIER_mp_RESET_VIEW
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLROTATED@16 referenced in function _VIEW_MODIFIER_mp_RESET_VIEW
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLSCALED@12 referenced in function _VIEW_MODIFIER_mp_RESET_VIEW
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLPOLYGONMODE@8 referenced in function _VIEW_MODIFIER_mp_MENU_HANDLER
3Dtemp.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLPOLYGONMODE@8
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLENABLE@4 referenced in function _VIEW_MODIFIER_mp_MENU_HANDLER
Read_dxf.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLENABLE@4
multicavity.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLENABLE@4
3Dtemp.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLENABLE@4
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLDISABLE@4 referenced in function _VIEW_MODIFIER_mp_MENU_HANDLER
3Dtemp.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLDISABLE@4
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTGETMENU@0 referenced in function _VIEW_MODIFIER_mp_MENU_HANDLER
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTDESTROYMENU@4 referenced in function _VIEW_MODIFIER_mp_MENU_HANDLER
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_GLUT_mp_F9X1GLUTIDLEFUNC@4 referenced in function _VIEW_MODIFIER_mp_MENU_HANDLER
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTGETWINDOW@0 referenced in function _VIEW_MODIFIER_mp_MENU_HANDLER
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTDESTROYWINDOW@4 referenced in function _VIEW_MODIFIER_mp_MENU_HANDLER
opengl_pref.obj : error LNK2019: unresolved external symbol _
OPENGL_GLUT_mp_F9XGLUTMOUSEFUNC@4 referenced in function _VIEW_MODIFIER_mp_VIEW_MODIFIER_INIT
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTMOTIONFUNC@4 referenced in function _VIEW_MODIFIER_mp_VIEW_MODIFIER_INIT
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTCREATEMENU@4 referenced in function _VIEW_MODIFIER_mp_VIEW_MODIFIER_INIT
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTADDMENUENTRY@12 referenced in function _VIEW_MODIFIER_mp_VIEW_MODIFIER_INIT
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTADDSUBMENU@12 referenced in function _VIEW_MODIFIER_mp_VIEW_MODIFIER_INIT
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_GLU_mp_F9XGLUPERSPECTIVE@16 referenced in function _VIEW_MODIFIER_mp_VIEW_MODIFIER_INIT
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLCLEAR@4 referenced in function _VIEW_DEMO_CALLBACKS_mp_DISPLAY
Read_dxf.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLCLEAR@4
3Dtemp.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLCLEAR@4
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLCALLLIST@4 referenced in function _VIEW_DEMO_CALLBACKS_mp_DISPLAY
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTSWAPBUFFERS@0 referenced in function _VIEW_DEMO_CALLBACKS_mp_DISPLAY
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLROTATEF@16 referenced in function _VIEW_DEMO_CALLBACKS_mp_DISPLAY_PREF
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLTRANSLATEF@12 referenced in function _VIEW_DEMO_CALLBACKS_mp_DISPLAY_PREF
Read_dxf.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLTRANSLATEF@12
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLCLEARCOLOR@16 referenced in function _VIEW_DEMO_CALLBACKS_mp_DISPLAY_BOT_ONLY
Read_dxf.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLCLEARCOLOR@16
3Dtemp.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLCLEARCOLOR@16
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTIDLEFUNC@4 referenced in function _VISIBLE
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTINITDISPLAYMODE@4 referenced in function _DRAW3D_PRE
multicavity.obj : error LNK2001: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTINITDISPLAYMODE@4
3Dtemp.obj : error LNK2001: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTINITDISPLAYMODE@4
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTINITWINDOWSIZE@8 referenced in function _DRAW3D_PRE
multicavity.obj : error LNK2001: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTINITWINDOWSIZE@8
3Dtemp.obj : error LNK2001: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTINITWINDOWSIZE@8
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTINITWINDOWPOSITION@8 referenced in function _DRAW3D_PRE
multicavity.obj : error LNK2001: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTINITWINDOWPOSITION@8
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTCREATEWINDOW@8 referenced in function _DRAW3D_PRE
multicavity.obj : error LNK2001: unresolved external symbol _OPENGL
_GLUT_mp_F9XGLUTCREATEWINDOW@8
3Dtemp.obj : error LNK2001: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTCREATEWINDOW@8
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTATTACHMENU@4 referenced in function _DRAW3D_PRE
multicavity.obj : error LNK2001: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTATTACHMENU@4
3Dtemp.obj : error LNK2001: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTATTACHMENU@4
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTDISPLAYFUNC@4 referenced in function _DRAW3D_PRE
multicavity.obj : error LNK2001: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTDISPLAYFUNC@4
3Dtemp.obj : error LNK2001: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTDISPLAYFUNC@4
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTVISIBILITYFUNC@4 referenced in function _DRAW3D_PRE
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTMAINLOOP@0 referenced in function _DRAW3D_PRE
Read_dxf.obj : error LNK2001: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTMAINLOOP@0
multicavity.obj : error LNK2001: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTMAINLOOP@0
3Dtemp.obj : error LNK2001: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTMAINLOOP@0
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLNEWLIST@8 referenced in function _AXIS_SCENE
Read_dxf.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLNEWLIST@8
multicavity.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLNEWLIST@8
3Dtemp.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLNEWLIST@8
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLCOLOR3F@12 referenced in function _AXIS_SCENE
Read_dxf.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLCOLOR3F@12
multicavity.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLCOLOR3F@12
3Dtemp.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLCOLOR3F@12
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLBEGIN@4 referenced in function _AXIS_SCENE
Read_dxf.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLBEGIN@4
multicavity.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLBEGIN@4
3Dtemp.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLBEGIN@4
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLVERTEX3F@12 referenced in function _AXIS_SCENE
Read_dxf.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLVERTEX3F@12
multicavity.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLVERTEX3F@12
3Dtemp.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLVERTEX3F@12
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLEND@0 referenced in function _AXIS_SCENE
Read_dxf.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLEND@0
multicavity.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLEND@0
3Dtemp.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLEND@0
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLENDLIST@0 referenced in function _AXIS_SCENE
Read_dxf.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F
9XGLENDLIST@0
multicavity.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLENDLIST@0
3Dtemp.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLENDLIST@0
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLLINEWIDTH@4 referenced in function _BOTTLE_MD
Read_dxf.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLLINEWIDTH@4
multicavity.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLLINEWIDTH@4
3Dtemp.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLLINEWIDTH@4
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLRASTERPOS3F@12 referenced in function _OUTPUT
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTBITMAPCHARACTER@8 referenced in function _OUTPUT
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLFLUSH@0 referenced in function _DISPLAYS
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLVIEWPORT@16 referenced in function _RESHAPES
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLLOADIDENTITY@0 referenced in function _RESHAPES
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_GLU_mp_F9XGLUORTHO2D@16 referenced in function _RESHAPES
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLSCALEF@12 referenced in function _RESHAPES
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTINIT@12 referenced in function _FLASH
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_GLUT_mp_F9XGLUTRESHAPEFUNC@4 referenced in function _FLASH
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLSHADEMODEL@4 referenced in function _SCALE_OK@12
Read_dxf.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLSHADEMODEL@4
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLFRONTFACE@4 referenced in function _AUGMENTVPMESH@12
3Dtemp.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLFRONTFACE@4 referenced in function _WRITEDATAWATER
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLCOLORMATERIAL@8 referenced in function _AUGMENTVPMESH@12
3Dtemp.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLCOLORMATERIAL@8 referenced in function _WRITEDATAWATER
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLMATERIALI@12 referenced in function _AUGMENTVPMESH@12
3Dtemp.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLMATERIALI@12 referenced in function _WRITEDATAWATER
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLPOLYGONOFFSET@8 referenced in function _AUGMENTVPMESH@12
3Dtemp.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLPOLYGONOFFSET@8 referenced in function _WRITEDATAWATER
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLCOLOR4F@16 referenced in function _AUGMENTVPMESH@12
3Dtemp.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLCOLOR4F@16
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLLIGHTFV@12 referenced in function _SHOW_3D_BOTTLE_ONLY
3Dtemp.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLLIGHTFV@1
2
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLMATERIALFV@12 referenced in function _SHOW_3D_BOTTLE_ONLY
3Dtemp.obj : error LNK2001: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLMATERIALFV@12
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLLISTBASE@4 referenced in function _SHOW_3D_BOTTLE_ONLY
opengl_pref.obj : error LNK2019: unresolved external symbol _OPENGL_FWRAP_mp_F9XGLCULLFACE@4 referenced in function _BOTTLESCENE
EXWinMain.obj : error LNK2019: unresolved external symbol _XINIT@12 referenced in function _WinMain@16
Debug/SBO23_IVF.exe : fatal error LNK1120: 63 unresolved externals


SBO23_IVF build failed.


0 Kudos
Steven_L_Intel1
Employee
1,489 Views
UNUSEDQQ is defined in module IFCORE. Or you can remove the references.

Without seeing your actual project, I don't know what you've done wrong. I do see that you have a _WinMain@16 defined and you're using QuickWin - you can't do both. As I mentioned earlier, you're also using modules that define the f90GL routines as STDCALL, which the modules I provided do not do.
0 Kudos
sumitm
Beginner
1,489 Views

Steve,

Thanks for the note that unusedqq is defined in IFCORE. If I press F1 it does not show up in the help. For example sleepqq does. I may not have the latest help file

My only errors now are wrt opengl. I tried going through the example f90 files in the f90gl directory and all the files compile and run except for the glutdino.f90. I get system violation error onexecutingthat. The other f90 files compile and runafter I make a separate project with IA-32 libs you provided.

Would it be possible to check that that example runs at your end. My application uses a variation of that. Maybe it is not related.

Many thanks for your help.

Sumit

0 Kudos
Steven_L_Intel1
Employee
1,489 Views
UNUSEDQQ is not documented. Its only purpose was to prevent a warning in Microsoft Fortran PowerStation and it does absolutely nothing.

The README for the samples notes that glutdino fails on many implementations, including Intel Fortran:

glutdino -- a green dinosaur. Rotate with the mouse while holding the left
mouse button. Right mouse button brings up a menu.

** x86/WinNT/PGI/Microsoft: program crashes
** x86/WinNT/Absoft/Microsoft: program crashes
** x86/WinNT/Laheyf95/Microsoft: program crashes
** x86/WinNT/Intel/Microsoft: program crashes
** x86/Linux/PGI/MetroLink: segmentation fault
** x86/Linux/Gnu/Mesa: segmentation fault

0 Kudos
sumitm
Beginner
1,489 Views

Thanks Steve,

I seem to have made a little progress. My files finally compiled.

The opengl errors were due to /iface:cvf. When I took that option off I got the CAV linker errors. So the two probably cannot coexist. So I commented out all the CAV routines called and got the project to compile and run. The opengl portion runs fine now. I will have to figure out then how to replace the CAV functions with IAV using only IAV routines. That probably I can live with.

Another thing that cropped up as an error during runtime is if I am using Namelist

The variables cannot be stated in the first column. CVF did not give me errors but IVF does.

for example

&ABSORBINPUT
Name = "plastic"
NP_L = 3324,
WL = 0.666666666666667,0.666844491864497
ABSRB=0.38506677962723,0.396033090800359
/

has to written such that the first column of the text file is blank. If data is in the first column it works fine but variable name or end of file limiter cannot be.

Thanks for all your help .

Regards,

Sumit

0 Kudos
Steven_L_Intel1
Employee
1,489 Views
I don't see a difference - in my tests, both CVF and IVF allow NAMELIST input to start in column 1.
0 Kudos
Reply