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
初學者
571 檢視
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 積分
2 回應
Steven_L_Intel1
571 檢視
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
jinny
初學者
571 檢視
Dear Steve,

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

Jinny
回覆