# Develop using Makefile method

Source: [https://docs.qualcomm.com/doc/80-70014-51/topic/develop-using-makefile-method.html](https://docs.qualcomm.com/doc/80-70014-51/topic/develop-using-makefile-method.html)

Use the Hello-QIM sample application to experience the capabilities of the Qualcomm
        Linux platform. The sample application is hosted on [GitHub](https://github.com/quic/sample-apps-for-qualcomm-linux).

This procedure gets buffer samples from a camera pipeline with the
                `gst-appsink-example` GStreamer application, which uses the
                `app-sink plug-in`.

1. Go to the directory where the SDK was
                    installed:

        cd <installation directory of platform SDK>Copy to clipboard
2. Set up the source
                    environment:

        source environment-setup-armv8-2a-qcom-linuxCopy to clipboard
3. Download the Hello-QIM sample application from
                    GitHub:

        git clone https://github.com/quic/sample-apps-for-qualcomm-linuxCopy to clipboard
4. Go to the Hello-QIM
                    application:

        cd sample-apps-for-qualcomm-linux/Hello-QIMCopy to clipboard
5. Set the environment variables:
    - export SDKTARGETSYSROOT=<path to Installation directory of platform SDK>/tmp/sysrootsCopy to clipboard

For
                                example:

            export SDKTARGETSYSROOT=/local/mnt/workspace/Hello-QIM/tmp/sysrootsCopy to clipboard

Note: For Arm architecture-based host machines, change
                            `Hello-QIM/Makefile` with `aarch64` as
                        show in the following
                        command:

        CXX=${SDKTARGETSYSROOT}/aarch64/usr/bin/aarch64-qcom-linux/aarch64-qcom-linux-g++Copy to clipboard

    - export GST_APP_NAME=<appname>Copy to clipboard

For
                                example:

            export GST_APP_NAME=gst-appsinkCopy to clipboard
6. Compile the application:

        makeCopy to clipboard

Once successful, the
                    application binary is generated.
7. To run the compiled program, do the following:
    1. Transfer the program to the Qualcomm Reference
                                kit:

            scp -r gst-appsink root@[IP Address of the device]:/opt/Copy to clipboard

        You
                                must enable SSH in Permissive mode to securely access your host
                                device. For instructions, see [How to SSH?](https://docs.qualcomm.com/bundle/publicresource/topics/80-70014-254/how_to.html#how-to-ssh-)
    2. Log in to the SSH shell and run the following commands to execute the
                            sample
                                application:

            ssh root@[IP Address of the device]Copy to clipboard

Note: If
                                prompted, enter oelinux123 as the password for the SSH
                                shell.

            chmod 777 /opt/gst-appsinkCopy to clipboard

        In
                                this command, `gst-appsink` is the name of the sample
                                application to be
                            run.

            cd /opt/Copy to clipboard

            ./gst-appsink -w 1280 -h 720Copy to clipboard

After the application is created successfully, the following message is displayed.

`Hello-QIM: Success creating pipeline and received camera frame.`

**Parent Topic:** [Develop your first application](https://docs.qualcomm.com/doc/80-70014-51/topic/content-develop-your-first-application.html)

Last Published: Nov 05, 2025

[Previous Topic
Develop your first application](https://docs.qualcomm.com/bundle/publicresource/80-70014-51/topics/content-develop-your-first-application.md) [Next Topic
Develop using devtool method](https://docs.qualcomm.com/bundle/publicresource/80-70014-51/topics/develop-using-devtool-method.md)