- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm handling huge FORTRAN 90 code in IVF 11.1.065, Windows 7 64bit.
For code review and further development, some part of the code will be sent to other company.
Also, that company want to compile the code.
However, for security, the whole code cannot be sent and only small portion of the code will be given.
I select the files to be sent and the last will be sent to *.obj or *.mod files.
In this case, I don't know how to configure compile option for IDE.
I tested shown below;
1. Compile whole original code, then obj and mod files will be generated
2. Create new project with files to be sent to other company
3. In IDE configuration properties,
Fortran - General - Additional Include Directories
Linker - General - Additional Library Directories
For both directories, I added the folder where contains *.obj and *.mod files of original code.
But the compile ended with bunch of errors of LNK2001 or 2019.
How can I compile these selected files of code with existing compiled obj or mod files?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You would need to add the obj files to the project like you would a source file...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The issue is that while you told the linker where to find library files, you didn't tell it which objects or libraries you wanted. Andrew suggests how to do that. More typically one would build the sub-project as a static library project and then simply make that a "dependent" of the executable project. This will cause the library from the subproject to be automatically linked in.

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