Missing includes (Ubuntu packages)

Post any questions related to the new PicoScope 7 software
Post Reply
Posts: 0
Joined: Tue Nov 08, 2022 9:37 am

Missing includes (Ubuntu packages)

Post by frank.osterfeld »

I'm currently using The Ubuntu packages, version 2.1.101-6r3316.

The includes in /opt/picoscope/include/libps4000a are incomplete:

libps4000a/ps4000aApi.h has "19:#include "PicoCallback.h", but PicoCallback.h does not exist in the libps4000a directory. (but only in libps5000a/, libps6000a/ and libsearfire/)

As all the includes in the psXXXXapi.h files are without libpsXXXX prefix, it seems intended to add a single subfolder like libps4000a directly to the include path (-I/opt/picoscope/include/libps4000a instead of -I/opt/picoscope/include - which also makes it hard/impossible with most build system to build support for different models into the same application/library target), I think these folders should be self-contained.

Post Reply