Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Undefined symbols for architecture x86_64: "Pylon::CPylonImageWindow::Close()",
Forum Updated to NodeBB v4.3 + New Features

Undefined symbols for architecture x86_64: "Pylon::CPylonImageWindow::Close()",

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 2 Posters 878 Views
  • 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.
  • L Offline
    L Offline
    lyc97
    wrote on last edited by
    #1

    hi guys, I run into this problem when I'm trying to use <pylon/PylonGUI.h>and<pylon/PylonGUIINcludes.h>
    here is my .pro file1_1564734528592_屏幕快照 2019-08-02 下午4.27.58.png 0_1564734528589_屏幕快照 2019-08-02 下午4.27.41.png
    thanks in advance!

    jsulmJ 1 Reply Last reply
    0
    • L lyc97

      hi guys, I run into this problem when I'm trying to use <pylon/PylonGUI.h>and<pylon/PylonGUIINcludes.h>
      here is my .pro file1_1564734528592_屏幕快照 2019-08-02 下午4.27.58.png 0_1564734528589_屏幕快照 2019-08-02 下午4.27.41.png
      thanks in advance!

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @lyc97 On which platform does this happen? Which compiler do you use and which compiler was used to compile Pylon?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      L 1 Reply Last reply
      0
      • jsulmJ jsulm

        @lyc97 On which platform does this happen? Which compiler do you use and which compiler was used to compile Pylon?

        L Offline
        L Offline
        lyc97
        wrote on last edited by
        #3

        @jsulm hi I'm running this on MacOS, using Xcode. Those two headers are not in the pylon sdk for macOS so I added them into the sdk head files additionally.

        jsulmJ 2 Replies Last reply
        0
        • L lyc97

          @jsulm hi I'm running this on MacOS, using Xcode. Those two headers are not in the pylon sdk for macOS so I added them into the sdk head files additionally.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @lyc97 The problem are not headers, but the libs (framework) - apparently the linker does not find the libs or refuses to use them. "Undefined symbols" means that there are no object files or libs containing the definitions for these symbols. Is that framework built for 64bit or 32bit?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • L Offline
            L Offline
            lyc97
            wrote on last edited by
            #5

            @jsulm it's working on 64bit. Other functions including pylon headers are fine until I add these two.

            1 Reply Last reply
            0
            • L lyc97

              @jsulm hi I'm running this on MacOS, using Xcode. Those two headers are not in the pylon sdk for macOS so I added them into the sdk head files additionally.

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @lyc97 said in Undefined symbols for architecture x86_64: "Pylon::CPylonImageWindow::Close()",:

              Those two headers are not in the pylon sdk for macOS

              If they are not part of the SDK you can't just add the header files as the functionality is missing in the libs.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              L 1 Reply Last reply
              1
              • jsulmJ jsulm

                @lyc97 said in Undefined symbols for architecture x86_64: "Pylon::CPylonImageWindow::Close()",:

                Those two headers are not in the pylon sdk for macOS

                If they are not part of the SDK you can't just add the header files as the functionality is missing in the libs.

                L Offline
                L Offline
                lyc97
                wrote on last edited by
                #7

                @jsulm Is there any way I can use these headers?

                jsulmJ 1 Reply Last reply
                0
                • L lyc97

                  @jsulm Is there any way I can use these headers?

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @lyc97 No, because those are just headers, the actual implementation is in the libraries.
                  The question is: why does the MacOS Pylon framework not contain this stuff? I don't know much about Pylon, maybe you need to install some additional Pylon framework?

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  1

                  • Login

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