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. libQgpsmm no such file or directory
QtWS25 Last Chance

libQgpsmm no such file or directory

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt4.8armhfgpsd
4 Posts 2 Posters 2.2k 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.
  • S Offline
    S Offline
    Simplexity
    wrote on 15 Aug 2017, 05:58 last edited by
    #1

    Hi. My environment is cross compiling a Qt4.8.6 project, host is a debian x86 and the target is an arm debian machine (Beaglebone), this environment has been very successful where I built Qt creator and its libraries from source for both the x86 and the arm. I am now adding a Adafruit ultimate gps module to a UART port on the Beaglebone and have installed GPSD on both host and target, the GPS hardware and GPSD are successfully working on the Beaglebone ARM target as cgps is working there.

    I now want to add a c++ interface to my host Qt Creator environment. On a terminal window on each of the host and target I..sudo apt-get install libgps-dev. In my Qt project I added #include <libQgpsmm> (the c++ interface to libgps) but I get the build error "libQgpsmm: No such file or directory". I see that in usr/lib/x86_64-linux-gnu I have libQgpsmm.prl/so/so.21/so.21.0/so.21.0.0 , but I think maybe I need an so.4.8.6 to match my build environment. All help will be greatly appreciated.

    J 2 Replies Last reply 15 Aug 2017, 06:12
    0
    • S Simplexity
      15 Aug 2017, 05:58

      Hi. My environment is cross compiling a Qt4.8.6 project, host is a debian x86 and the target is an arm debian machine (Beaglebone), this environment has been very successful where I built Qt creator and its libraries from source for both the x86 and the arm. I am now adding a Adafruit ultimate gps module to a UART port on the Beaglebone and have installed GPSD on both host and target, the GPS hardware and GPSD are successfully working on the Beaglebone ARM target as cgps is working there.

      I now want to add a c++ interface to my host Qt Creator environment. On a terminal window on each of the host and target I..sudo apt-get install libgps-dev. In my Qt project I added #include <libQgpsmm> (the c++ interface to libgps) but I get the build error "libQgpsmm: No such file or directory". I see that in usr/lib/x86_64-linux-gnu I have libQgpsmm.prl/so/so.21/so.21.0/so.21.0.0 , but I think maybe I need an so.4.8.6 to match my build environment. All help will be greatly appreciated.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 15 Aug 2017, 06:12 last edited by
      #2

      @Simplexity said in libQgpsmm no such file or directory:

      #include <libQgpsmm>

      Are you sure the header file is named like this? It is unusual to have lib prefix in a header file name.
      "libQgpsmm: No such file or directory" - I think it is related to the header file you're trying to include not the lib.

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

      1 Reply Last reply
      0
      • S Simplexity
        15 Aug 2017, 05:58

        Hi. My environment is cross compiling a Qt4.8.6 project, host is a debian x86 and the target is an arm debian machine (Beaglebone), this environment has been very successful where I built Qt creator and its libraries from source for both the x86 and the arm. I am now adding a Adafruit ultimate gps module to a UART port on the Beaglebone and have installed GPSD on both host and target, the GPS hardware and GPSD are successfully working on the Beaglebone ARM target as cgps is working there.

        I now want to add a c++ interface to my host Qt Creator environment. On a terminal window on each of the host and target I..sudo apt-get install libgps-dev. In my Qt project I added #include <libQgpsmm> (the c++ interface to libgps) but I get the build error "libQgpsmm: No such file or directory". I see that in usr/lib/x86_64-linux-gnu I have libQgpsmm.prl/so/so.21/so.21.0/so.21.0.0 , but I think maybe I need an so.4.8.6 to match my build environment. All help will be greatly appreciated.

        J Offline
        J Offline
        jsulm
        Lifetime Qt Champion
        wrote on 15 Aug 2017, 06:14 last edited by jsulm
        #3

        @Simplexity On Ubuntu it is

        libgps-dev: /usr/include/libgpsmm.h
        

        So should be

        #include <libgpsmm.h>
        

        See http://www.manpagez.com/man/3/libQgpsmm/

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

        S 1 Reply Last reply 15 Aug 2017, 09:16
        1
        • J jsulm
          15 Aug 2017, 06:14

          @Simplexity On Ubuntu it is

          libgps-dev: /usr/include/libgpsmm.h
          

          So should be

          #include <libgpsmm.h>
          

          See http://www.manpagez.com/man/3/libQgpsmm/

          S Offline
          S Offline
          Simplexity
          wrote on 15 Aug 2017, 09:16 last edited by
          #4

          @jsulm many thanks. Yes libgpsmm.h is ok, but the man page you pointed to also references libQgpsmm.

          1 Reply Last reply
          0

          4/4

          15 Aug 2017, 09:16

          • Login

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