Omnet++ 5.1 opp_makemake --deep sets no include paths

110 views
Skip to first unread message

janis...@googlemail.com

unread,
Apr 12, 2017, 11:02:24 AM4/12/17
to OMNeT++ Users
I noticed that the behaviour of opp_makemake changed with Omnet++ 5.1. My project fails to build because the source directories are not added to the include path anymore - although the documentation of opp_makemake hasn't changed.

Was this change intended or is it a bug in opp_makemake?

Michael Kirsche

unread,
Apr 12, 2017, 5:30:34 PM4/12/17
to omn...@googlegroups.com
As the change log for OMNeT 5.1 states:

opp_makemake: Support for deep includes (automatically adding each subfolder to the include path) has been dropped, due to being error-prone and having limited usefulness. In projects that used this feature, #include directives need to be updated to include the directory as well.

Take a look at INET for example, the includes are complete with the path now.

janis...@googlemail.com

unread,
Apr 13, 2017, 11:41:10 AM4/13/17
to OMNeT++ Users
Oh I missed that. However, also the root folder is not in the include path anymore. But I can add that easily with "-I./".
Also the command line help of opp_makemake should be updated in future releases.
Reply all
Reply to author
Forward
0 new messages