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. compile firebird driver
Forum Updated to NodeBB v4.3 + New Features

compile firebird driver

Scheduled Pinned Locked Moved Solved General and Desktop
10 Posts 2 Posters 1.7k 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.
  • juankiJ Offline
    juankiJ Offline
    juanki
    Moderators
    wrote on last edited by
    #1

    Hello

    Have you compiled the driver for the new version of Firebird? (3.0.3). I'm trying to do it and I can not:

    captura

    I have it installed and added to the PATH of the system.

    a greeting

    (sorry for my english, I'm using google translater)

    Intenta explicar el problema lo más claro y detallado posible. Adjunta los errores y el código que creas da el error.
    Procura escribir correctamente y sin faltas de ortografía.

    Si la duda se solucionó, por favor, marca el tema como 'solucionado'.

    1 Reply Last reply
    0
    • juankiJ Offline
      juankiJ Offline
      juanki
      Moderators
      wrote on last edited by
      #10

      Works!!

      I have compiled the driver using Qt MSVC2017 64 bits.

      Although it does not recognize the new type of boolean data that incorporates firebird 3.0. I do not know if you have to configure something, but by default it does not recognize it.

      Marco as solved as I managed to compile the driver.

      Thank you very much

      Intenta explicar el problema lo más claro y detallado posible. Adjunta los errores y el código que creas da el error.
      Procura escribir correctamente y sin faltas de ortografía.

      Si la duda se solucionó, por favor, marca el tema como 'solucionado'.

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

        Hi,

        Did you try to follow the workflow ?

        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
        • juankiJ Offline
          juankiJ Offline
          juanki
          Moderators
          wrote on last edited by
          #3

          Hi

          First I installed firebird in C:\Firebird. And I added it to the system PATH.

          And then, as seen in the capture, I tried to compile with the instructions in the Qt documentation and can not find the installation of firebird.

          Firebird 2.5 creates a folder /bin inside the installation folder, version 3.0 does not create it and puts the executables in the installation folder. Could it be the error?

          Intenta explicar el problema lo más claro y detallado posible. Adjunta los errores y el código que creas da el error.
          Procura escribir correctamente y sin faltas de ortografía.

          Si la duda se solucionó, por favor, marca el tema como 'solucionado'.

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

            AFAIK, the executable should not influence, it's the folder where the lib file is located that is important.

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

            juankiJ 1 Reply Last reply
            0
            • SGaistS SGaist

              AFAIK, the executable should not influence, it's the folder where the lib file is located that is important.

              juankiJ Offline
              juankiJ Offline
              juanki
              Moderators
              wrote on last edited by
              #5

              Oh! sorry, executables and lib (.dll) files. My incomplete message came out (remember that I use google translate :))

              In version 2.5 they are in the path C:\Firebird\bin and in version 3.0 in the path C:\Firebird.

              The .dll I have copied to the system folder, but it does not recognize them.

              as a curiosity: What does AFAIK?

              Intenta explicar el problema lo más claro y detallado posible. Adjunta los errores y el código que creas da el error.
              Procura escribir correctamente y sin faltas de ortografía.

              Si la duda se solucionó, por favor, marca el tema como 'solucionado'.

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

                Don't put anything in your System folders.

                It's the .lib file that is of interest, where is that one ?

                AFAIK: As Far As I Know

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

                juankiJ 1 Reply Last reply
                1
                • SGaistS SGaist

                  Don't put anything in your System folders.

                  It's the .lib file that is of interest, where is that one ?

                  AFAIK: As Far As I Know

                  juankiJ Offline
                  juankiJ Offline
                  juanki
                  Moderators
                  wrote on last edited by
                  #7

                  Hi @SGaist

                  Sorry for the delay, but I'm working hard :(

                  The .lib files are in the path C: \ Firebird \ lib.

                  I have seen in the SRC folder of Qt, that there is a configure.json file that contains the following:

                  "ibase": {
                              "label": "InterBase",
                              "test": {
                                  "include": "ibase.h"
                              },
                              "sources": [
                                  { "libs": "-lgds32_ms", "condition": "config.win32" },
                                  { "libs": "-lgds", "condition": "!config.win32" }
                              ]
                          },
                  

                  But the .lib files of firebird are not called * gds *, they are called * fbclient *, I have modified the .json by putting in its place fbclient, but it still does not work.

                  :)

                  Intenta explicar el problema lo más claro y detallado posible. Adjunta los errores y el código que creas da el error.
                  Procura escribir correctamente y sin faltas de ortografía.

                  Si la duda se solucionó, por favor, marca el tema como 'solucionado'.

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

                    You have to pass C:/Firebird/lib as additional path to search for libraries when preparing the build of the plugin.

                    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
                    1
                    • juankiJ Offline
                      juankiJ Offline
                      juanki
                      Moderators
                      wrote on last edited by juanki
                      #9

                      Hi

                      Yes, and from the folder * ibase *, when trying to compile now I get the error C:\Firebird\lib/fbclient_ms.lib: error adding symbols: File format not recognized

                      I am trying to compile on a Win 64 bit, Firebird 64 bit system and yet the version of Qt mingw is 32 bits.

                      I'm going to try the MSVC version, I have to install everything now :(

                      (Sorry for my English, I used google translate)

                      a greeting

                      Intenta explicar el problema lo más claro y detallado posible. Adjunta los errores y el código que creas da el error.
                      Procura escribir correctamente y sin faltas de ortografía.

                      Si la duda se solucionó, por favor, marca el tema como 'solucionado'.

                      1 Reply Last reply
                      0
                      • juankiJ Offline
                        juankiJ Offline
                        juanki
                        Moderators
                        wrote on last edited by
                        #10

                        Works!!

                        I have compiled the driver using Qt MSVC2017 64 bits.

                        Although it does not recognize the new type of boolean data that incorporates firebird 3.0. I do not know if you have to configure something, but by default it does not recognize it.

                        Marco as solved as I managed to compile the driver.

                        Thank you very much

                        Intenta explicar el problema lo más claro y detallado posible. Adjunta los errores y el código que creas da el error.
                        Procura escribir correctamente y sin faltas de ortografía.

                        Si la duda se solucionó, por favor, marca el tema como 'solucionado'.

                        1 Reply Last reply
                        2

                        • Login

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