Solved Errors while building RRF 3.4beta3
-
Hi,
I am trying to run basic build of available 3.4beta3. I have followed instructions as on :
https://github.com/Duet3D/RepRapFirmware/wiki/Building-RepRapFirmware
I am also using 3.4 beta3 project folders for all necessary parts like RRFlibraries, CAN lib etc.
Can any of you suggest what is the possible cause of errors ?
I haven't changed any C file. Possibly some settings issue in Eclipse?note: Build order is also set right.
-
-
@jayt step 13 at https://github.com/Duet3D/RepRapFirmware/wiki/Building-RepRapFirmware is:
The build depends on the Eclipse workspace variable ArmGccPath being set to the directory where your arm-none-eabi-g++ compiler resides. For example C:\Program Files (x86)\GNU Tools ARM Embedded\7 2018-q2-update\bin on Windows. To set it, go to Windows -> Preferences -> C/C++ -> Build -> Build Variables and click "Add..."
Looks like you missed that one out or got it wrong.
-
@dc42 : I haven't missed the step. checked the arm-non-eabi-g++ in the path too.
- Anything Else that i am missing here? What should be CDT settings?
- Do i have to include any other build env variable?
-
@jayt you need to add it to the windows path https://www.architectryan.com/2018/03/17/add-to-the-path-on-windows-10/#:~:text=Click the “Environment Variables…”,path you want to add.
-
@jayt Also check Cross Settings in the project:
-
-
This post is deleted! -
@jayt : i checked the cross tool settings. those were fine. but the error on G++ path no found persists.
-
@jayt if the Cross Settings are OK as in the screen image I posted, then it shouldn't be looking for gcc or g++, it should be looking for arm-none-eabi-gcc and arm-none-eabi-g++.
The Cross Settings are in the Project settings, not the workspace Preferences.
-
@dc42 : What i did is, I clicked on each project e.g. CANlib, checked its properties and aligned as per your screen shot. likewise i did for all the Projects. I even deleted everything and re-imported and assigned properties. Also set the right build configurations again. Any other setting? Should i include PATH variable anywhere in settings? Or any other thing to include in PATH?
-
Also how does it say finished building by invoking arm-non-eabi-g++ and yet throw error about GCC path and G++ path not found?
-
@jayt : And when i run build-all , it gets stuck after 62%.it takes a lot of time. it wasn't taking so much time, untill i reimported the projects.
-
@jayt the only thing you need to include in your windows path is the path to the Gnu Arm Eclipse folder, so that Eclipse can find make.exe. Looks like that bit is working.
My guess is that the "g++ not found" error is because you are trying to build DuetWiFiSocketServer or one of its dependent projects and you haven't set up the path to the Tensilica version of gcc. But you don't need to build that project.
-
@dc42 :
After iterating whole process again, I now receive following type of error ( that says on element: makefile, in folder RepRapfirmware/Duet3_debug, line 110):
Any idea what am I missing?
Also I remove duetwifisocket from RepRapfirmware-> build list
-
@jayt it looks like just the post build step failed. There is probably a more detailed message in the Console tab.
-
@dc42 :
CRC32appender not found - is the error. I changed the path as stated in the thread: "Can't build RRF 3.3"I have restarted "Build all". But do I have to run "Build ALL" always ? and I feel its slower than the last time i tried build.
Shall confirm if the build completes by next reply.
-
@dc42 :
I receive following error on CRC32appender not found when invoked by some scripts sh.
my user Path variable includes this path:
"C:\Users\User3D\eclipse-workspace\Firmware\RepRapFirmware\Tools\crc32appender\win-x86_64"What else shall i do to fix this ?
-
@jayt : This issue is now resolved.
I used the suggestion from the thread: https://forum.duet3d.com/topic/12275/crc32appender-now-needed-for-rrf/16.
Placed crc32appender in the GNU arm.... tools\bin folder.
this worked!
(Somehow, eclipse is not able to fetch it from $PATH- based settings.)@dc42 @jay_s_uk : thank you for the suggestions & help.
can you tell me if any settings needed to build only reprap folder instead of building all projects again, if we change only one project file ? -
@jayt you can build just the RRF project if the other projects do not change.