I updated my Arduino IDE to the latest ESP32 core but when compiling get the following error:
[3057] Error loading Python lib '/var/folders/nq/2hn7ngl12sl6qm83hf__7rvr0000gn/T/_MEISjMicX/libpython3.8.dylib': dlopen: dlopen(/var/folders/nq/2hn7ngl12sl6qm83hf__7rvr0000gn/T/_MEISjMicX/libpython3.8.dylib, 10): Symbol not found: ____chkstk_darwin
Referenced from: /var/folders/nq/2hn7ngl12sl6qm83hf__7rvr0000gn/T/_MEISjMicX/libintl.8.dylib (which was built for Mac OS X 11.0)
Expected in: /usr/lib/libSystem.B.dylib
in /var/folders/nq/2hn7ngl12sl6qm83hf__7rvr0000gn/T/_MEISjMicX/libintl.8.dylib
exit status 255
/private/var/folders/nq/2hn7ngl12sl6qm83hf__7rvr0000gn/T/AppTranslocation/7BDD5E08-7004-4B2A-8A25-28F75E6FCEE0/d/Arduino.app/Contents/Java/arduino-builder returned 255
Error compiling for board ESP32 Dev Module.
I tried to pip load the library terminal returned the following:
ERROR: Could not find a version that satisfies the requirement dy.lib (from versions: none)
System:
Mac OS X 10.13
Arduino 1.8
Try installing a previous version of ESP32 library from the board manager, it works for me!
I have bought an ESP32 Kit of the brand freenove. This ESP32 board is the ESP-Wrover-E with the following features:
Chip is ESP32-D0WD-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
When I tried to verify the board, I ran the blink example but got the same error.
The current setup of my system at the moment of getting the error was:
Computer: iMac 21.5" Mid 2011, 20 GB RAM
Operating System: Mac OS High Sierra, Version 10.13.6
IDE: Arduino 1.8.9
After search a diagnostic and solution for the error I have decided to follow the recommendation of the previous comment in this entry: "Try installing a previous version of ESP32 library from the board manager, it works for me!", and It works for me. And the following are the steps I have followed with some technical comments in the process
Diagnostic:
The problem is that the current ESP32 board library installed in my Arduino IDE is version 2.0.6 which is not compatible with the Mac OS High Sierra, Version 10.13.6. This is very clear in the error message: "... libintl.8.dylib (which was built for Mac OS X 11.0) ..."
Solution:
Update the Arduino IDE:
I have decided to upgrade the Arduino IDE from version 1.8.9 to the last version available version 2.0.4-nightly-20230216. This step does not solve the problem but, with this, you have a better and upgraded version of the boards and libraries software. The new version of Arduino IDE provides the ESP32 board library version 2.0.6 out of the box.
Downgrade ESP32 Board Library:
Finally, the error is solved by installing manually a previous version of the ESP32 Board Library, y my case I have installed version 1.0.6.
I have tried with all the ESP32 Board Library versions 2.0.5, 2.0.4, and 2.0.0, but none of the versions 2.X.X works properly. For me only version 1.0.6 works like a charm!!.
Blink Example working
Related
I want to use Linux on my M1 MacBook for my Info Sec course. I have installed the latest version of Oracle VirtualBox (6.1.26). It installed just fine with no glitches. But after importing the .ova file, when I start the system. It gives two error boxes.
VM Box Error 1
VM Box Error 2
I have tried a bunch of fixes. Kernel driver not installed (rc=-1908) Getting Errors in macOS Big Sur 11.0.1
Unable to start a Linux VM in VirtualBox
But this doesn't work. First of all, I didn't get any message in the System preferences > Security & Privacy > General section. Secondly, when i run the commands mentioned in the link above, it says
Error Domain=KMErrorDomain Code=71 "Incompatible architecture: Binary is for x86_64, but needed arch arm64e.
Incompatible architecture: Binary is for x86_64, but needed arch arm64e
Terminal Snapshot
I guess this is a M1 specific problem because of the arm64 architecture.
Does anyone have a fix for this?
It looks like the Virtual Box you try to import was installed with an x86_64 archtiecture. As of now it is not possible to run a x86-based guest on an M1 Mac since they are different architectures.
EDIT:
https://www.virtualbox.org/manual/UserManual.html#hostossupport
Lists all supported HOST os. It requires Intel Macs as for now.
Screenshot:
I'm getting this error when running the configure file:
configure: error: Cannot build Qt apps, probably due to missing or too
old Qt packages. Make sure Qt development packages are installed and
newer than Qt 5.4. You can disable Qtenv by setting the WITH_QTENV
variable to "no" in configure.user
I've installed Qt5 and also added the path to the paths file.
My Qt version is 5.15.0 and my MacOS is Catalina (10.15.5 (19F101)).
Probably qmake is not able to build the Qt interfaces but I couldn't make it do it.
I think you're misunderstanding for OS support bit. macOS (After High Sierra version) is only use 64bit (x86_64). If you want to know your macOS support bit information, you can execute "uname -a" command in terminal.
i386: 32bit
x86_64: 64bit
I hope this has been useful. :D
It seems that my OS version is 32 bits and Qt5 is 64 bits. Since some of the binaries come in the 64 bits flavor, I was not able to use it with omnet++ 5.6.
I installed omnet++ version 5.0, but the program wouldn't run.
So I went back to omnet++ 5.6 and instead of using Qt, I compiled with tcl/tk and that worked for me.
I'm trying to use TensorFlow on High Sierra 10.13.6, but TensorFlow 1.8 didn't build through at all. So I wanted to build a newer version of TensorFlow, but there are no published instructions on the net for building a newer version of TensorFlow than TensorFlow 1.8.
Does this mean that versions newer than 1.8 can't be used on Mac?
According to TensorFlow 2 Install guide, It is tested and supported on the macOS 10.12.6 (Sierra) or later (no GPU support).
Tested build configurations for macOs GPU are
Accoring to GPU support, it is available for Ubuntu and Windows with CUDA®-enabled cards.
If you are looking to build a TensorFlow pip package from source and install it on macOS. Please refer office guide.
Today my Compass/Sass stopped compiling and i was unable to get it working again. So i installed Scout. But Scout wouldn’t run until i installed Java Runtime for Mac. So I downloaded and installed Java Runtime for Mac. But when running Scout I am still prompted as if Java Runtime was never installed. I see the Java Runtime in my System Preferences so I assume it’s working?
I’m running Mac OS 10.10.1 Yosemite
Anyone know what the problem might be?
I found the solution. You need to run a legacy version of Java for some applications to still work. Here's the download link and info from Apple:
https://support.apple.com/kb/DL1572?locale=en_US
Java for OS X 2015-001 installs the legacy Java 6 runtime for OS X
10.11 El Capitan, OS X 10.10 Yosemite, OS X 10.9 Mavericks, OS X 10.8 Mountain Lion, and OS X 10.7 Lion.
This package is exclusively intended for support of legacy software
and installs the same deprecated version of Java 6 included in the
2014-001 and 2013-005 releases.
Quit any Java applications before installing this update.
I don't know Scout but you might need the older JNI (Java Native Interface) version of Java (1.6) that Apple deprecated a long time ago but is still available if you know now to find it.
The easiest way to install it is to use this command in Terminal:
/usr/libexec/java_home --task JNI --request
and follow the prompts (it will pop up a dialog box offering to install the requested version). OS X can host multiple versions of Java a once so installing this older version shouldn't affect your existing installation.
I'm trying to install openCV on university's iMac,
but the problem is our university's network is so strict.
and I couldn't install openCV using MacPorts.
I tried google to look for a way to install but it all failed
i guess because it is kind of old ways and because my network is so strict.
So if anybody knows a way that I can download a ready framework with how to use it inside
Xcode. or at least a framework with how to install it to work with Xcode.
or a way to download from the source and compile it then install it in Xcode
please.
Because I tried the cmake way and I still have no luck to get it work.
thanks in advance.
sources I used:
http://salemsayed.me/?p=240
http://opencv.willowgarage.com/wiki/InstallGuide
http://opencv.willowgarage.com/wiki/Mac_OS_X_OpenCV_Port
http://www.ient.rwth-aachen.de/cms/software/opencv/
I'm using Lion + Xcode 4.x branch, with OpenCV svn trunk. Everything works fine. You have to install cmake first, then get the code from the svn following the instructions at http://code.opencv.org . The compilation process worked fine for me for all the core modules + the Qt module + the GPU module + TBB acceleration.
The instructions are the same as the Linux platform.
After setting up cmake configuration in a terminal (using ccmake for a more interactive tool),
I set the architecture to x86_64 (on my MBP Core 2 Duo), the target directory to /usr/local/(the default), and I have Intel TBB installed in /usr/local/.
Cmake generates the makefiles for you, so you just have to type make -j2 to compile, then sudo make install. If you're working on a workstation, then you have more CPU power, and you can replace the value 2 by more, e.g. 8.