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

PRJ0019

jchwstbellsouth_net
885 Views
I've been reading about the PRJ0019 errors. Cannot find a common thread. Seems to occur for a variety of reasons.My build log is below.
Compiling with Intel Visual Fortran 11.1.035 [IA-32]...
ifort /nologo /debug:full /Od /gen-interfaces /warn:interfaces /module:"Debug\\\\" /object:"Debug\\\\" /traceback /check:bounds /libs:static /threads /dbglibs /c /Qvc9 /Qlocation,link,"c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\bin" "C:\\Data - Bermuda 2010\\Trim\\Source1.f90"
Trim : error PRJ0019: A tool returned an error code

Trim - 2 error(s), 0 warning(s)
Chris Hewlett, P.E.
Waterway Simulation Technology
158 Hampton Crest Trail
Columbia, SC 29209
TEL: 803-783-2118
CELL: 601-506-8698
FAX: 803-783-8236
0 Kudos
8 Replies
Les_Neilson
Valued Contributor II
885 Views
In my experience thesehave beendue to rc.exe and/or mt.exe which are to do with compiling resource and manifest files.
I merely open Visual Studio for the offending solution/project and do a "build" This will skip the already built parts of the project and build the failed part.

At least for me this has always fixed the problem.

Les
0 Kudos
jchwstbellsouth_net
885 Views

I don't understand this because that is exactly what I have been doing. I try to build the project in Visual Studio and get the error shown.

Chris

