🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Arduino IDE on Mac High Sierra - is it supported?

    Scheduled Pinned Locked Moved General
    5 Posts 2 Posters 6.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W Offline
      wsanders
      last edited by

      I am trying to compile my first "hello world" type program for the M5stick-C-Plus using the Arduino IDE. I get the error:

      [2327] Error loading Python lib '/var/folders/yw/dk6xgyd93vjbcglyz6tcmgvr0000gn/T/_MEIcUowqf/libpython3.8.dylib': dlopen: dlopen(/var/folders/yw/dk6xgyd93vjbcglyz6tcmgvr0000gn/T/_MEIcUowqf/libpython3.8.dylib, 10): Symbol not found: ____chkstk_darwin
      Referenced from: /var/folders/yw/dk6xgyd93vjbcglyz6tcmgvr0000gn/T/_MEIcUowqf/libintl.8.dylib (which was built for Mac OS X 10.15)
      Expected in: /usr/lib/libSystem.B.dylib
      in /var/folders/yw/dk6xgyd93vjbcglyz6tcmgvr0000gn/T/_MEIcUowqf/libintl.8.dylib
      exit status 255
      /Applications/Arduino.app/Contents/Java/arduino-builder returned 255
      Error compiling for board M5Stick-C-Plus.

      Does this mean than compiling for M5stack devices under Arduino IDE requires Mac OS 10.15? I am running High Sierra (10.13.6).

      w

      1 Reply Last reply Reply Quote 0
      • W Offline
        wsanders
        last edited by

        High Sierra has Python 2 installed with the OS, so this looks like a dependency on Python3. I could install Python3 from python.org, but I doubt it would work.

        I will give it a try in Linux, where Python3 has been standard for a long time.

        I'll propose a new question: What is the easiest way to get an M5Stack IDE working on an old Mac? I'm language neutral, C++, Python, even UIFlow is fine with me.

        ajb2k3A 1 Reply Last reply Reply Quote 0
        • ajb2k3A Offline
          ajb2k3 @wsanders
          last edited by

          @wsanders You need to install Python 3 and configure the environmental path.
          Mac still defaults to py2 which is depreciated for modern none apple software.

          UIFlow, so easy an adult can learn it!
          If I don't know it, be patient!
          I've ether not learned it or am too drunk to remember it!
          Author of the WIP UIFlow Handbook!
          M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

          1 Reply Last reply Reply Quote 0
          • W Offline
            wsanders
            last edited by

            Is there a particular environment variable that is used to point the IDE to Python3? One does not simply alter the PATH or LD_LIBRARY_PATH in one's shell or alias the "python" command to "python3", because older MacOS is very dependent on Python 2. I installed Python 3 with brew a few years ago and it hosed my system badly enough to warrant an OS reinstall.

            ajb2k3A 1 Reply Last reply Reply Quote 0
            • ajb2k3A Offline
              ajb2k3 @wsanders
              last edited by

              @wsanders I just followed the install instructions to install Python3 in OSX
              All you are doing is adding a list of folders that tell the terminal where to look for python 3.
              Something like this guide works fine: https://www.educative.io/edpresso/how-to-add-python-to-the-path-variable-in-mac

              Then once the variable is set you use python3 instead of python when issuing commands.

              UIFlow, so easy an adult can learn it!
              If I don't know it, be patient!
              I've ether not learned it or am too drunk to remember it!
              Author of the WIP UIFlow Handbook!
              M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post