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. OpenCV application error

OpenCV application error

Scheduled Pinned Locked Moved C / C++ / MFC
help
12 Posts 6 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 David Crow

    dSolariuM wrote:

    But Before the application starts...

    What application?

    "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

    "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

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

    Hi, thanks for quick reply... I mean my application (.exe) file. after i press F5 button to debug the error appears.

    Every new thing you learn,Gives you a new personality.

    D 1 Reply Last reply
    0
    • D dSolariuM

      Hi, thanks for quick reply... I mean my application (.exe) file. after i press F5 button to debug the error appears.

      Every new thing you learn,Gives you a new personality.

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

      Have you narrowed the problem down to OpenCV? In other words, what happens if you cerate a new project that does not use OpenCV?

      "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

      "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

      D 1 Reply Last reply
      0
      • D David Crow

        Have you narrowed the problem down to OpenCV? In other words, what happens if you cerate a new project that does not use OpenCV?

        "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

        "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

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

        I have the problem with opencv only... I have included all the files and libraries... Then I write a simple code that uses opencv libraries... Then I debug the app and the error appears... Before even clicking on the button that contains the code...

        Every new thing you learn,Gives you a new personality.

        D 1 Reply Last reply
        0
        • D dSolariuM

          I have the problem with opencv only... I have included all the files and libraries... Then I write a simple code that uses opencv libraries... Then I debug the app and the error appears... Before even clicking on the button that contains the code...

          Every new thing you learn,Gives you a new personality.

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

          Are you implicitly or explicitly linking with their libraries? Have any global OpenCV-related objects been declared?

          "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

          "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

          D 1 Reply Last reply
          0
          • D David Crow

            Are you implicitly or explicitly linking with their libraries? Have any global OpenCV-related objects been declared?

            "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

            "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

            D Offline
            D Offline
            dSolariuM
            wrote on last edited by
            #7

            I have global declarations of opencv classes and I am using "additional dependencies" section in Linker options.

            Every new thing you learn,Gives you a new personality.

            D 1 Reply Last reply
            0
            • D dSolariuM

              I have global declarations of opencv classes and I am using "additional dependencies" section in Linker options.

              Every new thing you learn,Gives you a new personality.

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

              dSolariuM wrote:

              I have global declarations of opencv classes...

              Classes or objects? Global objects will be instantiated before your "main" function gets called. That may be where the error is happening.

              "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

              "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

              1 Reply Last reply
              0
              • D dSolariuM

                Hi all, I am new to opencv and I want to use it. But Before the application starts an error appears: "The application was unable to start correctly (0x0150002).Click OK to close the application" Please help me(I am using opencv2.0 and running windows vista) Thanks.

                Every new thing you learn,Gives you a new personality.

                T Offline
                T Offline
                Tim Craig
                wrote on last edited by
                #9

                Basic question. I assume you managed to build the OpenCV libraries and/or DLLs successfully? Also, do you know about the OpenCV support group on Yahoo Groups? You may have better luck there since it's a specialized support group.

                You measure democracy by the freedom it gives its dissidents, not the freedom it gives its assimilated conformists.

                1 Reply Last reply
                0
                • D dSolariuM

                  Hi all, I am new to opencv and I want to use it. But Before the application starts an error appears: "The application was unable to start correctly (0x0150002).Click OK to close the application" Please help me(I am using opencv2.0 and running windows vista) Thanks.

                  Every new thing you learn,Gives you a new personality.

                  D Offline
                  D Offline
                  David Gustavsson
                  wrote on last edited by
                  #10

                  i have the same problem...did you find any solution? /David

                  K 1 Reply Last reply
                  0
                  • D David Gustavsson

                    i have the same problem...did you find any solution? /David

                    K Offline
                    K Offline
                    kpjobanputra
                    wrote on last edited by
                    #11

                    I am facing same problem.. Has any body found solution for same

                    1 Reply Last reply
                    0
                    • D dSolariuM

                      Hi all, I am new to opencv and I want to use it. But Before the application starts an error appears: "The application was unable to start correctly (0x0150002).Click OK to close the application" Please help me(I am using opencv2.0 and running windows vista) Thanks.

                      Every new thing you learn,Gives you a new personality.

                      U Offline
                      U Offline
                      User 8119443
                      wrote on last edited by
                      #12

                      hi, maybe already is late, but like aditional information, i got the same problem and i solved, a had put cv210d.lib; cvauxd.lib; etc. in the entry of Link in properties window, I erased the letter 'd' cv210.lib; cvaux.lib; etc. and the message "The application was unable to start correctly (0x0150002)" no appeared other time. Regards.

                      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