Weirdly enough I do get warnings, but just the first time I upload (tried it with a second bela now). But the second time it uploads well. I got a few other warnings as well, I copy them all here. Many thanks for all your help!
Create project from zip archive Adafruit_MPL3115A2_Bela-main Adafruit_MPL3115A2_Bela-main.zip...
Error opening file _main.pd: file does not exist.Building project ...
Building Arduino.cpp...
...done
Building Adafruit_I2CDevice.cpp...
...done
Building Adafruit_MPL3115A2.cpp...
...done
Building Wire.cpp...
Makefile:510: recipe for target '/root/Bela/projects/Adafruit_MPL3115A2_Bela-main2/build/Wire.o' failed
Build finished
In file Wire.cpp: no member named 'readRaw' in 'I2c' column: 21, line: 78
In file Wire.cpp: no member named 'writeRaw' in 'I2c' column: 14, line: 82
In file Wire.cpp: no member named 'readRaw' in 'I2c' column: 20, line: 92
/root/Bela/projects/Adafruit_MPL3115A2_Bela-main2/Wire.cpp:78:21: error: no member named 'readRaw' in 'I2c'
int ret = master->readRaw(_address, (i2c_char_t*)buf, 1, !stopBit);
~~~~~~ ^
/root/Bela/projects/Adafruit_MPL3115A2_Bela-main2/Wire.cpp:82:14: error: no member named 'writeRaw' in 'I2c'
if (master->writeRaw(_address, (i2c_char_t *) txBuffer, usedTxBuffer, !stopBit) == usedTxBuffer) return 0;
~~~~~~ ^
/root/Bela/projects/Adafruit_MPL3115A2_Bela-main2/Wire.cpp:92:20: error: no member named 'readRaw' in 'I2c'
int ret = master->readRaw(address, buf, len, !stopBit) == len ? 0 : -1;
~~~~~~ ^
3 errors generated.
make: *** [/root/Bela/projects/Adafruit_MPL3115A2_Bela-main2/build/Wire.o] Error 1