Click here to Skip to main content
15,042,336 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
For some reason it seems that when my code compiles, it only makes .i files, and not .obj files. So I get this message:

1>LINK : fatal error LNK1104: cannot open file '.\Debug\AddSaleToOrder.obj'

I'm assuming this error would occur for each of the .cpp files, since no .obj files exist. So, why am I not getting any .obj files?

1 solution

Have you set something up in your project file to preprocess your source code to a file (/E option)? That creates .i files IIRC. If you turn that option off you should get your .obj files being created.



This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900