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

Adder Example

JohnNichols
소중한 기여자 III
967 조회수
Dear Steve:

I entered the code from the Fortran Manual Adder Com example.

I read through the program creation guide several times and as far as I can see followed the coding requirements.

I get the following error code. This is a new on on me?

Error1 error PRJ0019: A tool returned an error code from "Registering output..."Project

I enclose the complete code file as a zip file, could you tell me what this error means and what mistake I made.



0 포인트
5 응답
Steven_L_Intel1
968 조회수
PRJ0019 is a generic error that comes when any external tool fails for some reason. But in this case it was where the build tried to register the DLL. If you are on Vista or Windows 7 and did not start VS as an administrator, you can get this error as the regsvr32 command would fail.

Exit VS, right click on the VS icon and select "Start as Administrator". It should work then. You only need to do the registration once.
0 포인트
JohnNichols
소중한 기여자 III
968 조회수
Steve:

Thanks.

JMN
0 포인트
JohnNichols
소중한 기여자 III
968 조회수
Steve:

Ok, I got that to work, thanks. I now have an Adder.lib

I have not used routines in libraries since 1994, before Powerstation.

How do I add in this library to a program so I can use the module?

I had a good look in the help files but I was lost.

Thanks

JMN
0 포인트
lklawrie
초급자
968 조회수
I've added it directly to the project or my current one adds the libraries as an input to the linker. (specifies the full path to the .lib file in the IVF/IDE)

Linda
0 포인트
Steven_L_Intel1
968 조회수
The simplest way is to just add the .lib as if it were a source file to the executable project. Or if the project was one that created the .lib, make it a dependent of the executable project in the same solution. You do this by right clicking on the executable, selecting Dependencies, and checking the box for the library subproject.

0 포인트
응답