Questions tagged [waf]

Waf is a Python-based framework for configuring, compiling and installing applications. It derives from the concepts of other build tools such as Scons, Autotools, CMake or Ant. If your question is about AWS WAF, use [amazon-waf] instead. If your question is about web application firewall, use [web-application-firewall] instead.

More information about the Waf project can be found at the following locations.

Help is also available:

  • on the waf-users mailing list
  • on IRC (#waf on freenode, with searchable, archived logs here).
309 questions
0
votes
2 answers

Map Error in C++

I am using GCC 4.6 compiler and when I build my code (ns3) I get the error: In file included from /usr/include/c++/4.4/map:60, from ../src/internet-stack/tcp-typedefs.h:23, from…
ferrer
  • 135
  • 3
  • 10
0
votes
0 answers

cast to ‘uint32_t’ loses precision

I followed this and tried to resolve the error: error: cast from ‘ns3::NaMPTSocket*’ to ‘uint32_t’ loses precision But still I can't get it working. Any other way to solve this problem ? I am on a 64 bit Ubuntu machine. The program (NS3) is being…
adrian008
  • 395
  • 6
  • 18
0
votes
1 answer

Automatically generated WAF solution fails to load

Cryengine as an SDK has recently switched from providing pre-made solutions to forcing developers to use a WAF based build system to automatically generate a visual studio solution. Right now, there's very little communication coming from Crytek…
0
votes
1 answer

How to add depdency in waf builder's wscript script

In my project (which uses waf/wscript based build system), I am now adding mongodb c++ driver APIs. I figured out that 'libmongoclient.a' is not getting added as a linker option (at compile time) and I get all undefined reference to the mongodb c++…
AnilJ
  • 1,951
  • 2
  • 33
  • 60
0
votes
1 answer

In ns-3, can ./waf --run a code in a nested folder more than two levels of folder?

3 and hope this question is not too stupid... I'm recently using ns-3 and try to compile the codes. I found that I don't need to explicitly specify compilation, instead, using ./waf --run someCode.cc will first compile and code and then execute it.…
TimeString
  • 1,778
  • 14
  • 25
0
votes
1 answer

ndnSIM2.0 appear error when I use "./waf"

reference to:http://ndnsim.net/2.0/getting-started.html#compiling-and-running-ndnsim My step are as follow: cd ndnSIM/ndn-cxx ./waf configure --boost-includes=/home/li/ndnSIM/boost_1_58_0…
wengang li
  • 81
  • 1
  • 2
  • 7
0
votes
1 answer

Is it possible to compile library with waf using make install?

I'm trying to compile a library with waf when I configure and build my project. To be more exact the library is Cryptopp. The thing is that I have added the source code like a git-submodule and I would like to compile and install it when some user…
Niemand
  • 127
  • 1
  • 12
0
votes
1 answer

Processing files through multiple steps with Waf

I am trying to create an automated process with Waf to optimize, minify, etc. the source files of a website based on the HTML5 boilerplate's ANT build script. Part of this includes running all the PNG's in the img directory through two utilities,…
Scott Colby
  • 1,370
  • 12
  • 25
0
votes
0 answers

Running scripts from OS X terminal instantly returns nothing

I encountered this problem while trying to figure a waf file. ./waf configure --mode=release --with-python --with-cpptests --with-examples --with-vamp as well as just ./waf instantly returns nothing (when it should presumably show configure progress…
Alex Forsyth
  • 177
  • 1
  • 9
0
votes
1 answer

waf - tex includes from different folder

├── additives │   ├── my.pdf │   ├── some.jpg │   ├── include.png │   ├── ... │ ├── pdata.tex ├── letter.tex ├── cv.tex ├── glue │   ├── cmds.tex │   ├── combined.tex │   └── packets.tex top = '.' out = 'build' def configure(conf): …
drahnr
  • 6,782
  • 5
  • 48
  • 75
0
votes
4 answers

very long compilation times

I'm working on a large solution that has thousands of source files, some of them can have over a thousand includes due to the use of Boost and dependency problems. While compiling in parallel on a 12 core Xeon E5-2690 v2 machine (windows 7) it…
Din
  • 1
  • 1
0
votes
1 answer

./waf command not working

I am using ns-3.16 in ubuntu 12.04. I'm new to python as well as ns3. When I run this ./waf (or any other waf command) it produces the following code: Waf: Entering directory `/home/hp/ns-3.16-git-master/build' Waf: Leaving directory…
0
votes
1 answer

How do I give reference to the xerces library using waf on linux

I am trying to build a ns3 module and I got stuck on " undefined reference errors" .I have dealt with those in the past by specifying the location of the definitions through #include directives but now I am puzzled by the fact that the undefined…
musimbate
  • 347
  • 6
  • 25
0
votes
1 answer

Where to start WPF Application Framework (WAF ) for beginner?

Can anyone suggest me some websites to learn WPF Application Framework (WAF ) for beginner ? I haved read here http://waf.codeplex.com/. But its not show up any tutorial links even Google.
user2877989
  • 587
  • 1
  • 6
  • 19
0
votes
1 answer

Dependencies between different environments in Waf?

I'm trying to build two projects with Waf + MSVC: top = '.' out = 'build' def configure(conf): conf.setenv('x86') conf.env['MSVC_TARGETS'] = 'x86' conf.load('compiler_cxx') conf.setenv('x64') conf.env['MSVC_TARGETS'] =…