VMware Fusion: Failed to power on VM (macOS Big Sur M1) - vmware

VMWare Fusion Professional Version 12.1.2 (17964953) on macOS Big Sur (M1 chip) fails to create a virtual machine. Tried with Debian 64bit and openSUSE 64bit/32bit.
Error popup: Failed to power on '/Users/user/Virtual Machines.localized/Debian 10.x.vmwarevm/Debian 10.x.vmx'
When I'm trying to lunch a VM created on another Mac with VMWare Fusion 11, I'm getting the same error.
Any ideas how to debug and what could be wrong?

Related

Build arm64 target build using pyinstaller

Apple has recently launched Macs based on the Apple silicon processor which is Apples in house arm64 based processor.
I am using pyinstaller 3.4 and Python 2.7.18 to create application for Mac.
I tried on Catalina machine with latest Xcode 12. But pyinstaller creates build only for intel arch.
Is there a way to create build with Apple silicon arm64 target.

Compiling for macOS arm64 arch

I am using macOS 10.15.7 to build a simple hello world C++ program for macOS arm64 architecture (not iOS). I have Xcode 12 installed. I tried the following:
xcodebuild -project TestApp.xcodeproj clean build ARCHS=arm64 EXCLUDED_ARCHS=""
But received the following error:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/sys/cdefs.h:807:2: error: Unsupported architecture
#error Unsupported architecture
and similar other errors.
I supposed I can cross-build for upcoming ARM-based macs from my x86_64 mac, but it doesn't seem to work.
The SDK for macOS Big Sur wasn't released as part of the public Xcode 12.0 release, it only contains the SDK for Catalina (macOS 10.15).
To target macOS Big Sur (and macOS on Apple Silicon), you need the beta SDK (Xcode 12.2 beta).
It works fine when I removed the 'EXCLUDED_ARCHS' part.

Virtaualbox-5.1/5.2 not working in ubuntu-17.04?

Hello I'm facing problem in starting virtualbox-5.1/5.2 in ubuntu 17.04.
virtualbox
Here is the error during starting VM
VirtualBox: Error -610 in supR3HardenedMainInitRuntime!
VirtualBox: dlopen("/usr/lib/virtualbox/VBoxRT.so",) failed:
VirtualBox: Tip! It may help to reinstall VirtualBox.
seems you are trying to use a 32 bit version on a 64 bit system
Charlie Lutaud The versions are Ubuntu 17.04 64-bit and virtualbox-5.2_5.2.2-119230_Ubuntu_zesty_amd64 both are 64-bit. It may be something other.

How to install OpenCV for C++ on Mac and configure with Netbeans

I am having trouble trying to install OpenCV correctly and configure it with Netbeans.
One of my University units is using Visual Studio with OpenCV but I do not own a Windows PC so need to install OpenCV on my Mac OSX 10.12.3 and configure it to work with netbeans in a C++ project.
I have explored many avenues to do this but can't seem to come to a solution.
If someone could provide a step by step guide, that would be very helpful. Ideally I would like the most recent version of OpenCV.
Option 1
Install Oracle VirtualBox for free on your Mac and then install Windows in a virtual machine. It is a single file on your Mac so you can remove all that ugly Microsoft stuff as soon as you finish your class. You can run the virtual machine at the same time as macOS (it is not dual boot and doesn't mess with your boot sector) and copy and paste between the two, share files between the two and use networking from the virtual machine.
Option 2
Get a free Amazon EC2 Windows instance and run your OpenCV and NetBeans on there. You can connect from home using RDP from your Mac and also from school so your work is always accessible.
Option 3
Install homebrew on your Mac, then install OpenCV and NetBeans with
brew install opencv
brew install Caskroom/cask/netbeans
Then configure the two to work together as per this post.

SDL and portability issue

I compiled simple program on my i386 laptop. Then i try to execute it on amd64 PC and it starting, but then
SDL_Init Error: No available video device
OS: debian 7.6.0 on both computers.
I installed libc6:i386, it didn't help