Error compiling on Circuit Pplayground Bluefruit

Play with it! Please tell us which board you're using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
mbmosher
 
Posts: 37
Joined: Tue Jan 26, 2010 2:08 pm

Error compiling on Circuit Pplayground Bluefruit

Post by mbmosher »

Hi Folks, I'm getting the following error when trying to compile any of the circuit playground library example code for the circuit playground bluefruit.
I'm on OSX 10.14.6, python 2.7.16, Arduino 1.8.19, Adafruit nRF52 1.2.0, Adafruit circuit playground 1.11.4
I've tried deleting the Library >Arduino15 folder, and reinstalling the board files, no change in error.
Thanks for the help!

Code: Select all

[59438] Error loading Python lib '/var/folders/5k/_vtvth091bj75_wp0hxtf7r80000gq/T/_MEIyxO5PC/libpython3.8.dylib': dlopen: dlopen(/var/folders/5k/_vtvth091bj75_wp0hxtf7r80000gq/T/_MEIyxO5PC/libpython3.8.dylib, 10): Symbol not found: _preadv
  Referenced from: /var/folders/5k/_vtvth091bj75_wp0hxtf7r80000gq/T/_MEIyxO5PC/libpython3.8.dylib (which was built for Mac OS X 11.1)
  Expected in: /usr/lib/libSystem.B.dylib
 in /var/folders/5k/_vtvth091bj75_wp0hxtf7r80000gq/T/_MEIyxO5PC/libpython3.8.dylib
exit status 255
/Applications/Arduino.app/Contents/Java/arduino-builder returned 255
Error compiling for board Adafruit Circuit Playground Bluefruit.

User avatar
Franklin97355
 
Posts: 23903
Joined: Mon Apr 21, 2008 2:33 pm

Re: Error compiling on Circuit Pplayground Bluefruit

Post by Franklin97355 »

I don't know apples enough but just wondering, if you are using python 2.7.16 why does the program look for "Referenced from:

Code: Select all

/var/folders/5k/_vtvth091bj75_wp0hxtf7r80000gq/T/_MEIyxO5PC/libpython3.8.dylib (which was built for Mac OS X 11.1)"
  Expected in: /usr/lib/libSystem.B.dylib

User avatar
mbmosher
 
Posts: 37
Joined: Tue Jan 26, 2010 2:08 pm

Re: Error compiling on Circuit Pplayground Bluefruit

Post by mbmosher »

Hi thanks, good catch. Turns out I did not have Python 3 installed, so I did. Deleted Arduino15 again, but still getting the same error. Confirmed python 3.8 installed in terminal.

User avatar
adafruit2
 
Posts: 22111
Joined: Fri Mar 11, 2005 7:36 pm

Re: Error compiling on Circuit Pplayground Bluefruit

Post by adafruit2 »

yeah you have some core issue with your arduino install and python setup
look at
viewtopic.php?f=25&t=168759
?

User avatar
mbmosher
 
Posts: 37
Joined: Tue Jan 26, 2010 2:08 pm

Re: Error compiling on Circuit Pplayground Bluefruit

Post by mbmosher »

Thank you, that fixed it!

Locked
Please be positive and constructive with your questions and comments.

Return to “Circuit Playground Classic, Circuit Playground Express, Circuit Playground Bluefruit”