For a week now I have been having many issues with the PROS editor. Between trying to fix it and having multiple errors occur, I have tried redownloading the software and formatting my computer although nothing seems to work. I am running on a macOS version: 10.15.1. I downloaded the alternatives form the PROS official website but they haven’t seemed to work either I am running on homebrew and probably other programs since I downloaded alternatives. PROS is also unidentified even though I have downloaded the package the error that keeps occurring:
Creating cold package with libc,libm,libpros,okapilib [ERRORS]
arm-none-eabi-g++: fatal error: ‘-fuse-linker-plugin’, but liblto_plugin.so not found
compilation terminated.
make: *** [bin/cold.package.elf] Error 1
Error: Failed to build
along with
Creating cold package with libc,libm,libpros,okapilib [ERRORS] /bin/sh: arm-none-eabi-g++: command not found make: *** [bin/cold.package.elf] Error 127 Error: Failed to build
if you have any experience with this situation please let me know so we can try and solve it. Thank you in advance.
I am experiencing a similar issue. I am running macOS 10.15 and downloaded the Pros Editor using homebrew. I have uninstalled and reinstalled the editor 3 times. I have been encountering an error with the pros identifier not being recognized. I attempted to compile the code in the terminal using prosv5 make
which resulted in the following errors:
Creating cold package with libc,libm,libpros,okapilib [ERRORS]
/usr/local/Cellar/arm-gcc-bin/9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: /usr/local/Cellar/arm-gcc-bin/9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libstdc++.a(cow-fs_ops.o): in function `std::filesystem::current_path(std::error_code&)':
cow-fs_ops.cc:(.text._ZNSt10filesystem12current_pathERSt10error_code+0x28): undefined reference to `pathconf'
/usr/local/Cellar/arm-gcc-bin/9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: cow-fs_ops.cc:(.text._ZNSt10filesystem12current_pathERSt10error_code+0x154): undefined reference to `getcwd'
/usr/local/Cellar/arm-gcc-bin/9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: /usr/local/Cellar/arm-gcc-bin/9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libstdc++.a(cow-fs_ops.o): in function `std::filesystem::current_path(std::filesystem::path const&, std::error_code&)':
cow-fs_ops.cc:(.text._ZNSt10filesystem12current_pathERKNS_4pathERSt10error_code+0xc): undefined reference to `chdir'
/usr/local/Cellar/arm-gcc-bin/9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: /usr/local/Cellar/arm-gcc-bin/9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libstdc++.a(cow-fs_ops.o): in function `(anonymous namespace)::create_dir(std::filesystem::path const&, std::filesystem::perms, std::error_code&)':
cow-fs_ops.cc:(.text._ZN12_GLOBAL__N_110create_dirERKNSt10filesystem4pathENS0_5permsERSt10error_code+0x14): undefined reference to `mkdir'
/usr/local/Cellar/arm-gcc-bin/9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: /usr/local/Cellar/arm-gcc-bin/9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libstdc++.a(cow-fs_ops.o): in function `std::filesystem::permissions(std::filesystem::path const&, std::filesystem::perms, std::filesystem::perm_options, std::error_code&)':
cow-fs_ops.cc:(.text._ZNSt10filesystem11permissionsERKNS_4pathENS_5permsENS_12perm_optionsERSt10error_code+0xf4): undefined reference to `chmod'
Error: Failed to build
/usr/local/Cellar/arm-gcc-bin/9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: /usr/local/Cellar/arm-gcc-bin/9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libstdc++.a(fs_ops.o): in function `std::filesystem::current_path(std::filesystem::__cxx11::path const&, std::error_code&)':
fs_ops.cc:(.text._ZNSt10filesystem12current_pathERKNS_7__cxx114pathERSt10error_code+0xc): undefined reference to `chdir'
/usr/local/Cellar/arm-gcc-bin/9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: /usr/local/Cellar/arm-gcc-bin/9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libstdc++.a(fs_ops.o): in function `(anonymous namespace)::create_dir(std::filesystem::__cxx11::path const&, std::filesystem::perms, std::error_code&)':
fs_ops.cc:(.text._ZN12_GLOBAL__N_110create_dirERKNSt10filesystem7__cxx114pathENS0_5permsERSt10error_code+0x14): undefined reference to `mkdir'
/usr/local/Cellar/arm-gcc-bin/9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: /usr/local/Cellar/arm-gcc-bin/9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libstdc++.a(fs_ops.o): in function `std::filesystem::permissions(std::filesystem::__cxx11::path const&, std::filesystem::perms, std::filesystem::perm_options, std::error_code&)':
fs_ops.cc:(.text._ZNSt10filesystem11permissionsERKNS_7__cxx114pathENS_5permsENS_12perm_optionsERSt10error_code+0xf4): undefined reference to `chmod'
/usr/local/Cellar/arm-gcc-bin/9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: /usr/local/Cellar/arm-gcc-bin/9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libstdc++.a(fs_ops.o): in function `std::filesystem::do_copy_file(char const*, char const*, std::filesystem::copy_options_existing_file, stat*, stat*, std::error_code&)':
fs_ops.cc:(.text._ZNSt10filesystem12do_copy_fileEPKcS1_NS_26copy_options_existing_fileEP4statS4_RSt10error_code+0x128): undefined reference to `chmod'
/usr/local/Cellar/arm-gcc-bin/9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: /usr/local/Cellar/arm-gcc-bin/9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libstdc++.a(fs_ops.o): in function `std::filesystem::current_path[abi:cxx11](std::error_code&)':
fs_ops.cc:(.text._ZNSt10filesystem12current_pathB5cxx11ERSt10error_code+0x34): undefined reference to `pathconf'
/usr/local/Cellar/arm-gcc-bin/9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: fs_ops.cc:(.text._ZNSt10filesystem12current_pathB5cxx11ERSt10error_code+0x180): undefined reference to `getcwd'
/usr/local/Cellar/arm-gcc-bin/9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: ./firmware/libc.a(lib_a-unlinkr.o): in function `_unlink_r':
unlinkr.c:(.text._unlink_r+0x12): undefined reference to `_unlink'
/usr/local/Cellar/arm-gcc-bin/9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: ./firmware/libc.a(lib_a-linkr.o): in function `_link_r':
linkr.c:(.text._link_r+0x16): undefined reference to `_link'
/usr/local/Cellar/arm-gcc-bin/9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: ./firmware/libc.a(lib_a-statr.o): in function `_stat_r':
statr.c:(.text._stat_r+0x16): undefined reference to `_stat'
collect2: error: ld returned 1 exit status
make: *** [bin/cold.package.elf] Error 1
@The.Plauge it seems like your compiler toolchain did not get installed. I am unfamiliar with mac, but did you follow all the install instructions, including where you install gcc?
@Muskie This is a separate issue, which is being tracked here. The solution is to either disable hot/cold or install an older version of GCC.