night-ghost / minimosd-extra

Full rework of minimosd-extra with lots of news
163 stars 80 forks source link

how to build the source #197

Closed sin5678 closed 7 years ago

sin5678 commented 7 years ago

As i always got error: **

protocols/MAVLink.h:79:18: error: ‘class SingleSerial’ has no member named ‘available_S’ while(Serial.available_S()) { ^ protocols/MAVLink.h:80:28: error: ‘class SingleSerial’ has no member named ‘read_S’ uint8_t c = Serial.read_S(); ^

**

I have update the submodule , installed all need packages what is the right way to compile this project ?

maxim-kuvyrkov commented 7 years ago

What version (MAVLINK, NMEA, etc) are you compiling for? I found it easiest to trim build.sh to the single version I'm interested in.

sin5678 commented 7 years ago

@maxim-kuvyrkov what i do is: **

git clone https://github.com/night-ghost/minimosd-extra.git git submodule init git submodule update ./build.sh <---- i got the error **

nothing change, with default config

maxim-kuvyrkov commented 7 years ago

SingleSerial revision checked out by "git submodule update" is too old; do "cd libraries/SingleSerial; git checkout master" and ./build.sh will succeed (at least for everything but UAVTALK).

sin5678 commented 7 years ago

@maxim-kuvyrkov thanks for your information,I finally did a successful build