PROS V5 Compile Error

I have been having some trouble with my PROS. All the sudden, whenever I try to build/upload my code to the robot, PROS will return an error to me. I have tried uninstalling and reinstalling PROS, using different computers, etc, nothing seems to work. I use a windows 10 computer.

The Error:
Creating cold package with libc,libm,libpros,okapilib [ERRORS]
/bin/sh: line 1: arm-none-eabi-g++: command not found
make: *** [common.mk:229: bin/cold.package.elf] Error 127

Whenever I open PROS, I also get this error. I don’t know how to fix it as well. PROS tells me to I have atom 1.34.0 and I should update to Atom 1.40.0. To do this it links me to the Atom download page, so I have tried installing atom, but that installed a separate instance of atom, instead of updating PROS.

Error:

Atom: 1.34.0 x64
Electron: 2.0.16
OS: Microsoft Windows 10 Pro
Thrown From: file-icons package 2.1.47

Stack Trace

Uncaught SyntaxError: Invalid regular expression: /-*-(?:[ \t](?=[^:;\s]+[ \t]-*-)|(?:.?[ \t;]|(?<=-*-))[ \t]mode[ \t]:[ \t])([^:;\s]+)(?=[ \t;]|(?<![-])-*-).?-*-/: Invalid group

At C:\Users\jstone\.pros-editor\packages\file-icons\lib\service\strategies\modeline-strategy.js:24

SyntaxError: Invalid regular expression: /-\*-(?:[ \t]*(?=[^:;\s]+[ \t]*-\*-)|(?:.*?[ \t;]|(?<=-\*-))[ \t]*mode[ \t]*:[ \t]*)([^:;\s]+)(?=[ \t;]|(?<![-*])-\*-).*?-\*-/: Invalid group
    at ModelineStrategy.matchIcon (/packages/file-icons/lib/service/strategies/modeline-strategy.js:24:21)
    at ModelineStrategy.check (/packages/file-icons/lib/service/strategy.js:134:22)
    at ModelineStrategy.check (/packages/file-icons/lib/service/strategies/header-strategy.js:52:16)
    at StrategyManager.query (/packages/file-icons/lib/service/strategy-manager.js:87:32)
    at Immediate.setImmediate (/packages/file-icons/lib/service/icon-delegate.js:243:38)
    at runCallback (timers.js:789:20)
    at tryOnImmediate (timers.js:751:5)
    at processImmediate [as _immediateCallback] (timers.js:722:5)

Commands

Non-Core Packages

atom-ide-ui 0.13.0 
busy 0.7.0 
busy-signal 2.0.1 
file-icons 2.1.47 
ide-cquery 0.13.6 
ide-cquery 0.13.6 
minimap 4.39.12 
minimap-cursorline 1.0.3 
minimap-find-and-replace 5.0.8 
minimap-selection 4.5.4 
pros-atom3 2.2.0 
terminal-tab-plus 0.5.11 
tool-bar 1.4.2 
tool-bar-main 0.0.12 

Update: I fixed the first Error, by putting the necessary files into the bin folder, but now I get a new error.

Error:
Compiled src/main.cpp [WARNINGS]
intercept-c++.exe: Internal error.
Traceback (most recent call last):
File “C:\Users\akbro\AppData\Local\Programs\Python\Python39\lib\site-packages\libscanbuild_init_.py”, line 126, in wrapper
File “C:\Users\akbro\AppData\Local\Programs\Python\Python39\lib\site-packages\libscanbuild_init_.py”, line 192, in wrapper
File “C:\Users\akbro\AppData\Local\Programs\Python\Python39\lib\site-packages\libscanbuild_init_.py”, line 177, in run_compiler
File “C:\Users\akbro\AppData\Local\Programs\Python\Python39\lib\subprocess.py”, line 349, in call
File “C:\Users\akbro\AppData\Local\Programs\Python\Python39\lib\subprocess.py”, line 951, in init
File “C:\Users\akbro\AppData\Local\Programs\Python\Python39\lib\subprocess.py”, line 1420, in execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified
intercept-c++.exe: Please run this command again and turn on verbose mode (add ‘-vvvv’ as argument).
mv: cannot stat ‘.d/main.Td’: No such file or directory
make: [common.mk:271: bin/main.cpp.o] Error 1 (ignored)
Adding timestamp [WARNINGS]
intercept-cc.exe: Internal error.
Traceback (most recent call last):
File "C:\Users\akbro\AppData\Local\Programs\Python\Python39\lib\site-packages\libscanbuild_init
.py", line 126, in wrapper
File “C:\Users\akbro\AppData\Local\Programs\Python\Python39\lib\site-packages\libscanbuild_init_.py”, line 192, in wrapper
File “C:\Users\akbro\AppData\Local\Programs\Python\Python39\lib\site-packages\libscanbuild_init_.py”, line 177, in run_compiler
File “C:\Users\akbro\AppData\Local\Programs\Python\Python39\lib\subprocess.py”, line 349, in call
File “C:\Users\akbro\AppData\Local\Programs\Python\Python39\lib\subprocess.py”, line 951, in init
File “C:\Users\akbro\AppData\Local\Programs\Python\Python39\lib\subprocess.py”, line 1420, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified
intercept-cc.exe: Please run this command again and turn on verbose mode (add ‘-vvvv’ as argument).
Linking hot project with ./bin/cold.package.elf and libc,libm,libpros,okapilib [ERRORS]
/bin/sh: line 1: arm-none-eabi-g++: command not found
make: *** [common.mk:239: bin/hot.package.elf] Error 127
Error: Failed to build

2 Likes

i’m having the same error, what files did you put into the bin folder ?