Unipisa / Simu5G

Simu5G - 5G NR and LTE/LTE-A user-plane simulation model for OMNeT++ & INET
https://simu5g.org
Other
142 stars 81 forks source link

Impossible to build #131

Closed Dead0utside closed 1 year ago

Dead0utside commented 1 year ago

error: unable to load '../out/clang-release/src/libsimu5g.dll.a': No such file or directory make[1]: [Makefile:409: ../out/clang-release/src/libsimu5g.dll] Error 1 make[1]: Leaving directory '.../omnet++/omnetpp-6.0.1/samples/Simu5G-1.2.1/Simu5G-1.2.1/src' make: [Makefile:2: all] Error 2 "make MODE=release all" terminated with exit code 2. Build might be incomplete.

The problem has been reported multiple times but none of the existing solutions help. I'm using windows 10 and the latest versions of omnet++, inet and simu5g

Jiacheng188 commented 1 year ago

Try to use the master branch, this may help.

Dead0utside commented 1 year ago

@Jiacheng188 thanks for your answer but I am using it already

Jiacheng188 commented 1 year ago

But why the name is "Simu5G-1.2.1/Simu5G-1.2.1" rather than "Simu5G-master", have you changed the name? (I am not sure if the name matters) I have build simu5g both in windows 10 and ubuntu 20.04 with Simu5G-master under the samples directory.

Dead0utside commented 1 year ago

@Jiacheng188 ATM I am using the version from simu5g's website (which is the same as master branch apparently). I have tried using master branch too but the Issue was the same. Did you import the simu5g-master through git import in omnet++ or did you download the master branch and import it as an existing project?

Jiacheng188 commented 1 year ago

I download the master branch and import it as an existing project.

Dead0utside commented 1 year ago

That's what I did exactly and it doesn't work. Though on inet folder as well as on simu5g folder in omnet++ there is a yellow triangle which apparently insicates that something is wrong but I have no idea what's that about too

dekaio commented 1 year ago

Is Inet included in your Simu5G project references? Is the src/make file configured correctly?

Dead0utside commented 1 year ago

Thank you everyone for suggestions, the issue is now solved. Turnes out that 7-zip I've used to unpack the archives messed something up while doing so and this was the reason why simu5g didn't build. Same goes to default windows archive manager. Winrar worked just fine in this regard, so if anone else encounters this problem in future - try using a different way to unpack projects. Have a good day