xilink: error: unable to run 'link'

xilink: error: unable to run 'link'

I get the following output when compiling with the C++ 9 (21) compiler in VS2003:

------ Rebuild All started: Project: test, Configuration: Debug Win32 ------

Deleting intermediate files and output files for project 'test', configuration 'Debug|Win32'.

Compiling with Intel C++ 9.0 ...(Intel C++ Environment)

stdafx.cpp

Compiling with Intel C++ 9.0 ...(Intel C++ Environment)

test.cpp

Linking...(Intel C++ Environment)

xilink: executing 'link'

xilink: error: unable to run 'link'

Build Time: 0:00:01

Build log was saved at "file://D:Projectsconvolverconvolver estDebugBuildLog.htm"

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

---------------------- Done ----------------------

Rebuild All: 0 succeeded, 1 failed, 0 skipped

Running xiilink manually from the command line generates:

... est>xilink kernel32.lib user32.lib gdi32.lib wi
nspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib
odbc32.lib odbccp32.lib /OUT:"Debug/test.exe" /INCREMENTAL /NOLOGO /TLBID:1 /DE
BUG /PDB:"Debug/test.pdb" /SUBSYSTEM:CONSOLE /MACHINE:X86
xilink: warning: empty multi-file optimizations object list
xilink: executing 'link'
LINK : warning LNK4001: no object files specified; libraries used
LINK : error LNK2001: unresolved external symbol _mainCRTStartup
Debug/test.exe : fatal error LNK1120: 1 unresolved externals

I assume that this is something to do with path variable settings of some sort, but I cannot figure out which. Suggestions?

1 contribution / 0 nouveau(x)
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.