Home › Forums › g2Core › Hardware Support › Porblem to compile G2 with motate
- This topic has 1 reply, 2 voices, and was last updated 3 years, 7 months ago by cmcgrath5035.
-
AuthorPosts
-
April 14, 2021 at 7:48 am #11961happyluluxParticipant
Hi,
I have trouble to compile G2core with Motate for arduino Due. I use the last Github version (101.03) and added the “MotateProject” folder in the G2core “Motate” folder. Then I open “g2core.atsln” with Microchip Studio (atmel studio 7 as been remplaced by this?), select “gShield” and hit F5 to compile. I have the folowwing output error:Build started.
Project “g2core.cppproj” (default targets):
Target “PreBuildEvent” skipped, due to false condition; (‘$(PreBuildEvent)’!=”) was evaluated as (”!=”).
Target “CoreBuild” in file “C:\Program Files (x86)\Atmel\Studio\7.0\Vs\Compiler.targets” from project “D:\cnc\g2-101.03\g2-101.03\g2core\g2core.cppproj” (target “Build” depends on it):
Task “RunCompilerTask”
Shell Utils Path C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils
C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils\make.exe -C “D:\cnc\g2-101.03\g2-101.03\g2core” -f “Makefile” BOARD=gShield CONFIG=ShapeokoDualY COLOR=0 VERBOSE=1
make: Entering directory ‘D:/cnc/g2-101.03/g2-101.03/g2core’
“Found that we’re in Atmel Studio”
process_begin: CreateProcess(NULL, git describe –abbrev=4 –dirty –always –tags, …) failed.
make: ../Motate/MotateProject/motate/Motate.mk:308: pipe: No such file or directory
process_begin: CreateProcess(NULL, git describe –abbrev=0 –tags, …) failed.
make: ../Motate/MotateProject/motate/Motate.mk:309: pipe: No such file or directory
Le chemin d’accès spécifié est introuvable.
make: *** No rule to make target ‘/Makefile’, needed by ‘/win32/gcc-arm-none-eabi-unspecified/bin’. Stop.
make: Leaving directory ‘D:/cnc/g2-101.03/g2-101.03/g2core’
Done executing task “RunCompilerTask” — FAILED.
Done building target “CoreBuild” in project “g2core.cppproj” — FAILED.
Done building project “g2core.cppproj” — FAILED.Build FAILED.
Suprising regarding I can find the “Motate.mk” in the folder “D:\cnc\g2-101.03\g2-101.03\Motate\MotateProject\motate”.
I guess the main problem is the wiki is for older version, when Motate wasn’t splitted with G2…
I need to use custom kinematics, this is why I want to compile it.
Someone can give me help? 🙂April 14, 2021 at 11:42 am #11962cmcgrath5035ModeratorI have to suggest you repost this to https://github.com/synthetos/g2/issues.
I believe these questions will need to be addressed by the developers and build system maintainers, you are closer to them there.
And read through the issues to see if others have raised similar issues.
-
AuthorPosts
- You must be logged in to reply to this topic.