Compiling Problem
-
Hi All, I was wondering if someone could tell me the reason why my project builds every single file in my project everytime I try to execute the exe file? After i build the code, make no changes and hit the execute it says all the .obj file are out of date. It never did this before, but all of a sudden it is making me build all the .obj and exe twice. I already did a clean and it still does it. I thought if i don't make any changes, the file would know this and not build them all again. Many thanks in advance
-
Hi All, I was wondering if someone could tell me the reason why my project builds every single file in my project everytime I try to execute the exe file? After i build the code, make no changes and hit the execute it says all the .obj file are out of date. It never did this before, but all of a sudden it is making me build all the .obj and exe twice. I already did a clean and it still does it. I thought if i don't make any changes, the file would know this and not build them all again. Many thanks in advance
Try generating a make file. If the same problem occurs with nmake, maybe you'll be able to spot the dependency loop in the make file. Brad
-
Hi All, I was wondering if someone could tell me the reason why my project builds every single file in my project everytime I try to execute the exe file? After i build the code, make no changes and hit the execute it says all the .obj file are out of date. It never did this before, but all of a sudden it is making me build all the .obj and exe twice. I already did a clean and it still does it. I thought if i don't make any changes, the file would know this and not build them all again. Many thanks in advance
This might sound like a stupid suggestion, but check the date/times on all the source modules. If any of them are in the future, this will happen. Happened to me once when someone screwed up the machine we used as a time server, when it got temporarily set to some time in 2007... Steve S