- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
In past time, I used Intel Fortran 9.1, I got a problem when compiling.
My project only has one souce file named test.f90 file, when I put it into current folder it can genrete library and dllfile but when I change it to the other folder or disk, it cannot generate the libarary file, only dll, I also include the change folder directory in additional include directory, but it stilll can not generate libary file.
does someone help me to solve the problem?
Thanks a lots,
Ted.
In past time, I used Intel Fortran 9.1, I got a problem when compiling.
My project only has one souce file named test.f90 file, when I put it into current folder it can genrete library and dllfile but when I change it to the other folder or disk, it cannot generate the libarary file, only dll, I also include the change folder directory in additional include directory, but it stilll can not generate libary file.
does someone help me to solve the problem?
Thanks a lots,
Ted.
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you get an error, or just no .lib? The most common cause of no .lib for a DLL build is missing the appropriate !DEC$ ATTRIBUTES DLLEXPORT directive for the names to be exported. At least one needs to be seen in order for the linker to create the .lib (and .exp).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve,
Thanks for your reply.
You arecorrect. I only get dll file not lib file when change source file directory. could you please let me know how can I create lib under linker. I tried it but failed.
Thanks,
Ted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is nothing you can or should do with options to get the .LIB. You do need a DLLEXPORT directive in the routine(s) being exported, otherwise you won't get a LIB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve,
Thanks, I have fixed the problem.
Ted.
Thanks, I have fixed the problem.
Ted.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page