Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: Need help getting code to run on a mac

  1. #1
    Senior Member
    Join Date
    Apr 2017
    Posts
    230

    Need help getting code to run on a mac

    All,

    i'm helping a friend get an ino file running on a mac and i'm not a mac user. here's the compile error.

    Anyone know what I need to do?



    Arduino: 1.8.9 (Mac OS X), TD: 1.47, Board: "Teensy 3.2 / 3.1, Serial, 72 MHz, Faster, US English"

    /Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/tteper/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/tteper/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries

    /Users/tteper/Documents/Arduino/libraries -fqbn=teensy:avr:teensy31:usb=serial,speed=72,opt=o 2std,keys=en-us -ide-version=10809 -build-path /var/folders/dg/yx84cs852k513vhsn2bhg4vh0000gn/T/arduino_build_66707 -warnings=none -build-cache /var/folders/dg/yx84cs852k513vhsn2bhg4vh0000gn/T/arduino_cache_674045 -verbose /Applications/Arduino.app/Receiver_v4.5/Receiver_v4.5.ino
    open /Users/tteper/Documents/Arduino/libraries: operation not permitted

    Error compiling for board Teensy 3.2 / 3.1.

  2. #2
    Senior Member
    Join Date
    Apr 2017
    Posts
    230
    I'm pretty sure it's where libs are installed running the example analogRead

    Arduino: 1.8.9 (Mac OS X), TD: 1.47, Board: "Teensy 3.2 / 3.1, Serial, 72 MHz, Faster, US English"

    /Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/tteper/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/tteper/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries

    /Users/tteper/Documents/Arduino/libraries -fqbn=teensy:avr:teensy31:usb=serial,speed=72,opt=o 2std,keys=en-us -ide-version=10809 -build-path /var/folders/dg/yx84cs852k513vhsn2bhg4vh0000gn/T/arduino_build_541980 -warnings=none -build-cache /var/folders/dg/yx84cs852k513vhsn2bhg4vh0000gn/T/arduino_cache_674045 -verbose /Applications/Arduino.app/Contents/Java/examples/01.Basics/AnalogReadSerial/AnalogReadSerial.ino
    open /Users/tteper/Documents/Arduino/libraries: operation not permitted

    Error compiling for board Teensy 3.2 / 3.1.
    Invalid library found in /Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/examples: no headers files (.h) found in /Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/examples
    Invalid library found in /Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/examples: no headers files (.h) found in /Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/examples

  3. #3
    Senior Member
    Join Date
    Apr 2017
    Posts
    230
    Got it running. had to reinstall arduino and teensyduino.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •