Open teto opened 9 years ago
@teto right now with --enable-opt option, the waf (of dce) tries to find the optimized build version of ns-3 under the directory specified by --with-ns3. did you build ns-3-dev with optimized build ?
I had only a debug version of ns3 so it's normal that it didn't work. Maybe the error message could be improved so that it becomes clearer ? like "Could not find ns3 with --debug-profile=optimized" or something along those lines. After posting this, I found some posts on ns mailing list of people with the same problem.
With current master, when using --enable-opt (and an alternate directory), configure fails
$ ./waf configure --with-ns3=$HOME/ns3off/install --enable-opt
with config.log:
Apparently there is a call ['/usr/bin/pkg-config', '--cflags', '--libs'] that miss the library name.
Without '--enable-opt' compilation works fine: