WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
This repository was archived by the owner on Feb 20, 2024. It is now read-only.
This repository was archived by the owner on Feb 20, 2024. It is now read-only.

Mode4 error - fatal error: 'inet/transportlayer/contract/udp/UDPSocket.h' file not found #66

@admf1

Description

@admf1

Hello, I'm a student and new to VANET and Omnet in general

I'm trying to implement the Mode4 simulation.
I have not been able to compile and build the project.

I changed the name of the project to CV2X, however, it was not working previously either.
I've changed the name of the packages from lte to CV2X.

Currently using:

Omnet 5.6.2
INET 4.2.2
SimuLTE 1.2.0
Veins 5.1

Error Message:
make MODE=debug all
cd src && make
make[1]: Entering directory '/home/omnetpp-5.6.2/SegurAuto/CV2X/src'
apps/alert/AlertReceiver.cc
In file included from apps/alert/AlertReceiver.cc:10:
./apps/alert/AlertReceiver.h:17:10: fatal error: 'inet/transportlayer/contract/udp/UDPSocket.h' file not found
#include "inet/transportlayer/contract/udp/UDPSocket.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Makefile:319: recipe for target '../out/clang-debug/src/apps/alert/AlertReceiver.o' failed
make[1]: *** [../out/clang-debug/src/apps/alert/AlertReceiver.o] Error 1
make[1]: Leaving directory '/home/omnetpp-5.6.2/SegurAuto/CV2X/src'
Makefile:2: recipe for target 'all' failed
make: *** [all] Error 2
"make MODE=debug all" terminated with exit code 2. Build might be incomplete.

18:37:04 Build Failed. 5 errors, 0 warnings. (took 765ms)

Not all, but some of files referenced from Inet have the small red x's next to.

Screenshot from 2021-09-20 19-06-23

And also,

Screenshot from 2021-09-20 19-08-30

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions