GithubHelp home page GithubHelp logo

Comments (1)

nurdila88 avatar nurdila88 commented on August 14, 2024

[1917/2840] Compiling src/lora/model/lora-rs-net-device.cc
[1962/2840] Compiling src/aodv/test/bug-772.cc
../src/lora/model/lora-rs-net-device.cc: In member function ‘virtual void ns3::LoRaRsNetDevice::DoPrepareReception(uint32_t, uint32_t, uint32_t)’:
../src/lora/model/lora-rs-net-device.cc:147:49: error: no match for ‘operator<=’ (operand types are ‘ns3::Time’ and ‘int’)
147 | if (Simulator::GetDelayLeft(m_beaconTimeout) <= 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~
| | |
| ns3::Time int
In file included from ./ns3/object.h:27,
from ./ns3/lora-phy.h:25,
from ../src/lora/model/lora-rs-net-device.cc:20:
./ns3/ptr.h:479:6: note: candidate: ‘template bool ns3::operator<=(const ns3::Ptr&, const ns3::Ptr&)’
479 | bool operator <= (const Ptr &lhs, const Ptr &rhs)
| ^~~~~~~~
./ns3/ptr.h:479:6: note: template argument deduction/substitution failed:
../src/lora/model/lora-rs-net-device.cc:147:52: note: ‘ns3::Time’ is not derived from ‘const ns3::Ptr’
147 | if (Simulator::GetDelayLeft(m_beaconTimeout) <= 0)
| ^
In file included from ./ns3/nstime.h:27,
from ./ns3/lora-phy.h:26,
from ../src/lora/model/lora-rs-net-device.cc:20:
./ns3/int64x64.h:155:13: note: candidate: ‘bool ns3::operator<=(const ns3::int64x64_t&, const ns3::int64x64_t&)’
155 | inline bool operator <= (const int64x64_t & lhs, const int64x64_t & rhs)
| ^~~~~~~~
./ns3/int64x64.h:155:45: note: no known conversion for argument 1 from ‘ns3::Time’ to ‘const ns3::int64x64_t&’
155 | inline bool operator <= (const int64x64_t & lhs, const int64x64_t & rhs)
| ~~~~~~~~~~~~~~~~~~~^~~
In file included from ./ns3/lora-phy.h:26,
from ../src/lora/model/lora-rs-net-device.cc:20:
./ns3/nstime.h:842:1: note: candidate: ‘bool ns3::operator<=(const ns3::Time&, const ns3::Time&)’
842 | operator <= (const Time & lhs, const Time & rhs)
| ^~~~~~~~
./ns3/nstime.h:842:45: note: no known conversion for argument 2 from ‘int’ to ‘const ns3::Time&’
842 | operator <= (const Time & lhs, const Time & rhs)
| ~~~~~~~~~~~~~^~~
In file included from ./ns3/lora-phy.h:35,
from ../src/lora/model/lora-rs-net-device.cc:20:
./ns3/traced-value.h:361:6: note: candidate: ‘template<class T, class U> bool ns3::operator<=(const ns3::TracedValue&, const ns3::TracedValue&)’
361 | bool operator <= (const TracedValue &lhs, const TracedValue &rhs)
| ^~~~~~~~
./ns3/traced-value.h:361:6: note: template argument deduction/substitution failed:
../src/lora/model/lora-rs-net-device.cc:147:52: note: ‘ns3::Time’ is not derived from ‘const ns3::TracedValue’
147 | if (Simulator::GetDelayLeft(m_beaconTimeout) <= 0)
| ^
In file included from ./ns3/lora-phy.h:35,
from ../src/lora/model/lora-rs-net-device.cc:20:
./ns3/traced-value.h:368:6: note: candidate: ‘template<class T, class U> bool ns3::operator<=(const ns3::TracedValue&, const U&)’
368 | bool operator <= (const TracedValue &lhs, const U &rhs)
| ^~~~~~~~
./ns3/traced-value.h:368:6: note: template argument deduction/substitution failed:
../src/lora/model/lora-rs-net-device.cc:147:52: note: ‘ns3::Time’ is not derived from ‘const ns3::TracedValue’
147 | if (Simulator::GetDelayLeft(m_beaconTimeout) <= 0)
| ^
In file included from ./ns3/lora-phy.h:35,
from ../src/lora/model/lora-rs-net-device.cc:20:
./ns3/traced-value.h:375:6: note: candidate: ‘template<class T, class U> bool ns3::operator<=(const U&, const ns3::TracedValue&)’
375 | bool operator <= (const U &lhs, const TracedValue &rhs)
| ^~~~~~~~
./ns3/traced-value.h:375:6: note: template argument deduction/substitution failed:
../src/lora/model/lora-rs-net-device.cc:147:52: note: mismatched types ‘const ns3::TracedValue’ and ‘int’
147 | if (Simulator::GetDelayLeft(m_beaconTimeout) <= 0)

from lora-ns3.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.