Community
cancel
Showing results for 
Search instead for 
Did you mean: 
jim_cox
Beginner
82 Views

compile succeeded but no object file

Jump to solution

This is an odd one

Trying to compile a very simple piece of test code

Get messages that suggest compile has succeeded, vis...

1>------ Build started: Project: Nex, Configuration: Debug Win32 ------
1>Compiling...
1>Nex.cpp
1>Build log was saved at "file://d:\\suite\\Programs\\NEX2\\Debug\\BuildLog.htm"
1>Nex - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Then the linker dies

1>Linking... (Intel C++ Environment)
1>xilink: executing 'link'
1>LINK : fatal error LNK1104: cannot open file 'Debug/Nex.obj'
1>Build log was saved at "file://D:\\suite\\Programs\\NEX2\\Debug\\BuildLog.htm"
1>Nex - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I can find a .i file from the preprocessor

But it appears no .obj file is created

Any thoughts as to why not?

Thankx

0 Kudos
1 Solution
JenniferJ
Moderator
82 Views

This is not a bug. It's by design. When "/EP" is specified, the compiler (icl or cl) won't generate .obj file.

Jennifer

View solution in original post

2 Replies
JenniferJ
Moderator
83 Views

This is not a bug. It's by design. When "/EP" is specified, the compiler (icl or cl) won't generate .obj file.

Jennifer

View solution in original post

jim_cox
Beginner
82 Views

D'oh

:)

Thankx

Reply