OMNeT++/OMNEST Bug Tracker - OMNeT++
View Issue Details
0000660OMNeT++IDE / C++ developmentpublic2013-06-17 15:422013-06-17 16:03
normalminorhave not tried
0000660: project not re-linked when new module is added to referenced project project
Create two projects:
  1. base: produces a static lib
  2. derived: references 'base', links with its static lib

Then create a new simple module in the 'base' project, then hit Build. The 'derived' project should be re-linked as a result, but it is not

Reported by Andras Ferencz.

No tags attached.
tgz a.tgz (7,404) 2013-06-17 15:55
Issue History
2013-06-17 15:42andrasNew Issue
2013-06-17 15:55andrasFile Added: a.tgz
2013-06-17 16:03andrasNote Added: 0000803

2013-06-17 16:03   
See attached project. Build and run: there will be an error because of missing Sink class. Then:

$ mv <--- restores the Sink class so everything should be OK

Hit build again and run. It will STILL fail, because derived project is not re-linked.

Hit Clean All+Rebuild. It will now run.

Cause: missing dependency: target of link step should depend on the libs exported from referenced projects.