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. fatal error U1034

fatal error U1034

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
11 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.
  • J Offline
    J Offline
    jonesap5
    wrote on last edited by
    #1

    Does anyone know what this error is supposed to mean? I have an auto generated makefile and I don't quite know what this error means. Any help would be appreciated. Thanks,

    D 1 Reply Last reply
    0
    • J jonesap5

      Does anyone know what this error is supposed to mean? I have an auto generated makefile and I don't quite know what this error means. Any help would be appreciated. Thanks,

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

      Doesn't it tell you that a separator is missing?


      "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

      "There is no death, only a change of worlds." - Native American Proverb

      J 1 Reply Last reply
      0
      • D David Crow

        Doesn't it tell you that a separator is missing?


        "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

        "There is no death, only a change of worlds." - Native American Proverb

        J Offline
        J Offline
        jonesap5
        wrote on last edited by
        #3

        I think it does but I don't know where to put the separator that is missing. Any ideas? I can't tell which make file it is refrencing.

        D 1 Reply Last reply
        0
        • J jonesap5

          I think it does but I don't know where to put the separator that is missing. Any ideas? I can't tell which make file it is refrencing.

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

          jonesap5 wrote:

          ...I don't know where to put the separator that is missing.

          Between the target and the dependent.


          "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

          "There is no death, only a change of worlds." - Native American Proverb

          J 2 Replies Last reply
          0
          • D David Crow

            jonesap5 wrote:

            ...I don't know where to put the separator that is missing.

            Between the target and the dependent.


            "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

            "There is no death, only a change of worlds." - Native American Proverb

            J Offline
            J Offline
            jonesap5
            wrote on last edited by
            #5

            In the make file I don't know how to identify the target and the dependent and where to put it. I also don't know which make file I am placing this in. I don't know if that makes sense?:confused:

            D 1 Reply Last reply
            0
            • D David Crow

              jonesap5 wrote:

              ...I don't know where to put the separator that is missing.

              Between the target and the dependent.


              "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

              "There is no death, only a change of worlds." - Native American Proverb

              J Offline
              J Offline
              jonesap5
              wrote on last edited by
              #6

              I think this is the Makefile it is called Makefile.dep and it is as follows: Makefile_TARGETS = \ Makefile.dep \ src/Makefile \ build/Makefile Makefile_DEPS = \ "C:/ERRT/ScreenSwitchTest/ScreenSwitchTest.rtmdl" \ "C:/Program Files/Rational/Rose RealTime/C++/RTComponents.rtcmppkg" I tried to place the ':' as follows but that didn't seem to work. Makefile_TARGETS = \ Makefile.dep \ src/Makefile \ build/Makefile : Makefile_DEPS = \ "C:/ERRT/ScreenSwitchTest/ScreenSwitchTest.rtmdl" \ "C:/Program Files/Rational/Rose RealTime/C++/RTComponents.rtcmppkg" any ideas? :confused:

              1 Reply Last reply
              0
              • J jonesap5

                In the make file I don't know how to identify the target and the dependent and where to put it. I also don't know which make file I am placing this in. I don't know if that makes sense?:confused:

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

                jonesap5 wrote:

                I also don't know which make file I am placing this in.

                How many .mak files are there?


                "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

                "There is no death, only a change of worlds." - Native American Proverb

                J 1 Reply Last reply
                0
                • D David Crow

                  jonesap5 wrote:

                  I also don't know which make file I am placing this in.

                  How many .mak files are there?


                  "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

                  "There is no death, only a change of worlds." - Native American Proverb

                  J Offline
                  J Offline
                  jonesap5
                  wrote on last edited by
                  #8

                  I look in the project directory and there is a make file, I look in the source directory and there is another Makefile. I am also wondering when it says makefile(11): fatal error U1034: syntax ..., does the 11 in parens indicate the error in on line 11 of the makefile? :sigh:

                  D 1 Reply Last reply
                  0
                  • J jonesap5

                    I look in the project directory and there is a make file, I look in the source directory and there is another Makefile. I am also wondering when it says makefile(11): fatal error U1034: syntax ..., does the 11 in parens indicate the error in on line 11 of the makefile? :sigh:

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

                    jonesap5 wrote:

                    I am also wondering when it says makefile(11): fatal error U1034: syntax ..., does the 11 in parens indicate the error in on line 11 of the makefile?

                    Yes, and the name of the file is makefile.


                    "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

                    "There is no death, only a change of worlds." - Native American Proverb

                    J 2 Replies Last reply
                    0
                    • D David Crow

                      jonesap5 wrote:

                      I am also wondering when it says makefile(11): fatal error U1034: syntax ..., does the 11 in parens indicate the error in on line 11 of the makefile?

                      Yes, and the name of the file is makefile.


                      "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

                      "There is no death, only a change of worlds." - Native American Proverb

                      J Offline
                      J Offline
                      jonesap5
                      wrote on last edited by
                      #10

                      So this I think is the make file and I can't see anything wrong with line 11. I even compared it to another makefile similar to this one. Can you see a problem. RTS_HOME = C:/Program Files/Rational/Rose RealTime/C++/TargetRTS include <$(RTS_HOME)/codegen/rtgen.mk> MODEL = C:/ERRT/ScreenSwitchTest/ScreenSwitchTest.rtmdl COMPONENT = "Component View::MainCapsuleTest" RTGEN_FLAGS = -model $(MODEL) -component $(COMPONENT) -spacedeps dq include TARGETS = $(MainCapsuleTest_SYSTARGET) RTGENERATE_TARGET = $(TARGETS) RTGENERATE_DAT = rtgenerate.dat "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\nmake.exe" /nologo RTgenerate : $(RTGENERATE_TARGET) //my comment - is this not line 11? .PRECIOUS : $(TARGETS) $(MainCapsuleTest_SYSTARGET) : $(MainCapsuleTest_SYSDEPS) $(RTGENERATE_DAT) $(RTGEN) $(RTGEN_FLAGS) -system -- modified at 14:51 Tuesday 18th April, 2006

                      1 Reply Last reply
                      0
                      • D David Crow

                        jonesap5 wrote:

                        I am also wondering when it says makefile(11): fatal error U1034: syntax ..., does the 11 in parens indicate the error in on line 11 of the makefile?

                        Yes, and the name of the file is makefile.


                        "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

                        "There is no death, only a change of worlds." - Native American Proverb

                        J Offline
                        J Offline
                        jonesap5
                        wrote on last edited by
                        #11

                        Crow, hey I found the problem, everytime I would build it would seem to recreate the makefile. I had a line in the makefile as follows: "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\nmake.exe" /nologo that particular line was causing problems. I am building in the Rational Rose Environment and within a particular field called CodeGenMakeInsert on a C++ Generation tab for a Component Specification I had that line inserted. I know that it may mean nothing to you but it fixed the problem just wanted you to know. Thanks for you help. It took me a while to figure it out but I think it makes sense after looking at another generated makefile from the same environment that didn't have a line like that. Sorry for the ramble hope this helps someone else out. :doh:

                        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