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

Unresolved External Symbols

Brian_A_
Novice
1,924 Views
I am compiling in 64bit mode. Works fine in 32bit.
relapo.lib(guinstruct.o) : error LNK2019: unresolved external symbol gluOrtho2D referenced in function DISPLAYW2
relapo.lib(displaytp.o) : error LNK2001: unresolved external symbol gluOrtho2D
relapo.lib(displayw3.o) : error LNK2001: unresolved external symbol gluOrtho2D
relapo.lib(display04.o) : error LNK2019: unresolved external symbol gluProject referenced in function DISPLAY04
relapo.lib(display00.o) : error LNK2001: unresolved external symbol gluProject
bin\\relap5.exe : fatal error LNK1120: 2 unresolved externals
I am using the 64bit f90 graphics files for opengl.
0 Kudos
1 Solution
Steven_L_Intel1
Employee
1,924 Views
Ok - the symbols you're missing come from glu32.lib in the Windows SDK. On my system this is in:

C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib\x64

Make sure that this folder is in your LIB path and that glu32.lib is referenced in your link. Compare to the 32-bit configuration to see what is different.

View solution in original post

0 Kudos
5 Replies
Steven_L_Intel1
Employee
1,924 Views
Are you linking against the 64-bit OpenGL libraries? Please show the buildlog.htm (attach it.) You might be linking to the 32-bit libraries.
0 Kudos
Brian_A_
Novice
1,924 Views
I have attached the look file.
0 Kudos
Steven_L_Intel1
Employee
1,924 Views
This doesn't tell me what kind of library f90glu.lib is. Can you zip and attach that?
0 Kudos
Brian_A_
Novice
1,924 Views
I have attached the f90glu.lib.
0 Kudos
Steven_L_Intel1
Employee
1,925 Views
Ok - the symbols you're missing come from glu32.lib in the Windows SDK. On my system this is in:

C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib\x64

Make sure that this folder is in your LIB path and that glu32.lib is referenced in your link. Compare to the 32-bit configuration to see what is different.
0 Kudos
Reply