GithubHelp home page GithubHelp logo

can't build Flora about flora HOT 8 CLOSED

florasim avatar florasim commented on August 11, 2024
can't build Flora

from flora.

Comments (8)

abdelrahman960 avatar abdelrahman960 commented on August 11, 2024 1

When I try to change something like version or settings other error comes out
latest one is :

defined at ../out/clang-release/src/LoRa/LoRaGWMac.o
defined at libINET.dll

lld-link: error: duplicate symbol: inet::OperationalMixinomnetpp::cSimpleModule::isUp() const

defined at ../out/clang-release/src/LoRa/LoRaGWMac.o
defined at libINET.dll

lld-link: error: duplicate symbol: inet::OperationalMixinomnetpp::cSimpleModule::isDown() const

defined at ../out/clang-release/src/LoRa/LoRaGWMac.o
defined at libINET.dll
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [Makefile:144: ../out/clang-release/src/libflora.dll] Error 1
make[1]: Leaving directory '/c/Users/aabde/Desktop/Last year/GP/simulation package/flora/src'
make: *** [Makefile:5: all] Error 2
"make MODE=release all" terminated with exit code 2. Build might be incomplete.

10:07:35 Build Failed. 2 errors, 0 warnings. (took 18s.914ms)

from flora.

mariuszslabicki avatar mariuszslabicki commented on August 11, 2024

Have you added inet4.3 as a reference to FLoRa?

from flora.

abdelrahman960 avatar abdelrahman960 commented on August 11, 2024

Have you added inet4.3 as a reference to FLoRa?

Yes. I did

from flora.

abdelrahman960 avatar abdelrahman960 commented on August 11, 2024

but now I have a different error :

make MODE=release all
make[1]: Entering directory '/c/Downloads/omnetpp-6.0pre10/samples/flora/src'
LoRa/LoRaGWMac.cc
In file included from LoRa/LoRaGWMac.cc:16:
LoRa/LoRaGWMac.h:19:10: fatal error: inet/common/INETDefs.h: No such file or directory
19 | #include "inet/common/INETDefs.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: Leaving directory '/c/Downloads/omnetpp-6.0pre10/samples/flora/src'
make[1]: *** [Makefile:151: ../out/gcc-release/src/LoRa/LoRaGWMac.o] Error 1
make: *** [Makefile:5: all] Error 2
"make MODE=release all" terminated with exit code 2. Build might be incomplete.

23:39:51 Build Failed. 3 errors, 0 warnings. (took 4s.298ms)

from flora.

speedyT0RT0ISE avatar speedyT0RT0ISE commented on August 11, 2024

I dont suppose you've fixed this. Just got the exact same issue.

make MODE=release all
make[1]: Entering directory '/c/Users/alex/omnet_ws/flora/src'
LoRa/LoRaGWMac.cc
In file included from LoRa/LoRaGWMac.cc:16:
LoRa/LoRaGWMac.h:19:10: fatal error: inet/common/INETDefs.h: No such file or directory
19 | #include "inet/common/INETDefs.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:151: ../out/gcc-release/src/LoRa/LoRaGWMac.o] Error 1
make[1]: Leaving directory '/c/Users/alex/omnet_ws/flora/src'
make: *** [Makefile:5: all] Error 2
"make MODE=release all" terminated with exit code 2. Build might be incomplete.

13:08:36 Build Failed. 3 errors, 0 warnings. (took 578ms)

from flora.

mariuszslabicki avatar mariuszslabicki commented on August 11, 2024

I am not sure from this error msg, have you been able to compile inet?

from flora.

husnazabidin avatar husnazabidin commented on August 11, 2024

Hi,

I installed omnetpp 6.0 pre 11 with inet-4.3.2 on ubuntu 20.04 LTS. I made changes in configure.user as suggested by apd1999 in #39 . I have no problem in building the inet-4.3.2 but I still have error when building the flora. It says that

/src/LoRaPhy/LoRaAnalogModel.cc:16:10: fatal error: LoRaPhy/LoRaAnalogModel.h: No such file or directory

Can anyone help me with this? Thank you.

from flora.

abdelrahman960 avatar abdelrahman960 commented on August 11, 2024

doesn't work on windows so far but did on ubuntu 20

from flora.

Related Issues (20)

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.