Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. Qt Creator Brain Computer Interface App Linker Problem
Forum Updated to NodeBB v4.3 + New Features

Qt Creator Brain Computer Interface App Linker Problem

Scheduled Pinned Locked Moved Solved The Lounge
17 Posts 6 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #4

    Which compiler are you currently using ?
    Which architecture are you targeting ?

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

    Y.ZarcaY 1 Reply Last reply
    1
    • SGaistS SGaist

      Which compiler are you currently using ?
      Which architecture are you targeting ?

      Y.ZarcaY Offline
      Y.ZarcaY Offline
      Y.Zarca
      wrote on last edited by
      #5

      Dear @SGaist i am just developing an enhancment feature for an open scource program as part of the Master thesis. so there is just the 3 classef for Data Aquisition, feature extraction and signal classification. The program is intended to run inside the bigger one, which is running 100%. In those classes everyting compiles perfectly besids Data Aquisition that needs this Function (MSPCA). So this is the architecture.

      And for the Compiler here is a screenshut:
      2021-03-29.png

      Thank you so much in advance

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

        These are the compilers you installed. Which exact version of Qt are you using ? Which compiler was used for the libraries you are using ?

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

        Y.ZarcaY 1 Reply Last reply
        0
        • SGaistS SGaist

          These are the compilers you installed. Which exact version of Qt are you using ? Which compiler was used for the libraries you are using ?

          Y.ZarcaY Offline
          Y.ZarcaY Offline
          Y.Zarca
          wrote on last edited by
          #7

          Dear @SGaist thank you again. The following Pictures discribe the used kit version (5.15.1) and its compiler.

          Kits.png

          2021-03-30 (1).png

          jsulmJ 1 Reply Last reply
          0
          • Y.ZarcaY Y.Zarca

            Dear @SGaist thank you again. The following Pictures discribe the used kit version (5.15.1) and its compiler.

            Kits.png

            2021-03-30 (1).png

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

            @Y-Zarca Please also answer the last question. Reason: you can't mix different compilers. If the lib was build using different compiler than the one you're using it will not work.

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

            Y.ZarcaY 1 Reply Last reply
            1
            • jsulmJ jsulm

              @Y-Zarca Please also answer the last question. Reason: you can't mix different compilers. If the lib was build using different compiler than the one you're using it will not work.

              Y.ZarcaY Offline
              Y.ZarcaY Offline
              Y.Zarca
              wrote on last edited by
              #9

              Dear @jsulm i am so sorry for missunderstanding the question.

              wavelet2d compiler is MSVC++
              for ALGLIB this is what their Website Dokumentation say:

              ALGLIB is compatible with any C++ compiler which:
              
              supports 32-bit and 64-bit signed integer datatypes
              emits code which handles comparisons with IEEE special values without raising exception. We don't require that x/0 will return INF. But at least we must be able to compare double precision value with infinity or NAN without raising exception.
              All modern compilers satisfy these requirements.
              
              However, some very old compilers (ten years old version of Borland C++ Builder, for example) may emit code which does not correctly work with IEEE special values. If you use one of these old compilers, we recommend you to run ALGLIB test suite to ensure that library works.
              

              Thank you so much in advance.

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

                The question is: which version of MSVC was used to build that library ?
                And beside that, did you check whether you have a 32 or 64 bit build of that library ?

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

                Y.ZarcaY 1 Reply Last reply
                1
                • SGaistS SGaist

                  The question is: which version of MSVC was used to build that library ?
                  And beside that, did you check whether you have a 32 or 64 bit build of that library ?

                  Y.ZarcaY Offline
                  Y.ZarcaY Offline
                  Y.Zarca
                  wrote on last edited by
                  #11

                  Dear @SGaist after a long search i can say that boath Libraries are Old:

                  deppending on this Answer (https://stackoverflow.com/a/20911055) i think wavelet2d is built on VS 2010.

                  As for ALGLIB the Copy Rights are dated on 2007. But cause i have just the .h & .cpp file dose the compiler compatibility a problem?

                  And i could not know as well if those are a 32 or 64 Libraries.
                  I am very sorry for the lack of info.

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

                    VS2010 is only compatible with VS2010. Visual Studio started to have backward compatibility starting with VS2017 (meaning that you can use libraries from VS2015 with it and vice-versa).

                    As for ALGLIB, their website does not agree with you. It looks like you have an old version of it. You should consider using a more recent version which from a quicklook at the manual seems not overly complicated to integrate into your application.

                    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
                    3
                    • fcarneyF Offline
                      fcarneyF Offline
                      fcarney
                      wrote on last edited by
                      #13

                      If you have access to the code it might be worth compiling the libraries with a more modern compiler. Then you can control whether is it 32 or 64 bit and make sure all your code uses the same compiler. If that is not an option I am afraid you could be stuck with whatever compiler was used to build the libraries. Not ideal.

                      C++ is a perfectly valid school of magic.

                      SGaistS 1 Reply Last reply
                      0
                      • fcarneyF fcarney

                        If you have access to the code it might be worth compiling the libraries with a more modern compiler. Then you can control whether is it 32 or 64 bit and make sure all your code uses the same compiler. If that is not an option I am afraid you could be stuck with whatever compiler was used to build the libraries. Not ideal.

                        SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #14

                        @fcarney the library is OpenSource and I have linked to it in my previous message.

                        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
                        • Y.ZarcaY Offline
                          Y.ZarcaY Offline
                          Y.Zarca
                          wrote on last edited by
                          #15

                          Hi Everyone and thank you so much for your help. Actually i have solved the Problem of the Linker by adding the Source Code of the libraries to my Ptoject (Add Existing Files .... / Add Existing Directory .... ) to bypass the linker. So thank you so much.

                          1 Reply Last reply
                          0
                          • S Offline
                            S Offline
                            Stevens1545
                            Banned
                            wrote on last edited by
                            #16
                            This post is deleted!
                            1 Reply Last reply
                            0
                            • Y.ZarcaY Y.Zarca

                              Dear @SGaist i am just developing an enhancment feature for an open scource program as part of the Master thesis. so there is just the 3 classef for Data Aquisition, feature extraction and signal classification. The program is intended to run inside the bigger one, which is running 100%. In those classes everyting compiles perfectly besids Data Aquisition that needs this Function (MSPCA). So this is the architecture.

                              And for the Compiler here is a screenshut:
                              2021-03-29.png

                              Thank you so much in advance

                              A Offline
                              A Offline
                              AdorableFury
                              Banned
                              wrote on last edited by
                              #17
                              This post is deleted!
                              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