- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm fairly new to command line work, so I may be doing something stupid ...
I have set up a test .bat file (see attached) to do something that works perfectly well in Visual Sudio. I have copied a line from the project properties/fortran command line and added "ifort" and source file names:
ifort buffer.f90 /compile_only /dll /nologo /module:"Release/" /object:"Release/" /libs:static /threads /c
and that seems to work.
Then I have copied a line from the project properties/linker command line:
/OUT:"Release/buffer.dll" /INCREMENTAL:NO /NOLOGO /MANIFEST /MANIFESTFILE:"K:371-Forest Management BranchFMIS devSourceVF FMISFMISDLL sourceuffer eleaseuffer.dll.intermediate.manifest" /SUBSYSTEM:WINDOWS /IMPLIB:"Release/buffer.lib" /DLL kernel32.lib
and have added paths for a static library and the object file to be linked - this does not work.The linker doesn't even recognise the /MANIFEST or /MANIFESTFILE switchesand ignores them (what are they for anyway? ). Finally, I persistenly get errors LNK2019 and LNK2001 with the message that ___intel_f2int cannot be found and is referenced in a routine buried in the static libary. What could the problem be when the library built perfectly well in Visual Studio? I have to admit I don't understand linking, especially in IVF10/VS2005, a very new environment for me. Please could someone enlighted me.
With many thanks in advance
Mike
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
call "C:Program FilesIntelCompilerFortran10.1.021IA32Binifortvars.bat"

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