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. Building libmaia with msvc2015
Forum Updated to NodeBB v4.3 + New Features

Building libmaia with msvc2015

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 928 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.
  • P Offline
    P Offline
    pourjour
    wrote on last edited by
    #1

    I'm trying to use libmaia for RPC.I successfully built the lib with mingw, but I cannot build it using Qt 5.9.1 msvc2015 x64.I run make and I get the following errors:

    make -f Makefile.Release
    make[1]: Entering directory `C:/QtProejct/libmaia'
    Makefile.Release:88: *** missing separator.  Stop.
    make[1]: Leaving directory `C:/QtProejct/libmaia'
    make: *** [release] Error 2
    

    this is my makefile: Makefile

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

      Hi and welcome to devnet,

      What does your .pro file look like ?

      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
      • P Offline
        P Offline
        pourjour
        wrote on last edited by pourjour
        #3

        This is libmaia.pro file

        ######################################################################
        # Automatically generated by qmake (3.1) Sat Aug 26 15:38:50 2017
        ######################################################################
        
        TEMPLATE = app
        TARGET = libmaia
        INCLUDEPATH += .
        
        # The following define makes your compiler warn you if you use any
        # feature of Qt which has been marked as deprecated (the exact warnings
        # depend on your compiler). Please consult the documentation of the
        # deprecated API in order to know how to port your code away from it.
        DEFINES += QT_DEPRECATED_WARNINGS
        
        # You can also make your code fail to compile if you use deprecated APIs.
        # In order to do so, uncomment the following line.
        # You can also select to disable deprecated APIs only up to a certain version of Qt.
        #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
        
        # Input
        HEADERS += maiaFault.h \
                   maiaObject.h \
                   maiaXmlRpcClient.h \
                   maiaXmlRpcServer.h \
                   maiaXmlRpcServerConnection.h \
                   examples/client/client.h \
                   examples/server/server.h
        SOURCES += maiaFault.cpp \
                   maiaObject.cpp \
                   maiaXmlRpcClient.cpp \
                   maiaXmlRpcServer.cpp \
                   maiaXmlRpcServerConnection.cpp \
                   examples/client/client.cpp \
                   examples/client/client_main.cpp \
                   examples/server/server.cpp \
                   examples/server/server_main.cpp
        
        

        and this maia.pro file

        ######################################################################
        # Automatically generated by qmake (2.01a) Fr Mai 25 19:04:58 2007
        ######################################################################
        
        include("maia.pri")
        
        TEMPLATE = lib #app
        TARGET = maia
        CONFIG += staticlib
        
        DEPENDPATH += .
        INCLUDEPATH += .
        QT -= gui
        CONFIG += qt silent #debug
        
        target.path = $$PREFIX/lib
        
        headers.files = \
            maiaObject.h \
            maiaXmlRpcClient.h \
            maiaXmlRpcServer.h \
        
        headers.path = $$PREFIX/include/maia
        
        INSTALLS += \
            target \
            headers \
        
        # Input
        
        
        
        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          First thing, why are you compiling the example as part of your library ?

          The why is libmaia an app and maia a library ?

          What is inside maia.pri ?

          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

          • Login

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