![]() |
Linking issues User Fortran
Hi,
When I try to link user fortran example files, the MS linker does not recognize any CEL functions. I am using CFX-11 on a WINNT-AMD-64 machine with a INTEL compiler. If I comment the CEL functions there is no problem. It is as if the CFX library is not being linked/imported? Does anybody have any ideas? Thanks in advance Anil Microsoft (R) Incremental Linker Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. -out:.\winnt-amd64\\myfunc.dll -dll -implib:.\winnt-amd64\\myfunc.lib winnt-amd64\\backstep.o "C:\Program Files\ANSYS Inc\v110\CFX\lib\winnt-amd64\solver-pvm.lib" Creating library .\winnt-amd64\\myfunc.lib and object .\winnt-amd64\\myfunc.e xp backstep.o : error LNK2019: unresolved external symbol _PEEKCS@40 referenced in function _USER_INPUT backstep.o : error LNK2019: unresolved external symbol _MESAGE@16 referenced in function _USER_INPUT backstep.o : error LNK2019: unresolved external symbol _PSHDIR@24 referenced in function _USER_INPUT backstep.o : error LNK2019: unresolved external symbol _CHGDIR@24 referenced in function _USER_INPUT backstep.o : error LNK2019: unresolved external symbol _MAKDAT@40 referenced in function _USER_INPUT backstep.o : error LNK2019: unresolved external symbol _POKEI@36 referenced in f unction _USER_INPUT backstep.o : error LNK2019: unresolved external symbol _POPDIR@16 referenced in function _USER_INPUT backstep.o : error LNK2019: unresolved external symbol _CFXSTP@8 referenced in f unction _USER_INPUT_TABLE backstep.o : error LNK2019: unresolved external symbol _SET_A_0@8 referenced in function _USER_UPROFILE backstep.o : error LNK2019: unresolved external symbol _PEEKI@36 referenced in f unction _USER_UPROFILE backstep.o : error LNK2019: unresolved external symbol _LOCDAT@40 referenced in function _USER_UPROFILE backstep.o : error LNK2019: unresolved external symbol _CFROMI@12 referenced in function _USER_PRINT_PROFILE backstep.o : error LNK2019: unresolved external symbol _CFROMR@12 referenced in function _USER_PRINT_PROFILE .\winnt-amd64\\myfunc.dll : fatal error LNK1120: 13 unresolved externals An error has occurred in cfx5mkext: C:\Program Files (x86)\Intel\Compiler\Fortran\9.1\Ia32\Bin\ifort exited with return code 96. |
Re: Linking issues User Fortran
Are you using cfx5mkext to compile your fortran?
|
Re: Linking issues User Fortran
Yes I don't have visual c++ toolkit but have MS visual studio, I am wondering if that is the problem.
|
Hi,
I met the same problem as you. Have you solved the problem? |
All times are GMT -4. The time now is 02:32. |