openAVproductions / openAV-Ctlra

A plain C library to program with hardware controllers.
BSD 3-Clause "New" or "Revised" License
79 stars 16 forks source link

Cannot build under Ubuntu 16.04 #59

Closed falkTX closed 6 years ago

falkTX commented 6 years ago
$ meson build
The Meson build system
Version: 0.35.0
Source dir: /home/falktx/Personal/GIT-other/openAV-Ctlra
Build dir: /home/falktx/Personal/GIT-other/openAV-Ctlra/build
Build type: native build
Project name: openav_ctlra
Native c compiler: cc (gcc 5.4.1-2ubuntu1)
Build machine cpu family: x86_64
Build machine cpu: x86_64

Meson encountered an error in file meson.build, line 2, column 0:
Unknown function "add_project_arguments".

I guess I need a newer meson? Since Ubuntu is quite famous distro and 16.04 is latest LTS, this seems a little of a show stopper. Though we can wait 6 months and a new LTS will be out :)

harryhaaren commented 6 years ago

Meson can be easily updated: pip3 install meson If you don't want to "pollute" the build machine, python's virtualenv can achieve that for you.

I'm on Ubuntu 15.10, and its compiling fine with using the above Meson update mechanism.