Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. LNK2019: unresolved external symbol "public: __cdecl cv::structured_light::SinusoidalPattern::Params::Params
Forum Updated to NodeBB v4.3 + New Features

LNK2019: unresolved external symbol "public: __cdecl cv::structured_light::SinusoidalPattern::Params::Params

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
12 Posts 3 Posters 3.0k Views 3 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.
  • F Offline
    F Offline
    Faisal_Ali
    wrote on 26 Apr 2017, 17:19 last edited by
    #1

    Hi i want to create sinusoidal pattern using opencv in QT and currently use this opencv library structured_light while i write this line

    cv::structured_light::SinusoidalPattern::Params params

    it give error..

    K 1 Reply Last reply 26 Apr 2017, 18:22
    0
    • F Faisal_Ali
      26 Apr 2017, 17:19

      Hi i want to create sinusoidal pattern using opencv in QT and currently use this opencv library structured_light while i write this line

      cv::structured_light::SinusoidalPattern::Params params

      it give error..

      K Offline
      K Offline
      koahnig
      wrote on 26 Apr 2017, 18:22 last edited by
      #2

      @Faisal_Ali

      As the error message already says, there is an unresolved symbol.
      Probably you have linked with a wrong or even no library.

      Apparently you are using a MS compiler and linker. Did the error occur first time after you the structure_light stuff?
      Could you link successfully with cv before?

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • F Offline
        F Offline
        Faisal_Ali
        wrote on 26 Apr 2017, 18:23 last edited by
        #3

        @koahnig yes it occur first time.

        K 1 Reply Last reply 26 Apr 2017, 18:29
        0
        • F Faisal_Ali
          26 Apr 2017, 18:23

          @koahnig yes it occur first time.

          K Offline
          K Offline
          koahnig
          wrote on 26 Apr 2017, 18:29 last edited by
          #4

          @Faisal_Ali

          Is the problem limited to structured_light?

          Are you using other opencv stuff?

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          0
          • F Offline
            F Offline
            Faisal_Ali
            wrote on 26 Apr 2017, 18:52 last edited by
            #5

            @koahnig other library work fine.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 26 Apr 2017, 21:13 last edited by
              #6

              Hi,

              Are you linking against the contribute module that contains structured_light ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • F Offline
                F Offline
                Faisal_Ali
                wrote on 27 Apr 2017, 15:55 last edited by
                #7

                @SGaist yes...basically i pick this library from contribute module...because structure light library is not available in downloaded opencv..

                K 1 Reply Last reply 27 Apr 2017, 16:03
                0
                • F Faisal_Ali
                  27 Apr 2017, 15:55

                  @SGaist yes...basically i pick this library from contribute module...because structure light library is not available in downloaded opencv..

                  K Offline
                  K Offline
                  koahnig
                  wrote on 27 Apr 2017, 16:03 last edited by
                  #8

                  @Faisal_Ali

                  Is this additional feature part of your project?

                  When the feature is still part of your project, then yiou need to compile and link it with your project, but that part is missing.

                  Or did you compile it and try to link it to your application?

                  When you have compiled it and made a separate library, you need to add the library for linking with the project.

                  Are you using Qt creator?

                  Vote the answer(s) that helped you to solve your issue(s)

                  F 1 Reply Last reply 27 Apr 2017, 17:32
                  0
                  • K koahnig
                    27 Apr 2017, 16:03

                    @Faisal_Ali

                    Is this additional feature part of your project?

                    When the feature is still part of your project, then yiou need to compile and link it with your project, but that part is missing.

                    Or did you compile it and try to link it to your application?

                    When you have compiled it and made a separate library, you need to add the library for linking with the project.

                    Are you using Qt creator?

                    F Offline
                    F Offline
                    Faisal_Ali
                    wrote on 27 Apr 2017, 17:32 last edited by
                    #9

                    @koahnig yes this is main feature of our project i picked up folder and file of structured light then paste into opencv folder...basically i am beginner

                    K 1 Reply Last reply 27 Apr 2017, 18:04
                    0
                    • F Faisal_Ali
                      27 Apr 2017, 17:32

                      @koahnig yes this is main feature of our project i picked up folder and file of structured light then paste into opencv folder...basically i am beginner

                      K Offline
                      K Offline
                      koahnig
                      wrote on 27 Apr 2017, 18:04 last edited by
                      #10

                      @Faisal_Ali

                      Are you using Qt creator?

                      Vote the answer(s) that helped you to solve your issue(s)

                      F 1 Reply Last reply 28 Apr 2017, 12:43
                      0
                      • K koahnig
                        27 Apr 2017, 18:04

                        @Faisal_Ali

                        Are you using Qt creator?

                        F Offline
                        F Offline
                        Faisal_Ali
                        wrote on 28 Apr 2017, 12:43 last edited by
                        #11

                        @koahnig yes i am using qt creator 5.7

                        K 1 Reply Last reply 28 Apr 2017, 13:07
                        0
                        • F Faisal_Ali
                          28 Apr 2017, 12:43

                          @koahnig yes i am using qt creator 5.7

                          K Offline
                          K Offline
                          koahnig
                          wrote on 28 Apr 2017, 13:07 last edited by
                          #12

                          @Faisal_Ali

                          In Qt creator you have a project file with the extension .pro

                          Check the entries in this file. There typically some entries like

                          SOURCES += main.cpp\
                                 MainWindow.cpp \
                                 MyRadio.cpp \
                                 MyRadioLine.cpp \
                                 MyLine.cpp
                          
                          HEADERS  += MainWindow.h \
                                MyRadio.h \
                                MyRadioLine.h \
                                MyLine.h
                          
                          FORMS    += MainWindow.ui
                          
                          

                          Under SOURCES all files for compilation have to be listed.
                          Under HEADERS all include files are listed.

                          Most likely the source file with your source code of structured_light is missing.

                          If so, the source file is not compiled and cannot be linked to your application.

                          Vote the answer(s) that helped you to solve your issue(s)

                          1 Reply Last reply
                          0

                          6/12

                          26 Apr 2017, 21:13

                          • Login

                          • Login or register to search.
                          6 out of 12
                          • First post
                            6/12
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Groups
                          • Search
                          • Get Qt Extensions
                          • Unsolved