Improving Build Instructions
-
Under the cmake section, I don't have a toolchain file. Not sure if this is an issue or not either.
-
It looks like you have somehow lost the tool prefix, because it should be looking for arm-none-eabi-g++ not simply g++.
-
Hi @dc42 I appreciate your help. It is looking like there is something larger that is the matter with my configuration. I don't even have Tool Settings.
-
Okay, so I was looking over the build instructions again and I realized that for some of the repos I installed the master version instead of the specified version. I am now using the specified version of each repo and I am seeing the arm-none-eabi for all the repos except the CANlib and FreeRTOS.
Even with that, I am still getting the path error. -
Also, with the repos where I am able to find the Tool Settings, it is looking like it is trying to compile and gets build errors. So to my understanding it is interesting that it is saying that it can't find it in path still.
-
Hi everyone, I am not experienced in building large C++ projects and I don't want to be a burden on the forum, does anyone have a good resource on general build advice/troubleshooting that I can look at?
-
Hello everyone,
I finally was able to compile the firmware! I am noting down what I did here that made it work hopefully to help others with the first build.Make sure that:
You are checking out the correct "tags" of a repo in github. A certain version of the firmware requires certain tags of a repo to be installed. See this for V 3.02: https://github.com/Duet3D/RepRapFirmware/blob/v3.02-dev/BuildInstructions.md ... there is a table listing the tag (not branch) to pull from.Also, the order of "make" in path matters. I had Chocolatey installed also and its make was further u on the list in my Path environment variable which overrode the version of make that is being used for this project.
This forum post has a lot of helpful information and got me the rest of the way.: https://forum.duet3d.com/topic/19980/little-help-to-build-rrf3/3
Good luck!
-
Also, an easy way to add a project to Eclipse is File -->Open Projects From File System and then select the Firmware directory with all of the downloaded projects into it.
Also, make sure to read the entire page of instructions, not skipping over anything. For the Duet 3 you don't need to compile the DuetWifiSocketServer project, but you do still need it added into Eclipse.
-
-
Nevermind finally compiled latest version fine.
-
@seraser glad you finally compiled it! Sorry I didn’t respond in time.