Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Compiling Problem

Compiling Problem

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
3 Posts 3 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jay Hova
    wrote on last edited by
    #1

    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

    B S 2 Replies Last reply
    0
    • J Jay Hova

      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

      B Offline
      B Offline
      Brad Sokol
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • J Jay Hova

        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

        S Offline
        S Offline
        Steve S
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups