OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001002OMNeT++IDE / C++ developmentpublic2017-03-11 17:402017-03-11 17:40
Reporterjerzyd 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusnewResolutionopen 
PlatformOSWindowsOS Version10
Product Version 
Target VersionFixed in Version 
Summary0001002: Include directories are not taken from referenced project
DescriptionThe problem concerns OMNeT++ 5.1rc2.

When one project refers to another, the include directories from the another project are not added to the Makefile of the first project.

An example of header of src/Makefile generated by OMNeT++ 5.1rc2:
# This file was generated with the command:
# opp_makemake -f --deep -KINET_PROJ=../../inet -L$$\(INET_PROJ\)/out/$$\(CONFIGNAME\)/src -lINET

An example of header of src/Makefile generated by OMNeT++ 5.0 (correctly):
# This file was generated with the command:
# opp_makemake -f --deep -I../../inet/src -L../../inet/out/$$\(CONFIGNAME\)/src -lINET -KINET_PROJ=../../inet

In OMNeT++ 5.1rc2 there is no "-I../../inet/src" part.
Steps To Reproduce1) Import and build INET 3.5.0.
2) Create a new standalone OMNeT++ project (Sink-Source).
3) In the Sink-Source "Properties" | "Project references" select "inet".
4) In the Sink.h add a line:

#include "inet/common/INETDefs.h"

5) Build Sink-Source project. There will be a compiler error:

Sink.h:20:34: fatal error: inet/common/INETDefs.h: No such file or directory
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2017-03-11 17:40 jerzyd New Issue


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker