Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to find pic32-g++ #438

Open
FabianInostroza opened this issue Oct 15, 2018 · 1 comment
Open

Fails to find pic32-g++ #438

FabianInostroza opened this issue Oct 15, 2018 · 1 comment

Comments

@FabianInostroza
Copy link

FabianInostroza commented Oct 15, 2018

I've installed chipkit-core on Linux 64 bits following the instructions in [1] (zip file), but when I try to compile a sketch I get the following error:
fork/exec /bin/pic32-g++: no such file or directory

I got it working by modifying the file platform.txt. I hardcoded the path to the compiler in the variable compiler.path to /home/user/Arduino/.....

Another almost successful attempt was to create a symlink to the pic32-tools folder in ~/.arduino15/packages/arduino/tools, but then there is no pic32-g++ executable in the pic32mx/bin/ subfolder.

[1] https://chipkit.net/wiki/index.php?title=ChipKIT_core#64-Bit_Linux

@vicpino
Copy link

vicpino commented Mar 14, 2021

The compiler is 32-bit.
On 64 bits Linux you must install the 32-bit compatibility libraries.
$ sudo apt-get install libc6-i386

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants