unresolved references in eclipse

101 views
Skip to first unread message

Konstantinos

unread,
Mar 3, 2012, 2:03:28 PM3/3/12
to ns-3-...@googlegroups.com
Hi all,

recently I moved to a new vmware and I have downloaded the latest Eclipse version (Version: Indigo Service Release 1, Build id: 20110916-0149) and started again the process of importing ns-3 (ns-3.13).

What I have noticed is that it gives me errors like the one in the screenshot attached.
There are no problems with building or anything else.

This is for example the simple-global-routing.cc

Has anyone else came up with the same problem?

Regards,
Konstantinos
Screenshot-1.png

Tommaso Pecorella

unread,
Mar 3, 2012, 6:13:37 PM3/3/12
to ns-3-...@googlegroups.com
Hi,

add ns-3-dev/build to the inclusion path in Eclipse. And ns-3-dev/src to be sure. It should help fixing those issues that are, to be honest, cosmetic but very annoying.

Cheers,

T.
 

Konstantinos

unread,
Mar 3, 2012, 7:28:40 PM3/3/12
to ns-3-...@googlegroups.com
Thanks for the reply Tomasso


On Saturday, 3 March 2012 23:13:37 UTC, Tommaso Pecorella wrote:
Hi,

add ns-3-dev/build to the inclusion path in Eclipse. And ns-3-dev/src to be sure. It should help fixing those issues that are, to be honest, cosmetic but very annoying.

does this fix apply only on ns-3-dev ? Because I'm using ns-3.13 and it doesn't seem to have any effect. Even though I have rebuild the project. Perhaps I include them the wrong way.

What I do is to go to Project > Properties > C/C++ General > Paths and Symbols

In the Library Path tab I have added ns-3.13/build and ns-3.13/src
 
Cheers,

T.
 

Tommaso Pecorella

unread,
Mar 3, 2012, 7:40:40 PM3/3/12
to ns-3-...@googlegroups.com
Hi,

with the changed name (i.e., use ns-3.13) it should work. I checked: I have the following ones in my paths:
ns-3-dev/src
ns-3-dev/build
ns-3-dev/build/ns3

I'm still trying to figure out how to include a directory recursively... so I guess the first 2 are useless and only the last one is "fine". If someone knows how to include recursively I'll be happy.

Cheers,

T.

Konstantinos

unread,
Mar 3, 2012, 7:43:44 PM3/3/12
to ns-3-...@googlegroups.com
Hi,

Problem solved (or just it seems so at the moment).
I had to rebuild the indexer not just the project... daaahh

Alessandro Russo

unread,
Mar 6, 2012, 4:31:50 AM3/6/12
to ns-3-...@googlegroups.com
Usually, a "refresh" of ns-3 dir in eclipse works
 Alessandro  R.


--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/ns-3-users/-/NC14HPT_u4AJ.

To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.

Konstantinos

unread,
Mar 6, 2012, 5:09:01 AM3/6/12
to ns-3-...@googlegroups.com
I know that Alesandro, that's what I was doing after the project re-build. But the new version of Eclipse didn't work.. However with previous versions (e.g. Helios) I didn't have any problems.
To unsubscribe from this group, send email to ns-3-users+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages