Page 1 of 1

PCAN Router "make clean" & "make all" Cannot Finish

Posted: Thu 31. Jan 2019, 02:55
by peakuser3
Hello,

I have been getting problems with the make command when trying to compile or remove PCAN Router files. None of the examples work either. The error consists of the following

---https://imgur.com/a/zZHsXaK---
2UW6T7R.png
2UW6T7R.png (31.54 KiB) Viewed 5332 times
---https://imgur.com/a/M1OqZI9---
(Same as above - Moderator M.Gerber)


Files seem to be removed correctly when running command "make clean", but files are not copied to correct folders with "make all". The .bin file that comes out is still correct.

OS: Windows 10

Here are the steps I've taken to resolve this.
1. Making sure to replace the msys-1.0.dll file in yagarto tools following the problems on this link
https://www.peak-system.com/forum/viewt ... =34&t=1191
2. Uninstall and reinstall yagarto tool and yagarto
3. Uninstall and reinstall yagarto tool and yagarto with ADMIN rights.
4. Checked if PATH variable was set correctly.
5. Run terminal as admin
6. Move examples from Onedrive to local C: drive since I have had issues building and compiling with Onedrive before.

Appreciate any insight to this problem I have! Even though I can get the .bin files I need, I am annoyed why this is happening.

Re: PCAN Router "make clean" & "make all" Cannot Finish

Posted: Thu 31. Jan 2019, 09:16
by PEAK-Support
1. First of all:
Please simply attach the screens directly in the forum - we have delete all direct links to unsafe external sides !
2. Do not forget to install the Windows 8/10 Patch when using a Windows OS >7 LINK
3. After running the Patch - try again - if it still does not work - Check your PATH Environment - looks like you have more as one GCC installed...

Re: PCAN Router "make clean" & "make all" Cannot Finish

Posted: Tue 12. Feb 2019, 18:33
by peakuser3
Thank you for your advice. Modifying the PATH environment variable to look for yagarto first worked. Appreciate your help!