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

Help!!! Linker Error

garylscott1
Beginner
547 Views

Having problems with initial install at home (no problems at work). Here is the build log:

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

Compiling with Intel Visual Fortran 11.1.048 [IA-32]...

ifort /nologo /debug:full /Od /I"c:\\program files (x86)\\gino\\v7.5f\\modules" /gen-interfaces /warn:interfaces /module:"Debug\\\\" /object:"Debug\\pevmv1" /traceback /check:bounds /libs:static /threads /dbglibs /winapp /c /Qvc9 /Qlocation,link,"c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\bin" "C:\\FortranSource\\PEVMV1\\PEVMV1\\PEVMV1.f90"

Linking...

Link /OUT:"Debug\\PEVMV1.exe" /INCREMENTAL:NO /NOLOGO /MANIFEST /MANIFESTFILE:"C:\\FortranSource\\PEVMV1\\PEVMV1\\Debug\\PEVMV1.exe.intermediate.manifest" /DEBUG /PDB:"C:\\FortranSource\\PEVMV1\\PEVMV1\\Debug\\PEVMV1.pdb" /SUBSYSTEM:WINDOWS /ENTRY:"mainCRTStartup" /IMPLIB:"C:\\FortranSource\\PEVMV1\\PEVMV1\\Debug\\PEVMV1.lib" "c:\\program files (x86)\\gino\\v7.5f\\gmenuwi8.lib" "c:\\program files (x86)\\gino\\v7.5f\\ginlibi8.lib" "c:\\program files (x86)\\gino\\v7.5f\\ggrafi8.lib" c:\\program files (x86)\\gino\\v7.5f\\gmwin.lib" "c:\\program files (x86)\\gino\\v7.5f\\gsurfi8.lib" "c:\\program files (x86)\\gino\\v7.5f\\gmwinerr.lib" "c:\\program files (x86)\\gino\\v7.5f\\gwogl.lib" "Debug\\pevmv1.obj"

Link: executing 'link'

LINK : fatal error LNK1181: cannot open input file 'c:\\program.obj'

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

0 Kudos
2 Replies
mecej4
Honored Contributor III
547 Views
This part of the linker input

c:\program files (x86)\gino\v7.5f\gmwin.lib"

needs a leading double quote. Absent the quote, the next space delimits the program argument. A file name without a suffix is assumed by the linker to be an object file and the .obj suffix gets added.
0 Kudos
garylscott1
Beginner
547 Views
:) cool thanks, kinda obvious, how'd I miss that? Time for new glasses...
0 Kudos
Reply