NS3_Error: The project was not configured: run "waf configure" first! (ns3 + eclipse on Mac)

9,092 views
Skip to first unread message

Inics

unread,
Jan 26, 2012, 3:34:34 PM1/26/12
to ns-3-users
Hi Guys,
I'm new to ns3 and I'm having to develop a project with it. I'm
running on Mac and trying to connect the ns3 code to eclipse.
I've followed the instructions from.....
http://groups.google.com/group/ns-3-users/browse_frm/thread/ecbc28b0e7543f64?tvc=1&q=eclipse

However the problem I'm facing now is that when I even run even a
simple script from the /examples directory it does not compile.
I have configured the project to build using the /waf ($
{workspace_loc:ns-3-dev}/waf ) and the /ns-3-dev directory ($
{workspace_loc:/ns-3-dev}).

The error I get when I try to run is : The project was not configured:
run "waf configure" first!
what I'm I actually doing wrong? any help will be appreciated and
what do I have to do

Inics

Inics

unread,
Jan 26, 2012, 3:34:59 PM1/26/12
to ns-3-users

Lalith Suresh

unread,
Feb 1, 2012, 11:01:34 AM2/1/12
to ns-3-...@googlegroups.com
Just try to get eclipse to run "./waf configure" *before* you run ./waf build.
 
Inics

--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
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.




--
Lalith Suresh

Inics

unread,
Feb 1, 2012, 12:53:07 PM2/1/12
to ns-3-users
Thanks Suresh.....

I've been able to get it done now

Inics

On Feb 1, 4:01 pm, Lalith Suresh <suresh.lal...@gmail.com> wrote:
> On Thu, Jan 26, 2012 at 9:34 PM, Inics <perfectin...@gmail.com> wrote:
> > Hi Guys,
> > I'm new to ns3 and I'm having to develop a project with it. I'm
> > running on Mac and trying to connect the ns3 code to eclipse.
> > I've followed the instructions from.....
>
> >http://groups.google.com/group/ns-3-users/browse_frm/thread/ecbc28b0e...

Tommaso Pecorella

unread,
Sep 19, 2014, 2:57:33 PM9/19/14
to ns-3-...@googlegroups.com, perfec...@gmail.com
Hi,

you don't. Usually configure is a thing you do just once in a while, and it's not necessary to integrate it with Eclipse.

Cheers,

T.


On Friday, September 19, 2014 8:45:06 PM UTC+2, Grilo wrote:
Hi!
 
Maybe a stupid question...
How do you manage to have Eclipse calling ./waf configure before ./waf build?
 
Regards,
A. Grilo

Grilo

unread,
Sep 20, 2014, 8:52:38 PM9/20/14
to ns-3-...@googlegroups.com, perfec...@gmail.com
OK, but in my case I get the configure error all the time when I build from Eclipse. I.e.:

- I always succeed building outside from Eclipse.
- When I run "./waf configure" and then build from Eclipse, it says that I have to run configure first. Then I go outside again and run "./waf build" and it says that I must run configure first, which I did already. So, I must have something wrong in my Eclipse project properties.

Any suggestions?

Best regards,
António Grilo

Tommaso Pecorella

unread,
Sep 21, 2014, 2:07:25 AM9/21/14
to ns-3-...@googlegroups.com, perfec...@gmail.com
Any suggestion beside the idiot one (Check your Eclipse configuration) is not possible. There are too many Eclipse version, OS version and installation differences to guess anything else than the obvious.

T.

Grilo

unread,
Sep 19, 2014, 2:45:06 PM9/19/14
to ns-3-...@googlegroups.com, perfec...@gmail.com
Reply all
Reply to author
Forward
0 new messages