Я настроил O mnet 5.4.1 с INET 3.6.6. Затем я импортирую OpenFlow по этой ссылке (https://github.com/inet-framework/openflow)
Когда я собираю файлы, он показывает эту ошибку (см. Pi c):
In file included from openflow/controllerApps/AbstractControllerApp.cc:1:
In file included from ./openflow/controllerApps/AbstractControllerApp.h:7:
In file included from ./openflow/openflow/controller/OF_Controller.h:9:
./openflow/openflow/controller/Switch_Info.h:8:17: error: expected namespace name
using namespace __gnu_cxx;
^
In file included from openflow/controllerApps/LearningSwitch.cc:1:
In file included from ./openflow/controllerApps/LearningSwitch.h:6:
In file included from ./openflow/controllerApps/AbstractControllerApp.h:7:
In file included from ./openflow/openflow/controller/OF_Controller.h:9:
./openflow/openflow/controller/Switch_Info.h:8:17: error: expected namespace name
using namespace __gnu_cxx;
^
In file included from openflow/controllerApps/LLDPBalancedMinHop.cc:1:
In file included from ./openflow/controllerApps/LLDPBalancedMinHop.h:6:
In file included from ./openflow/controllerApps/AbstractControllerApp.h:7:
In file included from ./openflow/openflow/controller/OF_Controller.h:9:
./openflow/openflow/controller/Switch_Info.h:8:17: error: expected namespace name
using namespace __gnu_cxx;
^
In file included from openflow/controllerApps/LLDPAgent.cc:1:
In file included from ./openflow/controllerApps/LLDPAgent.h:6:
In file included from ./openflow/controllerApps/AbstractControllerApp.h:7:
In file included from ./openflow/openflow/controller/OF_Controller.h:9:
./openflow/openflow/controller/Switch_Info.h:8:17: error: expected namespace name
using namespace __gnu_cxx;