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)


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


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
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 条帖子 / 0 全新