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. Linker error

Linker error

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++tutorial
8 Posts 4 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.
  • C Offline
    C Offline
    celllllllll
    wrote on last edited by
    #1

    I am getting a linking error: LINK : fatal error LNK1181: cannot open input file "C:\Sensors.obj" and Can someone tell me how to fix it. Since Sensors.obj have nothing to do with my project. I don't have any sensors.h or .cpp files. Will really appreciate the help Thanks Anony

    C D 2 Replies Last reply
    0
    • C celllllllll

      I am getting a linking error: LINK : fatal error LNK1181: cannot open input file "C:\Sensors.obj" and Can someone tell me how to fix it. Since Sensors.obj have nothing to do with my project. I don't have any sensors.h or .cpp files. Will really appreciate the help Thanks Anony

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Look through your project ( a find in files can do this for you ) and see why it's looking for this file.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

      C 1 Reply Last reply
      0
      • C Christian Graus

        Look through your project ( a find in files can do this for you ) and see why it's looking for this file.

        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

        C Offline
        C Offline
        celllllllll
        wrote on last edited by
        #3

        Thanks for the reply but it didn't work for this problem. When I do "FIND IN FILES" it gives, there is nothing like sensors.obj. I am just hung up with the problem. What else I can do? Thanks again

        C++Prog

        L C 2 Replies Last reply
        0
        • C celllllllll

          Thanks for the reply but it didn't work for this problem. When I do "FIND IN FILES" it gives, there is nothing like sensors.obj. I am just hung up with the problem. What else I can do? Thanks again

          C++Prog

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          There must be a reference to it somewhere. Use windows explorer search or VS Find in Files feature to look for any file in your project that contains the text "sensors". If using Find In Files make sure you set the file type to *.*

          C 1 Reply Last reply
          0
          • C celllllllll

            Thanks for the reply but it didn't work for this problem. When I do "FIND IN FILES" it gives, there is nothing like sensors.obj. I am just hung up with the problem. What else I can do? Thanks again

            C++Prog

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #5

            There has to be a reason that it's expecting to find this file, you searched for the word 'sensors' in the text of your entire project ?

            1 Reply Last reply
            0
            • L Lost User

              There must be a reference to it somewhere. Use windows explorer search or VS Find in Files feature to look for any file in your project that contains the text "sensors". If using Find In Files make sure you set the file type to *.*

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #6

              Yeah, that's what I was advocating.

              1 Reply Last reply
              0
              • C celllllllll

                I am getting a linking error: LINK : fatal error LNK1181: cannot open input file "C:\Sensors.obj" and Can someone tell me how to fix it. Since Sensors.obj have nothing to do with my project. I don't have any sensors.h or .cpp files. Will really appreciate the help Thanks Anony

                D Offline
                D Offline
                David Crow
                wrote on last edited by
                #7

                Did you look in the project's .dsp file?


                "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

                "Judge not by the eye but by the heart." - Native American Proverb

                C 1 Reply Last reply
                0
                • D David Crow

                  Did you look in the project's .dsp file?


                  "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

                  "Judge not by the eye but by the heart." - Native American Proverb

                  C Offline
                  C Offline
                  celllllllll
                  wrote on last edited by
                  #8

                  no, will try that.. Thanks

                  C++Prog

                  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