- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I convert one CVF's project to IVF's project.
Then I found some error linking showing:
***.obj : error LNK2001: unresolved external symbol _SYSTEM@8
or error LNK2001: unresolved external symbol _IERRNO@0
These ***.obj are all for module files.
I use some IMSL functions and I have set the "library" and "include". There are no errors relating IMSL libraries.
Thank you in advance.
MikeLiu
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use Visual Studio 2008.
Another question is, when I switch to another solution and switch back to the solution using File->Recent Projects, build solution again, it shows that if I want to save as a new ***.sln. I am wondering why? Then after I save it as a new solution, build solution it again , then it shows "1>Embedding manifest...
1>mt.exe : general error c10100b1: Failed to load file ......"
I try to Rebuilt but same error appears.
MikeLiu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I went back to my old CVF project and convert it again, then I build it.
It shows several link errors as my orginal post here.
Oh this time, after I read the White Paper, I remeber to extract CVF's components.
MikeLiu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh, this is my first time to convert CVF to IVF for a project containing 66 source files.
Really sorry for this to stupid reply to myself.
I found the IMSL functions are changed. I need some time to modify them.
MikeLiu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After a few trial, I fixed some IMSL problems, but still remains the following:
1>------ Build started: Project: XXXXX, Configuration: Debug Win32 ------
1>Linking...
1>imsl.lib(cdgrd.obj) : error LNK2019: unresolved external symbol _SCOPY referenced in function _CDGRD
1>imsl.lib(r2ivn.obj) : error LNK2001: unresolved external symbol _SCOPY
1>imsl.lib(girts.obj) : error LNK2001: unresolved external symbol _SCOPY
1>imsl.lib(csfrg.obj) : error LNK2001: unresolved external symbol _SCOPY
1>imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol ___kmpc_global_thread_num referenced in function _E1LOCK
1>imsls_err.lib(umach.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(e1inpl.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(e1ucs.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(e1prt.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(n1rgb.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(e1pos.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(n1rty.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(e1stl.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(e1init.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(n1rcd.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(e1pop.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(e1usr.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(e1sti.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsl.lib(r2ivn.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(e1psh.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(e1str.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(e1mes.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(umach.obj) : error LNK2019: unresolved external symbol ___kmpc_threadprivate_cached referenced in function _UMACH
1>imsls_err.lib(e1inpl.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsls_err.lib(e1ucs.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsls_err.lib(e1prt.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsls_err.lib(n1rgb.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsls_err.lib(e1pos.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsls_err.lib(n1rty.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsls_err.lib(e1stl.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsls_err.lib(e1init.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsls_err.lib(n1rcd.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate
_cached
1>imsls_err.lib(e1pop.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsls_err.lib(e1usr.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsls_err.lib(e1sti.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsl.lib(r2ivn.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsls_err.lib(e1psh.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsls_err.lib(e1str.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsls_err.lib(e1mes.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsl.lib(r2ivn.obj) : error LNK2019: unresolved external symbol _SROTM referenced in function _R2IVN
1>imsl.lib(r2ivn.obj) : error LNK2019: unresolved external symbol _SSCAL referenced in function _R2IVN
1>imsl.lib(r2tdb.obj) : error LNK2001: unresolved external symbol _SSCAL
1>imsl.lib(girts.obj) : error LNK2001: unresolved external symbol _SSCAL
1>imsl.lib(girts.obj) : error LNK2019: unresolved external symbol _SGER referenced in function _GIRTS
1>imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol ___kmpc_critical referenced in function _E1LOCK
1>imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol ___kmpc_flush referenced in function _E1LOCK
1>imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol ___kmpc_end_critical referenced in function _E1LOCK
1>imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol ___kmpc_set_nest_lock referenced in function _E1LOCK
1>imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol _omp_set_nest_lock referenced in function _E1LOCK
1>imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol ___kmpc_unset_nest_lock referenced in function _E1LOCK
1>imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol _omp_unset_nest_lock referenced in function _E1LOCK
1>imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol ___kmpc_init_nest_lock referenced in function _E1LOCK
1>imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol _omp_init_nest_lock referenced in function _E1LOCK
1>XXXXX.exe : fatal error LNK1120: 15 unresolved externals
1>
I've checked the Linker->Input and find there are kernel32.lib, three imsl libraries and one myBuild.lib which I also rebuild it by IVF now.
MikeLiu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
chliuIntel:
Hi
I convert one CVF's project to IVF's project.
Then I found some error linking showing:
***.obj : error LNK2001: unresolved external symbol _SYSTEM@8
or error LNK2001: unresolved external symbol _IERRNO@0
These ***.obj are all for module files.
I use some IMSL functions and I have set the "library" and "include". There are no errors relating IMSL libraries.
Thank you in advance.
MikeLiu
The error seems caused by incorrect calling convention setting in the new project. Can you try to to go to "Project Properties Dialog -> Fortran -> External Procedures -> Calling Convention" and set it to "Default"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MADxduan:
chliuIntel:
Hi
I convert one CVF's project to IVF's project.
Then I found some error linking showing:
***.obj : error LNK2001: unresolved external symbol _SYSTEM@8
or error LNK2001: unresolved external symbol _IERRNO@0
These ***.obj are all for module files.
I use some IMSL functions and I have set the "library" and "include". There are no errors relating IMSL libraries.
Thank you in advance.
MikeLiu
The error seems caused by incorrect calling convention setting in the new project. Can you try to to go to "Project Properties Dialog -> Fortran -> External Procedures -> Calling Convention" and set it to "Default"?
I've done it but still shows the following errors:
1>imsl.lib(cdgrd.obj) : error LNK2019: unresolved external symbol _SCOPY referenced in function _CDGRD
1>imsl.lib(r2ivn.obj) : error LNK2001: unresolved external symbol _SCOPY
1>imsl.lib(girts.obj) : error LNK2001: unresolved external symbol _SCOPY
1>imsl.lib(csfrg.obj) : error LNK2001: unresolved external symbol _SCOPY
1>imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol ___kmpc_global_thread_num referenced in function _E1LOCK
1>imsls_err.lib(umach.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(e1inpl.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(e1ucs.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(e1prt.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(n1rgb.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(e1pos.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(n1rty.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(e1stl.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(e1init.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(n1rcd.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(e1pop.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(e1usr.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(e1sti.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsl.lib(r2ivn.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(e1psh.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(e1str.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(e1mes.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num
1>imsls_err.lib(umach.obj) : error
LNK2019: unresolved external symbol ___kmpc_threadprivate_cached referenced in function _UMACH
1>imsls_err.lib(e1inpl.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsls_err.lib(e1ucs.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsls_err.lib(e1prt.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsls_err.lib(n1rgb.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsls_err.lib(e1pos.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsls_err.lib(n1rty.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsls_err.lib(e1stl.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsls_err.lib(e1init.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsls_err.lib(n1rcd.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsls_err.lib(e1pop.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsls_err.lib(e1usr.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsls_err.lib(e1sti.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsl.lib(r2ivn.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsls_err.lib(e1psh.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsls_err.lib(e1str.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsls_err.lib(e1mes.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached
1>imsl.lib(r2ivn.obj) : error LNK2019: unresolved external symbol _SROTM referenced in function _R2IVN
1>imsl.lib(r2ivn.obj) : error LNK2019: unresolved external symbol _SSCAL referenced in function _R2IVN
1>imsl.lib(r2tdb.obj) : error LNK2001: unresolved external symbol _SSCAL
1>imsl.lib(girts.obj) : error LNK2001: unresolved external symbol _SSCAL
1>imsl.lib(girts.obj) : error LNK2019: unresolved external symbol _SGER referenced in function _GIRTS
1>imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol ___kmpc_critical referenced in function _E1LOCK
1>imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol ___kmpc_flush referenced in function _E1LOCK
1>imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol ___kmpc_end_critical referenced in function _E1LOCK
1>imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol ___kmpc_set_nest_lock referenced in function _E1LOCK
1>imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol _omp_set_nest_lock referenced in function _E1LOCK
1>imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol ___kmpc_unset_nest_lock referenced in function _E1LOCK
1>imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol _omp_unset_nest_lock referenced in function _E1LOCK
1>imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol ___kmpc_init_nest_lock referenced in function _E1LOCK
1>imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol _omp_init_nest_lock referenced in function _E1LOCK
Do I still need to have "kernel32.lib ;imsl.lib imsls_err.lib imslmpistub.lib" in the Project properties->Linker->Input->Additional Dependencies?
Thank you very much for your reply.
MikeLiu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For IMSL, please also add this line to your main program source:
!DEC$ OBJCOMMENT LIB:"libguide.lib"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MADsblionel:
The problem with the calls to SYSTEM, etc., is that you converted a CVF project so that the default calling conventions are CVF's, but you did not have USE DFPORT to bring in the declarations of those so the compiler assumed the calling conventions were the same. You are probably safe to go into the project properties, Fortran > External Procedures and set the calling convention to "Default" and the string length argument passing to "".
For IMSL, please also add this line to your main program source:
!DEC$ OBJCOMMENT LIB:"libguide.lib"
I used:
USE IFPORT
in
calling SYSTEM & IERRNO. Now I don't have errors of them.
I have done:
include 'link_fnl_static.h'
!DEC$ OBJCOMMENT LIB:'libguide.lib'
in some IMSL's functions such as CDGRD, but thereare still errors:
imsl.lib(cdgrd.obj) : error LNK2019: unresolved external symbol _SCOPY referenced in function _CDGRD
1>imsl.lib(r2ivn.obj) : error LNK2001: unresolved external symbol _SCOPY
1>imsl.lib(girts.obj) : error LNK2001: unresolved external symbol _SCOPY
1>imsl.lib(csfrg.obj) : error LNK2001: unresolved external symbol _SCOPY
....
I find SCOPY is also a function of IMSL.
ps.
I have also found the arguments of new IMSL are different to the CVF's IMSL.
I also modified them.
MikeLiu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does "inherit from project defaults>" show "After All Arguments"?
When I click it, it turns to "After All Arguments".
MikeLiu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh, it works.
I forgot also put the following lines to the main program:
include 'link_fnl_static.h'
!DEC$ OBJCOMMENT LIB:"libguide.lib"
So, if these two lines are so important for converting CVF's project to IVF's project, may I put them before PROGRAM?
Set them as global. Then will they be seen in every module?
Thank you very much.
MikeLiu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Those lines are not part of "CVF conversion" directly. They are required to use IMSL 6 when you want static linking. CVF had IMSL 4 which used a different method of specifying libraries and had fewer options.
I will comment that you'll probably have to change or remove the OBJCOMMENT line once you get 11.0 and the updated IMSL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have tried to use IMSL library to solve a linear optimization (using DLPRS). but I receive the following errors in Compaq visual fortran:
LPTEST.obj : error LNK2001: unresolved external symbol _SSCAL@16
LPTEST.obj : error LNK2001: unresolved external symbol _DLPRS@52
LPTEST.obj : error LNK2001: unresolved external symbol _UMACH@8
Debug/LPTEST.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.
what should I do?
I have attached the code too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which version of CVF and IMSL did you use? How did you attempt to build?
Your program builds and runs fine with CVF6.6C and the IMSL4 that came with it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot for your reply. I have CVF professional Edition 6.5.0. I did not really know from where I could check the version of IMSL. but I have attached the pdf of IMSL which is related to my installed CVF. Maybe you can help me with finding the version of my IMSL?
If these errors apear because of the version of my CVF do you have any opinion about how to do LP with my current verison of CVF? or how to solve the errors?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The PDF document files are not always revised when the software is, so one cannot rely upon the PDF file to find the IMSL version. Page 5 of your math.pdf lists the version as 3.0. The math.pdf file that I have also shows 3.0, although the PDF file is a bit different. There is an IMSL inquiry subroutine called VERML, which you can use to find the version number of your installation. My version was listed by this subroutine as "IMSL Fortran 90 MP Library Version 4.01".
How did you compile and link your linear program application lptest.f90? In particular, what was the command line used to link?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If I have understood your question well, I should have used a line in my program to link my code to the library to be able to use the required functions. I added the line "USE IMSL" but I received 3 other errors as follows when compiling it:
--------------------Configuration: LPTEST - Win32 Debug-------------------- Compiling Fortran...
C:\Documents and Settings\Administrator\Desktop\LPTEST.f90 C:\Documents and Settings\Administrator\Desktop\LPTEST.f90(6) : Error: The attributes of this name conflict with those made accessible by a USE statement. [DLPRS] EXTERNAL DLPRS, SSCAL, UMACH ---------^
C:\Documents and Settings\Administrator\Desktop\LPTEST.f90(6) : Error: The attributes of this name conflict with those made accessible by a USE statement. [SSCAL] EXTERNAL DLPRS, SSCAL, UMACH ----------------^
C:\Documents and Settings\Administrator\Desktop\LPTEST.f90(6) : Error: The attributes of this name conflict with those made accessible by a USE statement. [UMACH] EXTERNAL DLPRS, SSCAL, UMACH -----------------------^ Error executing df.exe.
LPTEST.obj - 3 error(s), 0 warning(s)
If you have any other suggestions about the command lines I should use to solve the problems, I'll be glad to test them.
also about the version of my IMSL, I tried to use the VERML subroutine but I was not successful. Could you please tell me how exactly can I find or use this subroutine?
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you provide interfaces to IMSL routines by adding statements such as "USE IMSL", you must not list the same routines in EXTERNAL declarations. Secondly, USE statements do not cause the compiler to include the IMSL libraries in the link step. You must explicitly add the imsl libraries in the IDE under Project Settings-Link-Object Libraries/Modules, or add the IMSL libraries to the linker command line.
Here is a modified version of the program in the IMSL manual for printing the version:
[fortran]
program IMSLVER
INTEGER ISELCT, NOUT
CHARACTER STRING(4)*50, TEMP*132, VERML*132
EXTERNAL UMACH, VERML
C
STRING(1) = '('' IMSL MATH/LIBRARY Version Number: '',A)'
STRING(2) = '('' Operating System ID Number: '', A)'
STRING(3) = '('' Fortran Compiler Version Number: '', A)'
STRING(4) = '('' IMSL MATH/LIBRARY Serial Number: '', A)'
C Print the versions and numbers.
CALL UMACH (2, NOUT)
DO 10 ISELCT=1, 4
TEMP = VERML(ISELCT)
WRITE (NOUT,STRING(ISELCT)) TEMP
10 CONTINUE
END[/fortran]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
now I delete the "USE IMSL" from the code. Under Project Settings-Link-Object Libraries/Modules I had "kernel32.lib". I deleted it and added "IMSL.lib" instead. now I receive the following error:
Linking... LINK : fatal error LNK1104: cannot open file "IMSL.obj" Error executing link.exe.
the second way you suggested was to add the IMSL libraries to the linker command line. Could you please explain more about this way? where is the linker command line?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is no file called imsl.obj in a CVF 6.6 installation. You could have mistyped "obj" instead of "lib" somewhere.
Open a CVF Fortran Command Prompt window. Change to the directory containing the Fortran source, and enter the command
[bash]df lptest.f90 imsl.lib imsls_err.lib imslmpistub.lib[/bash]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks so much. In my LPTEST.f90 I deleted the line "external..." and I added the "USE IMSL" and then I got the results.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page