Clearer Build Instructions for Newbies #1541
-
I would love to join the community and write apps for InfiniTime. Before I spend time developing, I thought I should at least learn how to build the firmware first. But for the life of me, I can't get a build to work. The instructions that seem to be the most straightforward are found in InfiniTime/doc/buildWithDocker.md. I still don't understand everything in these instructions, so I'm having to make several assumptions that I know could be wrong. I'm not new to software development, but I am a newbie when it comes to Docker and cmake. I've used Linux for years and am not scared of using a terminal, but I'm probably still a beginner in my Linux knowledge. I am also trying to build on a Windows machine. If I could get some help getting started, that would be wonderful. After a lot of digging and following instructions found in different parts of this repo, I understand that the simplest way to build the firmware is to use the docker image from Docker Hub. The instructions in buildWithDocker.md starts with a list of dependencies, and it's not clear if I need to install those myself if using the Docker Hub image. Here is the process I followed:
In short, I feel like I'm missing some important context to what I'm trying to do, and would love some help getting over the hurdles. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
That is correct.
This error happens because the instructions kind of expect you to be running in a Linux environment. That part specifically tells Docker to run as the current user rather than as root. I'm not very familiar with Windows, maybe you can get away with just leaving that Building on Windows isn't supported anywhere near as well as on Linux, so it might be better to try that as well. |
Beta Was this translation helpful? Give feedback.
-
I just ordered my PineTime since I want to create custom app and tried to setup InfiniTime. I found that using simulator is by far the easiest approach to get started. https://github.com/InfiniTimeOrg/InfiniSim |
Beta Was this translation helpful? Give feedback.
That is correct.
This error happens because the instructions kind of expect you to be running in a Linux environment. That part specifically tells Docker to run as the current user rather than as root. I'm not very familiar with Windows, maybe you can get away with just leaving that
--user
bit out.Building on Windows isn't supported anywhere near as well as on Linux, so it might be better to try that as well.