Post Go back to editing

ADALM1000 PixelPulse2 Ubuntu build instructions out of date

Category: Software
Product Number: ADALM1000
Software Version: Pixelpulse2 v1.0.5

Hello,

I was not able to build PixelPulse2 on Ubuntu 24.04.2 LTS. I followed the following instructions:

https://wiki.analog.com/university/tools/m1k/pixelpulse

with link to:

https://wiki.analog.com/university/tools/m1k/pixelpulse/build

The instructions are outdated - is PixelPulse2 still maintained?

Are there any new building instructions available?

Many thanks for your help and support!

Best

  • Dear @ASuciu, many thanks for your prompt reply and providing updated build instructions. Trying those on Ubuntu 24.04 led to an CMake error:


    ng@ng-twr:~/pixelpulse2/build$ cmake ../
    CMake Deprecation Warning at CMakeLists.txt:5 (cmake_minimum_required):
     Compatibility with CMake < 3.5 will be removed from a future version of
     CMake.

     Update the VERSION argument <min> value or use a ...<max> suffix to tell
     CMake that the project does not need compatibility with older versions.


    -- The CXX compiler identification is GNU 13.3.0
    -- The C compiler identification is GNU 13.3.0
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/c++ - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: /usr/bin/cc - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")  
    -- Checking for module 'libusb-1.0'
    --   Found libusb-1.0, version 1.0.27
    -- Configuring done (0.8s)
    CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
    Please set them or make sure they are set and tested correctly in the CMake files:
    LIBSMU_INCLUDE_DIRS
      used as include directory in directory /home/ng/pixelpulse2
      used as include directory in directory /home/ng/pixelpulse2
      used as include directory in directory /home/ng/pixelpulse2
      used as include directory in directory /home/ng/pixelpulse2
      used as include directory in directory /home/ng/pixelpulse2
      used as include directory in directory /home/ng/pixelpulse2
      used as include directory in directory /home/ng/pixelpulse2
    LIBSMU_LIBRARIES
       linked by target "pixelpulse2" in directory /home/ng/pixelpulse2

    CMake Warning (dev) in CMakeLists.txt:
     Policy CMP0021 is not set: Fatal error on relative paths in
     INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
     policy details.  Use the cmake_policy command to set the policy and
     suppress this warning.

     Found relative path while evaluating include directories of "pixelpulse2":

       "LIBSMU_INCLUDE_DIRS-NOTFOUND"

    This warning is for project developers.  Use -Wno-dev to suppress it.

    CMake Warning (dev) in CMakeLists.txt:
     Policy CMP0021 is not set: Fatal error on relative paths in
     INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
     policy details.  Use the cmake_policy command to set the policy and
     suppress this warning.

     Found relative path while evaluating include directories of "pixelpulse2":

       "LIBSMU_INCLUDE_DIRS-NOTFOUND"

    This warning is for project developers.  Use -Wno-dev to suppress it.

    -- Generating done (0.0s)
    CMake Generate step failed.  Build files cannot be regenerated correctly.

    Any help with that? I'm not sure how to correct the relative path.

    Many thanks!

  • libsmu is the library for supporting ADALM1000

    Did you install libsmu ?  https://github.com/analogdevicesinc/libsmu

    It can be installed or built from source

  • Cool - many thanks! I built libsmu from source and then PixelPulse2. All fine now! Again many thanks for your support and help!
    Best, DC0NG