Is it possible to have a local library but do a remote build? I’m trying to create, at first, just an empty library and build it. I’m trying a remote build (mos --build).
I have followed the instructions for creating a new library:
https://mongoose-os.com/docs/mongoose-os/userguide/build.md#how-to-create-a-new-library
I did a local build to get the deps directory, which was then full of other directories. I removed all of them, then proceeded to create my own per the instructions.
When I build with:
mos --build
I get a failure (which I’ll link below).
I have added the library to my mos.yml file like this:
libs:
- origin: https://github.com/mongoose-os-libs/boards
- origin: https://github.com/mongoose-os-libs/ca-bundle
- origin: https://github.com/mongoose-os-libs/rpc-service-config
- origin: https://github.com/mongoose-os-libs/rpc-service-fs
- origin: https://github.com/mongoose-os-libs/rpc-uart
# JWA Test library
- name: N2K
I have created both:
/deps/N2K/src/
/deps/N2K/include
And put the files in as documented. Is this something I can only do with a local build or should a remote build work?
Here is the build error:
Thanks very much…