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. Pylon Basler Camera Problem
Forum Updated to NodeBB v4.3 + New Features

Pylon Basler Camera Problem

Scheduled Pinned Locked Moved Solved 3rd Party Software
5 Posts 4 Posters 7.8k 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.
  • G Offline
    G Offline
    Guess11
    wrote on last edited by
    #1

    Hi there. I am trying to add pylon basler 5 library to my project. I have solution and configuration file for VS 2013 (from where i get pathes to include and lib).In the /.../lib/Win32/ I have .iib files. Presently my .pro file looks like:

    INCLUDEPATH += C:/Program Files/Basler/pylon 5/Development/include
    
    LIBS += -LC:/Program Files/Basler/pylon 5/Development/lib/Win32\
        -lGenApi_MD_VC120_v3_0_Basler_pylon_v5_0 \
        -lGCBase_MD_VC120_v3_0_Basler_pylon_v5_0 \
        -lPylonBase_MD_VC120_v5_0 \
    
    

    After building i get error: "no such file or directory GenICam.h". And my main file looks like:

    #include <iostream>
    #include <GenICam.h>
    
    using namespace std;
    int main()
    {
    /.../
    }
    

    I will be glad for any help. If it will be helpful I am using Qt 5.5.1 mingw 4.9.2. 32.

    D ChrisClC 2 Replies Last reply
    0
    • G Guess11

      Hi there. I am trying to add pylon basler 5 library to my project. I have solution and configuration file for VS 2013 (from where i get pathes to include and lib).In the /.../lib/Win32/ I have .iib files. Presently my .pro file looks like:

      INCLUDEPATH += C:/Program Files/Basler/pylon 5/Development/include
      
      LIBS += -LC:/Program Files/Basler/pylon 5/Development/lib/Win32\
          -lGenApi_MD_VC120_v3_0_Basler_pylon_v5_0 \
          -lGCBase_MD_VC120_v3_0_Basler_pylon_v5_0 \
          -lPylonBase_MD_VC120_v5_0 \
      
      

      After building i get error: "no such file or directory GenICam.h". And my main file looks like:

      #include <iostream>
      #include <GenICam.h>
      
      using namespace std;
      int main()
      {
      /.../
      }
      

      I will be glad for any help. If it will be helpful I am using Qt 5.5.1 mingw 4.9.2. 32.

      D Offline
      D Offline
      Devopia53
      wrote on last edited by
      #2

      @Guess11

      According to the Qt Doc:

      "To specify a path containing spaces, quote the path using the technique described in Whitespace."

      INCLUDEPATH += "C:/Program Files/Basler/pylon 5/Development/include"
      
      LIBS += "-LC:/Program Files/Basler/pylon 5/Development/lib/Win32" \
          -lGenApi_MD_VC120_v3_0_Basler_pylon_v5_0 \
          -lGCBase_MD_VC120_v3_0_Basler_pylon_v5_0 \
          -lPylonBase_MD_VC120_v5_0 \
      ``
      1 Reply Last reply
      1
      • G Offline
        G Offline
        Guess11
        wrote on last edited by Guess11
        #3

        Ok thank you.
        EDITED: Probably I was to optimistic however now I have problem with "LNK 1104 cannot open file GenApi_MD_VC120_v3_0_Basler_pylon_v5_0.lib". I found only this (https://forum.qt.io/topic/27848/qt-5-0-2-error-lnk1104-cannot-open-file-gdi32-lib/2) but it is not very helpful. If someone know how to solved this problem I will be realy glad

        1 Reply Last reply
        0
        • G Guess11

          Hi there. I am trying to add pylon basler 5 library to my project. I have solution and configuration file for VS 2013 (from where i get pathes to include and lib).In the /.../lib/Win32/ I have .iib files. Presently my .pro file looks like:

          INCLUDEPATH += C:/Program Files/Basler/pylon 5/Development/include
          
          LIBS += -LC:/Program Files/Basler/pylon 5/Development/lib/Win32\
              -lGenApi_MD_VC120_v3_0_Basler_pylon_v5_0 \
              -lGCBase_MD_VC120_v3_0_Basler_pylon_v5_0 \
              -lPylonBase_MD_VC120_v5_0 \
          
          

          After building i get error: "no such file or directory GenICam.h". And my main file looks like:

          #include <iostream>
          #include <GenICam.h>
          
          using namespace std;
          int main()
          {
          /.../
          }
          

          I will be glad for any help. If it will be helpful I am using Qt 5.5.1 mingw 4.9.2. 32.

          ChrisClC Offline
          ChrisClC Offline
          ChrisCl
          wrote on last edited by
          #4

          @Guess11
          Hi, have you solve this problem?

          Can you try to link you path like this:

          INCLUDEPATH += $(PYLON_DEV_DIR)\include

          LIBS += $(PYLON_DEV_DIR)\lib\x64

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi,

            Link path with spaces can be problematic on Windows. If you can't install Pylon in another place without spaces, you can workaround the problem using the old 8.3 notation.

            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

            • Login

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