I was trying for building this openflow project in OMNeT++ and INET framework and faced with the problem. My setup:
Mac OS Big Sur 11.5.2;
OMNet++ 5.6.2;
INET framework 3.6.6.
Openflow build toolchain setting is default.
INET building was complete, but openflow building crashes with this error:
./openflow/openflow/controller/Switch_Info.h:8:17: error: expected namespace name
using namespace __gnu_cxx;
On Win 10 via bootcamp with the same setup openflow building was success.
What am I doing wrong with that?
Resolved the probelem by using Docker container engine and XQuartz.
BTW it's working when using namespace __gnu_cxx; line is commented in "Switch_Info.h", "LLDPMibGraph.h", "LLDPMib.h", "Flow_Table.h", "Flow_Table_Entry.h" files 😅
Related
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.
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
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 was using an old version of veins in my work (version 4.5) with omnet++ version 5 and SUMO 0.29.0. It was working without problems.
now I want to upgrade to a newer version of veins. I tried both 4.7 and 4.7.1 with the same versions of SUMO and Omnet++. while building the project I get the following error:
Error refreshing Makefiles.
Reason:
Cannot parse /veins/.oppbuildspec
Details:
/veins/.oppbuildspec: unrecognized option: --meta:export-include-path
/veins/.oppbuildspec: unrecognized option: --meta:export-include-path
I don't know how to fix the error. I removed the older veins project from the IDE and the workspace.
I am working on Windows 8.
OMNeT++ 5.0 is too old for Veins 4.7.1. See the download page of Veins for a list of which software versions of OMNeT++ and SUMO each version of Veins is compatible with.
For example,
- Veins 4.7.1 needs OMNeT++ 5.3 and SUMO 0.32.0.
- Veins 5 alpha 1 needs OMNeT++ 5.4.1 and SUMO 1.0.0.
I am using OMNeT++ 5.4.1, Veins 4.7.1 and INET 4.0.0.
When I am trying to build the veins_inet subproject it gives the following errors
You are using incompatible software versions.
Veins 4.7.1 works with INET 3.6.0 (not INET 4.0.0).
A full list of compatible software versions is available on the download page of the Veins website.