Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

External Dependeces in DLL

jinny
Beginner
568 Views
Hi,

I am trying to add a file that defines all the common blocks and parameters into my DLL workspace. This file is working fine with normal application workspace, but when I add it into my DLL workspace, and try to link it, it keeps giving me the following error message:

Error: Syntax error, found END-OF-FILE when expecting one of:
0 Kudos
2 Replies
Steven_L_Intel1
Employee
568 Views
I take it that this is an INCLUDE file. Don't add INCLUDE files under "Source Files" - let the dependency analyzer find them and they'll show up under External Dependencies. If you have a .f90 or .f or .for file under Source Files, it tries to compile it directly, which is why you're getting the errors.

Just click on the file name under Source Files and press Delete. The file itself won't go away. Then do a Build..Update Dependencies and you'll see it under External Dependencies.

Steve
0 Kudos
jinny
Beginner
568 Views
Dear Steve,

You solved my problem!!! Thank you so much! I love this forum!

Jinny
0 Kudos
Reply