Menu

#323 QP Bundle Version 7.1.3 Windows installer lacking QUTest Port files

QPCPP
wont-fix
None
1
2024-08-01
2022-12-06
Dan
No

PROBLEM

Downloaded the latest QP Bundle Version 7.1.3 Windows installer from the website:
https://www.state-machine.com/downloads/qp-windows_7.1.3.exe

Attempted to compile, link, and run our QUTest test suite. All the tests failed to link. Noticed the installer did NOT have the Makefile or Visual Studio Solution files in the win32-qutest ports directory.

WORK AROUND

Download QP Bundle Version 7.1.1. Copy the Makefile and Visual Studio Solution files from 7.1.1 to the 7.1.3 directory.

NOTE

I did not confirm if any other files were absent from the QP Bundle Version 7.1.3.

Discussion

  • Dan

    Dan - 2022-12-06

    I looked at the Makefile for blinky between the two versions.

    QP Bundle Version 7.1.1 (qutest blinky Makefile):

    #-----------------------------------------------------------------------------
    # add QP/C++ framework (depends on the OS this Makefile runs on):
    #
    ifeq ($(OS),Windows_NT)
        QP_PORT_DIR := $(QPCPP)/ports/win32-qutest
        LIB_DIRS += -L$(QP_PORT_DIR)/mingw
        LIBS     += -lqp -lws2_32
    else
        QP_PORT_DIR := $(QPCPP)/ports/posix-qutest
        CPP_SRCS += \
        qep_hsm.cpp \
        qep_msm.cpp \
        qf_act.cpp \
        qf_actq.cpp \
        qf_defer.cpp \
        qf_dyn.cpp \
        qf_mem.cpp \
        qf_ps.cpp \
        qf_qact.cpp \
        qf_qeq.cpp \
        qf_qmact.cpp \
        qf_time.cpp \
        qs.cpp \
        qs_64bit.cpp \
        qs_rx.cpp \
        qs_fp.cpp \
        qutest.cpp \
        qutest_port.cpp
    
        LIBS += -lpthread
    endif
    

    QP Bundle Version 7.1.1 0 (qutest blinky Makefile):

    #-----------------------------------------------------------------------------
    # add QP/C++ framework (depends on the OS this Makefile runs on):
    #
    CPP_SRCS += \
        qep_hsm.cpp \
        qep_msm.cpp \
        qf_act.cpp \
        qf_actq.cpp \
        qf_defer.cpp \
        qf_dyn.cpp \
        qf_mem.cpp \
        qf_ps.cpp \
        qf_qact.cpp \
        qf_qeq.cpp \
        qf_qmact.cpp \
        qf_time.cpp \
        qs.cpp \
        qs_64bit.cpp \
        qs_rx.cpp \
        qs_fp.cpp \
        qutest.cpp \
        qutest_port.cpp
    
    ifeq ($(OS),Windows_NT)
    
    QP_PORT_DIR := $(QPCPP)/ports/win32-qutest
    LIBS += -lws2_32
    
    else
    
    QP_PORT_DIR := $(QPCPP)/ports/posix-qutest
    LIBS += -lpthread
    
    endif
    

    Okay. Now I get it. The Makefile(s) were changed from linking in the qp.lib to now building all the QP source files.

     

    Last edit: Dan 2022-12-06
  • Quantum Leaps

    Quantum Leaps - 2023-01-04

    This bug report is closed as misunderstanding of the changed QP build process.
    --MMS

     

Anonymous
Anonymous

Add attachments
Cancel