You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
i got some error while i build the project.
I use Omnet++6 in Windows .
Can anybody help me for debug?
In file included from routing/gpsr/SP_GPSR.cc:21:
routing/gpsr/SP_GPSR.h:30:31: error: 'createGpsrOption' marked 'override' but does not override any member functions
virtual inet::GpsrOption *createGpsrOption(inet::L3Address destination) override;
^
routing/gpsr/SP_GPSR.h:31:29: error: 'findGreedyRoutingNextHop' marked 'override' but does not override any member functions
virtual inet::L3Address findGreedyRoutingNextHop(const inet::L3Address& destination, inet::GpsrOption *gpsrOption) override;
^
routing/gpsr/SP_GPSR.h:32:29: error: 'findPerimeterRoutingNextHop' marked 'override' but does not override any member functions
virtual inet::L3Address findPerimeterRoutingNextHop(const inet::L3Address& destination, inet::GpsrOption *gpsrOption) override;
^
routing/gpsr/SP_GPSR.cc:32:28: error: 'createGpsrOption' is a private member of 'inet::Gpsr'
return inet::Gpsr::createGpsrOption(destination);
^
../../inet/src/inet/routing/gpsr/Gpsr.h:110:17: note: declared private here
GpsrOption *createGpsrOption(L3Address destination);
^
routing/gpsr/SP_GPSR.cc:37:40: error: 'lookupPositionInGlobalRegistry' is a private member of 'inet::Gpsr'
gpsrOption->setDestinationPosition(lookupPositionInGlobalRegistry(destination));
^
../../inet/src/inet/routing/gpsr/Gpsr.h:126:11: note: declared private here
Coord lookupPositionInGlobalRegistry(const L3Address& address) const;
^
routing/gpsr/SP_GPSR.cc:39:50: error: 'mobility' is a private member of 'inet::Gpsr'
gpsrOption->setPerimeterRoutingStartPosition(mobility->getCurrentPosition()); // for straight path
^
../../inet/src/inet/routing/gpsr/Gpsr.h:61:16: note: declared private here
IMobility *mobility = nullptr;
^
routing/gpsr/SP_GPSR.cc:40:27: error: 'computeOptionLength' is a private member of 'inet::Gpsr'
gpsrOption->setLength(computeOptionLength(gpsrOption));
^
../../inet/src/inet/routing/gpsr/Gpsr.h:111:9: note: declared private here
int computeOptionLength(GpsrOption *gpsrOption);
^
routing/gpsr/SP_GPSR.cc:47:28: error: 'findGreedyRoutingNextHop' is a private member of 'inet::Gpsr'
return inet::Gpsr::findGreedyRoutingNextHop(destination, gpsrOption);
^
../../inet/src/inet/routing/gpsr/Gpsr.h:149:15: note: declared private here
L3Address findGreedyRoutingNextHop(const L3Address& destination, GpsrOption *gpsrOption);
^
routing/gpsr/SP_GPSR.cc:52:29: error: 'getSelfAddress' is a private member of 'inet::Gpsr'
L3Address selfAddress = getSelfAddress();
^
../../inet/src/inet/routing/gpsr/Gpsr.h:138:15: note: declared private here
L3Address getSelfAddress() const;
^
routing/gpsr/SP_GPSR.cc:53:26: error: 'mobility' is a private member of 'inet::Gpsr'
Coord selfPosition = mobility->getCurrentPosition();
^
../../inet/src/inet/routing/gpsr/Gpsr.h:61:16: note: declared private here
IMobility *mobility = nullptr;
^
routing/gpsr/SP_GPSR.cc:63:48: error: 'neighborPositionTable' is a private member of 'inet::Gpsr'
std::vector neighborAddresses = neighborPositionTable.getAddresses();
^
../../inet/src/inet/routing/gpsr/Gpsr.h:75:19: note: declared private here
PositionTable neighborPositionTable;
^
routing/gpsr/SP_GPSR.cc:70:19: error: 'neighborPositionTable' is a private member of 'inet::Gpsr'
Coord p = neighborPositionTable.getPosition(neighborAddress);
^
../../inet/src/inet/routing/gpsr/Gpsr.h:75:19: note: declared private here
PositionTable neighborPositionTable;
^
routing/gpsr/SP_GPSR.cc:105:28: error: 'findPerimeterRoutingNextHop' is a private member of 'inet::Gpsr'
return inet::Gpsr::findPerimeterRoutingNextHop(destination, gpsrOption);
^
../../inet/src/inet/routing/gpsr/Gpsr.h:150:15: note: declared private here
L3Address findPerimeterRoutingNextHop(const L3Address& destination, GpsrOption *gpsrOption);
^
routing/gpsr/SP_GPSR.cc:110:29: error: 'getSelfAddress' is a private member of 'inet::Gpsr'
L3Address selfAddress = getSelfAddress();
^
../../inet/src/inet/routing/gpsr/Gpsr.h:138:15: note: declared private here
L3Address getSelfAddress() const;
^
routing/gpsr/SP_GPSR.cc:111:26: error: 'mobility' is a private member of 'inet::Gpsr'
Coord selfPosition = mobility->getCurrentPosition();
^
../../inet/src/inet/routing/gpsr/Gpsr.h:61:16: note: declared private here
IMobility *mobility = nullptr;
^
routing/gpsr/SP_GPSR.cc:130:70: error: 'getVectorAngle' is a private member of 'inet::Gpsr'
auto neighborAngle = senderNeighborAddress.isUnspecified() ? getVectorAngle(destinationPosition - mobility->getCurrentPosition()) : getNeighborAngle(senderNeighborAddress);
^
../../inet/src/inet/routing/gpsr/Gpsr.h:133:12: note: declared private here
double getVectorAngle(Coord vector) const;
^
routing/gpsr/SP_GPSR.cc:130:107: error: 'mobility' is a private member of 'inet::Gpsr'
auto neighborAngle = senderNeighborAddress.isUnspecified() ? getVectorAngle(destinationPosition - mobility->getCurrentPosition()) : getNeighborAngle(senderNeighborAddress);
^
../../inet/src/inet/routing/gpsr/Gpsr.h:61:16: note: declared private here
IMobility *mobility = nullptr;
^
routing/gpsr/SP_GPSR.cc:130:141: error: 'getNeighborAngle' is a private member of 'inet::Gpsr'
auto neighborAngle = senderNeighborAddress.isUnspecified() ? getVectorAngle(destinationPosition - mobility->getCurrentPosition()) : getNeighborAngle(senderNeighborAddress);
^
../../inet/src/inet/routing/gpsr/Gpsr.h:134:12: note: declared private here
double getNeighborAngle(const L3Address& address) const;
^
routing/gpsr/SP_GPSR.cc:132:52: error: 'getPlanarNeighborsCounterClockwise' is a private member of 'inet::Gpsr'
std::vector neighborAddresses = getPlanarNeighborsCounterClockwise(neighborAngle);
^
../../inet/src/inet/routing/gpsr/Gpsr.h:145:28: note: declared private here
std::vector getPlanarNeighborsCounterClockwise(double startAngle) const;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[1]: *** [Makefile:162: ../out/clang-debug/src/routing/gpsr/SP_GPSR.o] Error 1
make[1]: Leaving directory '/c/Users/Kevin/Desktop/omnetpp-6.0/workspace/inet-dsme/src'
make: *** [Makefile:2: all] Error 2
"make MODE=debug all" terminated with exit code 2. Build might be incomplete.
The text was updated successfully, but these errors were encountered:
Hi,
i got some error while i build the project.
I use Omnet++6 in Windows .
Can anybody help me for debug?
In file included from routing/gpsr/SP_GPSR.cc:21:
routing/gpsr/SP_GPSR.h:30:31: error: 'createGpsrOption' marked 'override' but does not override any member functions
virtual inet::GpsrOption *createGpsrOption(inet::L3Address destination) override;
^
routing/gpsr/SP_GPSR.h:31:29: error: 'findGreedyRoutingNextHop' marked 'override' but does not override any member functions
virtual inet::L3Address findGreedyRoutingNextHop(const inet::L3Address& destination, inet::GpsrOption *gpsrOption) override;
^
routing/gpsr/SP_GPSR.h:32:29: error: 'findPerimeterRoutingNextHop' marked 'override' but does not override any member functions
virtual inet::L3Address findPerimeterRoutingNextHop(const inet::L3Address& destination, inet::GpsrOption *gpsrOption) override;
^
routing/gpsr/SP_GPSR.cc:32:28: error: 'createGpsrOption' is a private member of 'inet::Gpsr'
return inet::Gpsr::createGpsrOption(destination);
^
../../inet/src/inet/routing/gpsr/Gpsr.h:110:17: note: declared private here
GpsrOption *createGpsrOption(L3Address destination);
^
routing/gpsr/SP_GPSR.cc:37:40: error: 'lookupPositionInGlobalRegistry' is a private member of 'inet::Gpsr'
gpsrOption->setDestinationPosition(lookupPositionInGlobalRegistry(destination));
^
../../inet/src/inet/routing/gpsr/Gpsr.h:126:11: note: declared private here
Coord lookupPositionInGlobalRegistry(const L3Address& address) const;
^
routing/gpsr/SP_GPSR.cc:39:50: error: 'mobility' is a private member of 'inet::Gpsr'
gpsrOption->setPerimeterRoutingStartPosition(mobility->getCurrentPosition()); // for straight path
^
../../inet/src/inet/routing/gpsr/Gpsr.h:61:16: note: declared private here
IMobility *mobility = nullptr;
^
routing/gpsr/SP_GPSR.cc:40:27: error: 'computeOptionLength' is a private member of 'inet::Gpsr'
gpsrOption->setLength(computeOptionLength(gpsrOption));
^
../../inet/src/inet/routing/gpsr/Gpsr.h:111:9: note: declared private here
int computeOptionLength(GpsrOption *gpsrOption);
^
routing/gpsr/SP_GPSR.cc:47:28: error: 'findGreedyRoutingNextHop' is a private member of 'inet::Gpsr'
return inet::Gpsr::findGreedyRoutingNextHop(destination, gpsrOption);
^
../../inet/src/inet/routing/gpsr/Gpsr.h:149:15: note: declared private here
L3Address findGreedyRoutingNextHop(const L3Address& destination, GpsrOption *gpsrOption);
^
routing/gpsr/SP_GPSR.cc:52:29: error: 'getSelfAddress' is a private member of 'inet::Gpsr'
L3Address selfAddress = getSelfAddress();
^
../../inet/src/inet/routing/gpsr/Gpsr.h:138:15: note: declared private here
L3Address getSelfAddress() const;
^
routing/gpsr/SP_GPSR.cc:53:26: error: 'mobility' is a private member of 'inet::Gpsr'
Coord selfPosition = mobility->getCurrentPosition();
^
../../inet/src/inet/routing/gpsr/Gpsr.h:61:16: note: declared private here
IMobility *mobility = nullptr;
^
routing/gpsr/SP_GPSR.cc:63:48: error: 'neighborPositionTable' is a private member of 'inet::Gpsr'
std::vector neighborAddresses = neighborPositionTable.getAddresses();
^
../../inet/src/inet/routing/gpsr/Gpsr.h:75:19: note: declared private here
PositionTable neighborPositionTable;
^
routing/gpsr/SP_GPSR.cc:70:19: error: 'neighborPositionTable' is a private member of 'inet::Gpsr'
Coord p = neighborPositionTable.getPosition(neighborAddress);
^
../../inet/src/inet/routing/gpsr/Gpsr.h:75:19: note: declared private here
PositionTable neighborPositionTable;
^
routing/gpsr/SP_GPSR.cc:105:28: error: 'findPerimeterRoutingNextHop' is a private member of 'inet::Gpsr'
return inet::Gpsr::findPerimeterRoutingNextHop(destination, gpsrOption);
^
../../inet/src/inet/routing/gpsr/Gpsr.h:150:15: note: declared private here
L3Address findPerimeterRoutingNextHop(const L3Address& destination, GpsrOption *gpsrOption);
^
routing/gpsr/SP_GPSR.cc:110:29: error: 'getSelfAddress' is a private member of 'inet::Gpsr'
L3Address selfAddress = getSelfAddress();
^
../../inet/src/inet/routing/gpsr/Gpsr.h:138:15: note: declared private here
L3Address getSelfAddress() const;
^
routing/gpsr/SP_GPSR.cc:111:26: error: 'mobility' is a private member of 'inet::Gpsr'
Coord selfPosition = mobility->getCurrentPosition();
^
../../inet/src/inet/routing/gpsr/Gpsr.h:61:16: note: declared private here
IMobility *mobility = nullptr;
^
routing/gpsr/SP_GPSR.cc:130:70: error: 'getVectorAngle' is a private member of 'inet::Gpsr'
auto neighborAngle = senderNeighborAddress.isUnspecified() ? getVectorAngle(destinationPosition - mobility->getCurrentPosition()) : getNeighborAngle(senderNeighborAddress);
^
../../inet/src/inet/routing/gpsr/Gpsr.h:133:12: note: declared private here
double getVectorAngle(Coord vector) const;
^
routing/gpsr/SP_GPSR.cc:130:107: error: 'mobility' is a private member of 'inet::Gpsr'
auto neighborAngle = senderNeighborAddress.isUnspecified() ? getVectorAngle(destinationPosition - mobility->getCurrentPosition()) : getNeighborAngle(senderNeighborAddress);
^
../../inet/src/inet/routing/gpsr/Gpsr.h:61:16: note: declared private here
IMobility *mobility = nullptr;
^
routing/gpsr/SP_GPSR.cc:130:141: error: 'getNeighborAngle' is a private member of 'inet::Gpsr'
auto neighborAngle = senderNeighborAddress.isUnspecified() ? getVectorAngle(destinationPosition - mobility->getCurrentPosition()) : getNeighborAngle(senderNeighborAddress);
^
../../inet/src/inet/routing/gpsr/Gpsr.h:134:12: note: declared private here
double getNeighborAngle(const L3Address& address) const;
^
routing/gpsr/SP_GPSR.cc:132:52: error: 'getPlanarNeighborsCounterClockwise' is a private member of 'inet::Gpsr'
std::vector neighborAddresses = getPlanarNeighborsCounterClockwise(neighborAngle);
^
../../inet/src/inet/routing/gpsr/Gpsr.h:145:28: note: declared private here
std::vector getPlanarNeighborsCounterClockwise(double startAngle) const;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[1]: *** [Makefile:162: ../out/clang-debug/src/routing/gpsr/SP_GPSR.o] Error 1
make[1]: Leaving directory '/c/Users/Kevin/Desktop/omnetpp-6.0/workspace/inet-dsme/src'
make: *** [Makefile:2: all] Error 2
"make MODE=debug all" terminated with exit code 2. Build might be incomplete.
The text was updated successfully, but these errors were encountered: