Comments (31)
All sources for FLoRa, including sources for ADR mechanism are included in git repo. Check "src" directory.
from flora.
Hi @ierms,
I've successfully run FLoRa with OMNet++ 5.2.1 and INET 3.6.4, with Ubuntu and Debian. Give it a try using these specific versions.
Cheers!
from flora.
Could you provide more information what is your environment? Do you run it on Windows?
from flora.
yes, i run it on windows 10.
OmNet and INET version are same as your description said.
i tried again but, below error occurred.
20:52:49 **** Build of configuration gcc-debug for project flora ****
make MODE=debug all
src/LoRa/LoRaGWMac.cc
In file included from src/LoRa/LoRaGWMac.cc:16:0:
src/LoRa/LoRaGWMac.h:19:10: fatal error: inet/physicallayer/contract/packetlevel/IRadio.h: No such file or directory
#include "inet/physicallayer/contract/packetlevel/IRadio.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:155: out/gcc-debug//src/LoRa/LoRaGWMac.o] Error 1
20:52:49 Build Finished (took 408ms)
from flora.
Right now, we face some problems with compatibility with clang. But the tool can be compiled with gcc. Both toolchains are provided with omnet, so you have to just change default compiler in the configuration file and rebuild environment again.
You can change it in the configure.user file, there is a line:
PREFER_CLANG=yes
If you change it to no, and build the environment again (compile omnet + inet), it will works.
Please let me know if you solve it.
from flora.
I did after modifying it to PREFFR_CLANG=no, however same error above occurs again.
inet is compiled with no error.
only FloRa has compiling issue.
what is this part of error message from above?
src/LoRa/LoRaGWMac.h:19:10: fatal error: inet/physicallayer/contract/packetlevel/IRadio.h: No such file or directory
#include "inet/physicallayer/contract/packetlevel/IRadio.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
and there are folder "inet" and "flora-0.7" and 2 folder (Paxheader, flora) is in "flora-0.7".
could i know where should these folders be placed?
(i already placed them at "samples" directory)
from flora.
Ok, so probably you are facing problems with correct directory structures - we are solving both problems right now. Could you try source from this branch?: https://github.com/mariuszslabicki/flora/tree/testmakefile
In the main version there is a problem with executable name. And this problem is solved in this branch, but it is not moved to the main branch.
The problem with clang (as I mentioned above) can be solved with changing to gcc. If you did that that is fine, just please make sure that you recompiled omnet and inet after this change - as I remember, you have to recompile the whole environment.
Feel free to ask further.
from flora.
thank you, It works.
However, how can i simulate ADR mechanism?
do you include the sources to FLoRa too?
from flora.
I have an error when compiling flora could you help me, I am using windows 10
n file included from LoRa/LoRaGWMac.cc:16:
LoRa/LoRaGWMac.h:19:10: fatal error: 'inet/physicallayer/contract/packetlevel/IRadio.h' file not found
#include "inet/physicallayer/contract/packetlevel/IRadio.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [Makefile:146: ../out/clang-release/src/LoRa/LoRaGWMac.o] Error 1
make[1]: Leaving directory '/c/Users/Usuario/Documents/Programas/OMNET++/omnetpp-5.6/samples/flora/src'
make: *** [Makefile:2: all] Error 2
"make MODE=release all" terminated with exit code 2. Build might be incomplete.
21:24:06 Build Failed. 3 errors, 0 warnings. (took 2s.899ms)
from flora.
Which operating system are you using?
from flora.
windows 10
from flora.
Well, I cannot help with that as I don't have an access to a machine with it. In the past we have some issues with Windows. I can just recommend to check if software versions are right, and maybe previous posts in this thread can suggest a solution.
from flora.
In which operating system it is recommended to install it, the solution shown in the following link is down https://github.com/mariuszslabicki/flora/tree/testmakefile
from flora.
We have tested it with Ubuntu. I was also using it in mac os x.
from flora.
I think that "testmakefile" was an old test branch that then we have pulled to the main branch.
from flora.
I have tried the ubnet version of omnet ++ 5.2.1 on ubuntu and it gives me an error when trying to download inet as follows An internal error occurred during: "Download project descriptors".
Invalid thread access
from flora.
You can download inet from the inet webpage and the add it to omnet.
from flora.
tambien lo intente de esa forma y tengo error OMNeT++ Discrete Event Simulation (C) 1992-2017 Andras Varga, OpenSim Ltd.
Version: 5.2.1, build: 171211-da8f6bc, edition: Academic Public License -- NOT FOR COMMERCIAL USE
See the license for distribution terms and warranty disclaimer
<!> Error: Cannot load library '../../src//libINET_dbg.so': ../../src//libINET_dbg.so: cannot open shared object file: No such file or directory
End.
from flora.
Sorry, I am not supporting omnet and inet in general. You can check in omnet and inet docs.
from flora.
497/5000
I already installed in ubuntu and I get an error when executing the LoRaNetworkTest.ini example
The error shows that the file Flora.exe cannot find any help?
Exception occurred executing command line.
Cannot run program "C: / Users / User / Documents / Programs / OMNET ++ / omnetpp-5.6 / samples / flora / src / flora.exe" (in directory "C: \ Users \ User \ Documents \ Programs \ OMNET ++ \ omnetpp- 5.6 \ samples \ flora \ simulations "): CreateProcess error = 2, The system cannot find the specified file
from flora.
Yes. The system cannot find the specified file.
from flora.
Mariuszslabicki / Is there any way to fix the error
from flora.
Hello, I am trying to start a simulation project with Flora. I have instaalled Omnet 5.4.1 which comes with INET and the flora project in the samples directory. While trying to compile the first example I get the following error. Would you please help me?
09:21:52 **** Incremental Build of configuration gcc-release for project flora ****
make MODE=release all
make[1]: Entering directory '/home/rodrigo/omnetpp-5.4.1/samples/flora/src'
LoRa/LoRaGWMac.cc
In file included from LoRa/LoRaGWMac.cc:16:0:
LoRa/LoRaGWMac.h:19:10: fatal error: inet/physicallayer/contract/packetlevel/IRadio.h: No such file or directory
Makefile:144: recipe for target '../out/gcc-release/src/LoRa/LoRaGWMac.o' failed
#include "inet/physicallayer/contract/packetlevel/IRadio.h"
make[1]: Leaving directory '/home/rodrigo/omnetpp-5.4.1/samples/flora/src'
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Makefile:2: recipe for target 'all' failed
compilation terminated.
make[1]: *** [../out/gcc-release/src/LoRa/LoRaGWMac.o] Error 1
make: *** [all] Error 2
09:21:52 Build Finished (took 240ms)
from flora.
from flora.
May I ask you what is the specific error you get?
from flora.
Hello,
I installed omnetpp5.6.3+inet 4.2.1 + Flora in windows 10.
I don't have problem with Inet I have a problem with Flora. It gives me many errors such as::
'analogModelType': no such parameter LoRaMedium.ned /flora/src/LoRaPhy
'antennaType': no such parameter LoRaGWRadio.ned /flora/src/LoRa
'antennaType': no such parameter LoRaRadio.ned /flora/src/LoRa
'carrierFrequency': no such parameter LoRaGWRadio.ned /flora/src/LoRa
'carrierFrequency': no such parameter LoRaRadio.ned /flora/src/LoRa
'IPv4NetworkConfigurator': no such module type package.ned /flora/simulations
'IUDP': no such module interface type LoRaGW.ned /flora/src/LoraNode
'IWiredNic': no such module interface type LoRaGW.ned /flora/src/LoraNode
'pathLossType': no such parameter LoRaMedium.ned /flora/src/LoRaPhy
'propagationType': no such parameter LoRaMedium.ned /flora/src/LoRaPhy
'receiverType': no such parameter LoRaGWRadio.ned /flora/src/LoRa
'receiverType': no such parameter LoRaRadio.ned /flora/src/LoRa
'transmitterType': no such parameter LoRaGWRadio.ned /flora/src/LoRa
'transmitterType': no such parameter LoRaRadio.ned /flora/src/LoRa
a simple module cannot extend a compound module ('CsmaCaMac') LoRaMac.ned /flora/src/LoRa
cannot assign parameters of a submodule of unknown type package.ned /flora/simulations
How can resolve this problem please?
from flora.
How can resolve this problem please?
Please check these comments on another issue:
Those are OS + OMNeT + INET + FLoRa known to work.
from flora.
Hi there,
I think its better you follow following step in order to get flora
- Download virtual box
- Install ubuntu 16.02lts
- Install omnett 5.2.1
- Install inet 3.6.3
- And build flora
from flora.
I have already ubuntu 20.04 installed but I cannot install INET and Flora. It generates errors when I build project.
On windows 10 I installed omnetpp5.2.1 but inet 3.6.3 and Flora also doesn't work.
What I must do please?
from flora.
I have already ubuntu 20.04 installed but I cannot install INET and Flora. It generates errors when I build project.
On windows 10 I installed omnetpp5.2.1 but inet 3.6.3 and Flora also doesn't work.
What I must do please?
It will not work on ubuntu 20.04 nor windows 10 as there will be so many downgrade need to be done with the java etc.
Use ubuntu 16.04LTS, its seamless.
from flora.
Hello everyone!
I'm trying to build the project as well. I'm using INET 4.3.2 and Omnet++ 6.0pre11.
The flora project is already referencing to INET and I also tried to put the line "PREFER_CLANG=no" in the config.user file.
I'm still meeting this problem and I'm running out of ideas:
make MODE=debug all
make[1]: Entering directory '/c/Users/bidule/Downloads/omnetpp-6.0pre11/samples/flora/src'
Creating shared library: ../out/clang-debug/src/libflora_dbg.dll
lld-link: error: duplicate symbol: inet::SharingTagSet::setTag(int, inet::IntrusivePtr<inet::TagBase const> const&)
defined at ../../inet4.3/src\inet/common/packet/tag\SharingTagSet.h:163
../out/clang-debug/src/LoRa/LoRaGWMac.o
defined at libINET_dbg.dll
lld-link: error: duplicate symbol: inet::SharingRegionTagSet::operator=(inet::SharingRegionTagSet const&)
defined at ../../inet4.3/src\inet/common/packet/tag\SharingRegionTagSet.h:283
../out/clang-debug/src/LoRa/LoRaMacFrame_m.o
defined at libINET_dbg.dll
lld-link: error: duplicate symbol: inet::OperationalMixinomnetpp::cSimpleModule::numInitStages() const
defined at ../../inet4.3/src\inet/common/lifecycle\OperationalMixin.h:51
../out/clang-debug/src/LoRa/LoRaGWMac.o
defined at libINET_dbg.dll
lld-link: error: duplicate symbol: inet::OperationalMixinomnetpp::cSimpleModule::isUp() const
defined at ../../inet4.3/src\inet/common/lifecycle\OperationalMixin.h:76
../out/clang-debug/src/LoRa/LoRaGWMac.o
defined at libINET_dbg.dll
lld-link: error: duplicate symbol: inet::OperationalMixinomnetpp::cSimpleModule::isDown() const
defined at ../../inet4.3/src\inet/common/lifecycle\OperationalMixin.h:77
../out/clang-debug/src/LoRa/LoRaGWMac.o
defined at libINET_dbg.dll
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [Makefile:144: ../out/clang-debug/src/libflora_dbg.dll] Error 1
make[1]: Leaving directory '/c/Users/bidule/Downloads/omnetpp-6.0pre11/samples/flora/src'
make: *** [Makefile:5: all] Error 2
"make MODE=debug all" terminated with exit code 2. Build might be incomplete.
If someone has an idea I would be really greatful :)
from flora.
Related Issues (20)
- Is there any difference with FLoRa in inetmanet-4.x?
- ADR doesn't seem to work on the network server HOT 3
- Deployment of nodes in a circle HOT 1
- Error while building project - [Makefile:145: ../out/clang-debug/src/libflora_dbg.dll] Error 1 HOT 1
- Error building in OMNET++6.0 INET 4.3.9 HOT 5
- New version. HOT 4
- Error in simulating FLORA HOT 1
- simulation can't complete HOT 4
- Linking Issue Win11 HOT 1
- Implementation of NetworkServerApp
- Error while chunk deserialization for sampleMeasurement from networkServerApp HOT 1
- How to change communicationRange? HOT 1
- Problem about energy of node
- Multi Channel Gateway HOT 1
- Changing the Code Rate in LoRaWan
- Modifying the data being sent.
- issue with directory missing, cant build flora
- Version Migration to INET 4.5.2
- BER calculation
- Integration with DeLoRaN
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flora.