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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Problems while compiling a VC++ code

Problems while compiling a VC++ code

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++tutorialquestion
6 Posts 2 Posters 0 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.
  • D Offline
    D Offline
    Dinu_IP
    wrote on last edited by
    #1

    Hi Friends, I am facing couple of problems while compiling the code, and this is the first time I am facing this kind of problem so I don't understand how to resolve this, Please help me out. The problems are as follows: 1. When I am compiling a code I am getting message saying " The source file XXX and YYY are both configured to produce the output file XXX.obj This project cannot be build. 2. After every modification I am getting mesage saying " XXX.clw, This file has been modified outside of the source editor. Do you want to relode it?" I am getting this message so much time that I am unable to work. 3. Some times my code is getting compiled and some time it is giving error saying undeclaired member variable even though the variable is declaired. some times same code is getting compiled withot any error. Thanks & Regards, -Dinesh.

    T 1 Reply Last reply
    0
    • D Dinu_IP

      Hi Friends, I am facing couple of problems while compiling the code, and this is the first time I am facing this kind of problem so I don't understand how to resolve this, Please help me out. The problems are as follows: 1. When I am compiling a code I am getting message saying " The source file XXX and YYY are both configured to produce the output file XXX.obj This project cannot be build. 2. After every modification I am getting mesage saying " XXX.clw, This file has been modified outside of the source editor. Do you want to relode it?" I am getting this message so much time that I am unable to work. 3. Some times my code is getting compiled and some time it is giving error saying undeclaired member variable even though the variable is declaired. some times same code is getting compiled withot any error. Thanks & Regards, -Dinesh.

      T Offline
      T Offline
      toxcct
      wrote on last edited by
      #2

      do you have two files with the same name at two different locations with the same name ?


      TOXCCT >>> GEII power

      [VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]

      D 1 Reply Last reply
      0
      • T toxcct

        do you have two files with the same name at two different locations with the same name ?


        TOXCCT >>> GEII power

        [VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]

        D Offline
        D Offline
        Dinu_IP
        wrote on last edited by
        #3

        You are right..... Project names are different but both the projects are having one "xxx.cpp" file comman and both the projects are stored at different location

        T 1 Reply Last reply
        0
        • D Dinu_IP

          You are right..... Project names are different but both the projects are having one "xxx.cpp" file comman and both the projects are stored at different location

          T Offline
          T Offline
          toxcct
          wrote on last edited by
          #4

          so you have to rename one of the two...


          TOXCCT >>> GEII power

          [VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]

          D 1 Reply Last reply
          0
          • T toxcct

            so you have to rename one of the two...


            TOXCCT >>> GEII power

            [VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]

            D Offline
            D Offline
            Dinu_IP
            wrote on last edited by
            #5

            This is fine for the point 1. but point 2 and 3 are the different projects which are also troubling me lot. do you have any suggestion for these....

            T 1 Reply Last reply
            0
            • D Dinu_IP

              This is fine for the point 1. but point 2 and 3 are the different projects which are also troubling me lot. do you have any suggestion for these....

              T Offline
              T Offline
              toxcct
              wrote on last edited by
              #6

              are they generating their .obj intermediate files at the same place ? if so, change this


              TOXCCT >>> GEII power

              [VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]

              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