0 Kudos
Les_Neilson
Valued Contributor II
885 Views
Can you post the buildlog.htm file?
Could it be a file permission problem ? (I'm grasping at straws!)
I had a (different) problem last week where an existing file couldn't be overwritten because it was read-only for some reason,I neverdid find out how the read flag got set :-(

Les
0 Kudos
jimdempseyatthecove
Honored Contributor III
885 Views
If you have a different project the compiles correctly then compare the project settings between each. Look for the little differences (the ones that you migt overlook)

In particular you have

/module:"Debug\" /object:"Debug\"

Check to see if the working project uses:

/module:"Debug" /object:"Debug"

or

/module:"Debug" /object:"Debug"

If that does not lead to a solution then try

"Rebuild All"

Jim Dempsey
0 Kudos
jchwstbellsouth_net
885 Views
This is the only build log I get.


Compiling with Intel Visual Fortran 11.1.035 [IA-32]...
ifort /nologo /debug:full /Od /gen-interfaces /warn:interfaces /module:"Debug\" /object:"Debug\" /traceback /check:bounds /libs:static /threads /dbglibs /c /Qvc9 /Qlocation,link,"c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin" "C:\Data - Bermuda 2010\Trim\Source1.f90"
Trim : error PRJ0019: A tool returned an error code

Trim - 2 error(s), 0 warning(s)


I can't find a project that build on this machine now. They used to just a few days ago.

Chris H.
0 Kudos
jchwstbellsouth_net
885 Views

This is the entire build html.

Build Log
Build started: Project: Trim1, Configuration: Debug|Win32

Environment Space
=C:=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\Chris\AppData\Roaming
CLASSPATH=.;C:\Program Files (x86)\Java\jre1.6.0_07\lib\ext\QTJava.zip
CommonProgramFiles=C:\Program Files (x86)\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=WST-LAPTOPII
ComSpec=C:\Windows\system32\cmd.exe
DFSTRACINGON=FALSE
FOR__IS_DEBUGGER_PRESENT=1
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\Chris
IFORT_COMPILER11=C:\Program Files (x86)\Intel\Compiler\11.1\035\
INCLUDE=C:\Program Files (x86)\Intel\Compiler\11.1\035\include;C:\Program Files (x86)\Intel\Compiler\11.1\035\include\ia32;C:\Program Files (x86)\Intel\Compiler\11.1\035\mkl\include;c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include;c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include;c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\PlatformSDK\include;c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\PlatformSDK\include
INTEL_LICENSE_FILE=C:\Program Files (x86)\Common Files\Intel\Licenses
LIB=C:\Program Files (x86)\Intel\Compiler\11.1\035\lib\ia32;C:\Program Files (x86)\Intel\Compiler\11.1\035\mkl\ia32\lib;c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\lib;c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\lib;c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\PlatformSDK\lib;c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\PlatformSDK\lib\x86;c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\PlatformSDK\lib
LOCALAPPDATA=C:\Users\Chris\AppData\Local
LOGONSERVER=\\WST-LAPTOPII
NUMBER_OF_PROCESSORS=2
OnlineServices=Online Services
OS=Windows_NT
Path=C:\Program Files (x86)\Intel\Compiler\11.1\035\bin\ia32;C:\Program Files (x86)\Common Files\Intel\Shared Files\Ia32\Bin;c:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE;c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN;c:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools;c:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\bin;C:\Windows\Microsoft.NET\Framework\v2.0.50727;c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\PlatformSDK\bin;%CommonProgramFiles%\Microsoft Shared\Windows Live;C:\Program Files (x86)\Intel\Compiler\11.1\035\lib\Intel64;C:\Program Files (x86)\Intel\Compiler\11.1\035\lib\ia32;C:\Program Files (x86)\Common Files\Microsoft Shared\VSA\9.0\VsaEnv;C:\Program Files (x86)\Intel\Compiler\11.1\035\mkl\em64t\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\CyberLink\Power2Go;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Broadcom\Broadcom 802.11\Driver;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PCBRAND=Pavilion
Platform=MCD
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_ARCHITEW6432=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 10, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=170a
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files (x86)
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
QTJAVA=C:\Program Files (x86)\Java\jre1.6.0_07\lib\ext\QTJava.zip
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\Chris\AppData\Local\Temp
TMP=C:\Users\Chris\AppData\Local\Temp
TRACE_FORMAT_SEARCH_PATH=\\NTREL202.ntdev.corp.microsoft.com\34FB5F65-FFEB-4B61-BF0E-A6A76C450FAA\TraceFormat
USERDOMAIN=WST-LaptopII
USERNAME=Chris
USERPROFILE=C:\Users\Chris
VisualStudioDir=C:\Users\Chris\Documents\Visual Studio 2008
WecVersionForRosebud.1144=2
windir=C:\Windows
__iflSearch=C:\Program Files (x86)\Intel\Compiler\11.1\035\bin\ia32;C:\Program Files (x86)\Common Files\Intel\Shared Files\Ia32\Bin;c:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE;c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN;c:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools;c:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\bin;C:\Windows\Microsoft.NET\Framework\v2.0.50727;c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\PlatformSDK\bin;%CommonProgramFiles%\Microsoft Shared\Windows Live;C:\Program Files (x86)\Intel\Compiler\11.1\035\lib\Intel64;C:\Program Files (x86)\Intel\Compiler\11.1\035\lib\ia32;C:\Program Files (x86)\Common Files\Microsoft Shared\VSA\9.0\VsaEnv;C:\Program Files (x86)\Intel\Compiler\11.1\035\mkl\em64t\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\CyberLink\Power2Go;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Broadcom\Broadcom 802.11\Driver;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live


Output
Compiling with Intel Visual Fortran 11.1.035 [IA-32]...
ifort /nologo /debug:full /Od /gen-interfaces /warn:interfaces /module:"Debug\" /object:"Debug\" /traceback /check:bounds /libs:static /threads /dbglibs /c /Qvc9 /Qlocation,link,"c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin" "C:\Data - Bermuda 2010\Source1.f90"
Trim1 : error PRJ0019: A tool returned an error code

Trim1 - 1 error(s), 0 warning(s)


Chris H.

0 Kudos
Wendy_Doerner__Intel
Valued Contributor I
885 Views
Chris,

Do you have any other plug-ins installed before you started seeing the error. Can you do a help about from inside Microsoft Visual Studio and post here?

Also we may need to see the zipped up solution to troubleshoot more.

------

Wendy

Attaching or including files in a post

0 Kudos
jchwstbellsouth_net
885 Views

I added a project zip file (just a small fortran program). I have not added any add-ins to MS Visual Studio since I noticed the build problem.

Below is what I could copy from Help About withing MS VS 2008. I don't know if this is what you are looking for.

Microsoft Visual Studio 2008
Version 9.0.21022.8 RTM
Microsoft .NET Framework
Version 3.5 SP1

Installed Edition: IDE Standard

Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB945282) KB945282
This hotfix is for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/945282.

Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB946040) KB946040
This hotfix is for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946040.

Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB946308) KB946308
This hotfix is for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946308.

Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB946344) KB946344
This hotfix is for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946344.

Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB946581) KB946581
This hotfix is for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946581.

Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB947173) KB947173
This hotfix is for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947173.

Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB947540) KB947540
This hotfix is for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947540.

Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB947789) KB947789
This hotfix is for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947789.

Intel Visual Fortran Compiler Integration Package ID: w_cprof_p_11.1.035
Intel Visual Fortran Compiler Integration for Microsoft Visual Studio* 2008, 11.1.3462.2008, Copyright (C) 2002-2009 Intel Corporation
* Other names and brands may be claimed as the property of others.

Update for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB972221) KB972221
This update is for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU.
If you later install a more recent service pack, this update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/972221.

0 Kudos
Reply