i installed omnetpp 5.6.2 on macOS m1, but it won't start after installation. The ide also would not start. Is there anyway I can fix this issue?
I tired to run from the ide subfolder but it still did not start.
As the installation guide states: OMNeT++ 5.6.2 does NOT support M1 macs. Use 5.7 which has workarounds to start in x86 emulation mode.
Related
I am using rush and trying to run rush install in a project I cloned from one of my company's repositories. But, it fails by throwing the following error:
The chromium binary is not available for arm64:
If you are on Ubuntu, you can install with:
apt-get install chromium-browser
Note: I'm using iTerm2 terminal for all this running on an Apple Macbook Pro having Monterey as the OS, powered by the Apple M1 Pro chip.
PS I tried to look for answers o'er the web and found this post but the answer doesn't seem to work for me.
As mentioned previously, this is due to the new M1 chips. I've been able to resolve the issue by using node v15. Could try nvm use 15 from the command line in your project directory.
One of our engineers facing an error with PhpStorm. Whenever he edits anything in PhpStorm, it gives the error related to PHP_Codesniffer:
phpcs: env: php: No such file or directory...
If open PHPCodeSniffer Inspection Settings, the below attached settings can be seen.
One more point, it was working fine until he upgrades his MacOS from Big Sur to Monterey 12.0.1. Not sure this OS upgrade affect the application settings. Presently he cannot work with PhpStorm.
Could you please have a look and let me know?
One more point, it was working fine until he upgrades his MacOS from Big Sur to Monterey 12.0.1. Not sure this OS upgrade affect the application settings. Presently he cannot work with PhpStorm.
I had the same issue. Monterey removes the installed PHP version, as Mac OS no longer ships with php installed.
Install php and it should work again.
In my case, using homebrew
brew install php#7.4
brew link php#7.4
I used all commands as in omnetpp installation guide (https://doc.omnetpp.org/omnetpp/InstallGuide.pdf) and also according to this answer. The $ make command worked and I also verified installation with:
$ cd samples/aloha
$ ./aloha
which started using qtenv.
but the problem is that the $ omnetpp command doest work with after printing
Starting the OMNeT++ IDE...
and eclipse IDE does not open.
is it possible to use this IDE in m1 Macs?
is there any alternate IDEs to workaround?
You did not specify what version of OMNeT++ you were trying to run. I'm assuming 5.6.
OMNeT++ 5.6 relies on the system-wide installed JRE to run the IDE. That may NOT be present on your system if you are running on ARM. OMNeT++ 6 and 5.7 comes with a built-in private JRE, so the IDE should work with those versions also in intel emulation mode.
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 created some AVDs in Android studio 3.0, but I can't launch them. I used the following command to launch them:
./emulator #Nexus_5X_API_17
logs:
emulator: WARNING: encryption is off
Hax is enabled
Hax ram_size 0x60000000
Failed to open vm 3
Failed to create HAX VM
No accelerator found.
failed to initialize HAX: Invalid argument
And when I reinstalled "Intel x86 Emulator Accelerator(HAXM installer)", the logs:
HAXM silent installation only supports macOS from 10.8 to 10.12 !
I don't know if it is related with this.
After that, I tried to install virtualBox to install genymotion, but I found when I clicks the virturalBox.dmg, the installer crashed.
Could you help me? thanks.
Use the new Hypervisor.Framework support instead of HAXM on macOS, as described in the comments of the issue filed for this:
Try running the emulator on Canary channel 26.1.x (API 25/26
recommended) with Hypervisor.Framework; put the text "HVF = on" in
~/.android/advancedFeatures.ini (create this file if it doesn't exist
already).
You can download and install the latest version haxm
https://github.com/intel/haxm/releases/latest
Following steps worked for me:
Uninstall HAXM from android studio SDK manager (Tools->Android->SDK Manager->SDK Tools then uninstall 'Intel x86 Emulator Accelerator (HAXM)' by unchecking it.
Download the HAXM version 6.2.1 zip file from Intel site https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager-end-user-license-agreement-macosx
Install the .dmg file
Restart your computer
Open your AVD having x86_64 image and it should work.
Go to your SDK installation directory, and manually run the HAXM installer. See step 4 on the page: https://developer.android.com/studio/run/emulator-acceleration.html#vm-mac
Technically HAXM is only officially supported up until MacOS 10.12 (Sierra) . Since MacOS 10.13 is still in beta, there may be a bug or incompatible API. If the wizard does no work, please file a bug here for the Android Emulator dev team to investigate further: https://source.android.com/source/report-bugs
Go to Tools->Android->SDK Manager, then in the SDK tools search for Intel x86 Emulator Accelerator (HAXM installer) and update to the latest version, restart and thats all!
On install/reinstall of HAXM you get:
HAXM silent installation only supports macOS from 10.8 to 10.12 !
From https://issuetracker.google.com/issues/62395878#comment44
in System Preferences > Security & Privacy > General, there was a message “System software from developer xxx was blocked from loading.” with an Allow button. Clicking the allow button enabled HAXM again
I just redownloaded the simulator and it worked.