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

Intel Fortran Compiler errors

postaquestion
Novice
1,012 Views

Hello, I've written an Intel Fortran program, but when Irun it, the errors are:

apeare: --------------------Configuration: TFCAL - Win32
Debug-------------------- Linking... TFCAL.OBJ : error LNK2001:
unresolved external symbol __settextcolor TFCAL.OBJ : error LNK2001:
unresolved external symbol __settextcolor TFCAL.OBJ : error LNK2001:
unresolved external symbol __settextcolor TFCAL.OBJ : error LNK2001:
unresolved external symbol __setcolor TFCAL.OBJ : error LNK2001:
unresolved external symbol __setcolor TFCAL.OBJ : error LNK2001:
unresolved external symbol __setcolor TFCAL.OBJ : error LNK2001:
unresolved external symbol __f_moveto_w@12 TFCAL.OBJ : error LNK2001:
unresolved external symbol __f_moveto_w@12 TFCAL.OBJ : error LNK2001:
unresolved external symbol __f_moveto_w@12 TFCAL.OBJ : error LNK2001:
unresolved external symbol __lineto_w TFCAL.OBJ : error LNK2001:
unresolved external symbol __lineto_w TFCAL.OBJ : error LNK2001:
unresolved external symbol __lineto_w TFCAL.OBJ : error LNK2001:
unresolved external symbol __setwindow TFCAL.OBJ : error LNK2001:
unresolved external symbol __setwindow TFCAL.OBJ : error LNK2001:
unresolved external symbol __setviewport TFCAL.OBJ : error LNK2001:
unresolved external symbol __setviewport TFCAL.OBJ : error LNK2001:
unresolved external symbol __setvideomode TFCAL.OBJ : error LNK2001:
unresolved external symbol __setvideomode TFCAL.OBJ : error LNK2001:
unresolved external symbol __setvideomode TFCAL.OBJ : error LNK2001:
unresolved external symbol __setvideomode TFCAL.OBJ : error LNK2001:
unresolved external symbol __settextwindow TFCAL.OBJ : error LNK2001:
unresolved external symbol __settextwindow TFCAL.OBJ : error LNK2001:
unresolved external symbol __rectangle_w TFCAL.OBJ : error LNK2001:
unresolved external symbol __rectangle_w TFCAL.OBJ : error LNK2001:
unresolved external symbol __getvideoconfig TFCAL.OBJ : error LNK2001:
unresolved external symbol __getvideoconfig TFCAL.exe : fatal error
LNK1120: 10 unresolved externals Error executing link.exe. TFCAL.exe -
27 error(s), 0 warning(s) please help me to solve this problem

0 Kudos
1 Reply
Steven_L_Intel1
Employee
1,012 Views
None of these are compiler errors - they are link errors. The first problem I see is that you have objects compiled with CVF - or are you using CVF? The linker is not seeing the QuickWin library, which all of these routines are from. Is yours a QuickWin project?
0 Kudos
Reply