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
1 answer

waf specify libraries at build time, but get full name at configure time

Using waf 1.7.9 with extras/boost.py added, I find that you have to get the libraries at configuration time which makes it difficult to build targets with different sets of libraries. For example, I have two programs, one that needs only the header…
John
  • 1,709
  • 1
  • 24
  • 27
0
votes
1 answer

ld can't find a library when using Waf, but it can when not using Waf

I'm trying to build my project. I have libuv already compiled in ./libuv as libuv.a (so the relative path to the library is ./libuv/libuv.a). When I use clang directly, it works: $ clang++ src/**/*.cpp -std=c++11 -L./libuv -luv -I./libuv/include…
user142019
0
votes
1 answer

c++ finding memory leak

I am trying to run valgrind with waf. The command is ./waf --command-template="valgrind %s" --run program-name. I receive an internal error for valgrind. What else can I try if even valgrind fails ? --6446-- VALGRIND INTERNAL ERROR: Valgrind…
evaG
  • 21
  • 1
  • 6
0
votes
1 answer

waf : passing compiler flags to qt's moc

I my trying to run a project using waf which uses boost library . To overcome a problem I need to pass and -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED argument to MOC. I tried doing so in the wscript as bld(features ='cxx', source …
Vihaan Verma
  • 12,815
  • 19
  • 97
  • 126
0
votes
2 answers

can not open boost header files on 64 bit windows

I have download boost libraries and ran bootstrap.bat and .\b2 . Trying to run it on 64 bit I m getting these errors C:\cygwin\home\vickey\tunebasket\p2p>python waf build --with-tests --boost-includes="c:\boost_1_48_0"…
Vihaan Verma
  • 12,815
  • 19
  • 97
  • 126
0
votes
1 answer

Gstreamer include error in waf. gst/gst.h: No such > file or directory

I am trying to build a Gstreamer program using waf.I am having some trouble including gstream files with waf. I am getting an error. [ 4/37] qxx: test/Playback/GSTEngine.cpp -> build/test/Playback/GSTEngine.cpp.4.o …
user671253
0
votes
1 answer

Error when installing node.js on ubuntu 12.04- "Project not configured (run 'waf configure' first) "

So I'm following a node.js installation process (from a repository) with the following basic steps. git clone https://github.com/joyent/node.git cd node git checkout v0.6.16 #Try checking nodejs.org for what the stable version…
user1402072
  • 69
  • 1
  • 4
-1
votes
0 answers

When using waf with Visual Studio 2022 and a c++ project there is no Local Window Debugger and Debug Configurations

I'm using MS Visual Studio 2022, version 17.1.0. Using git clone, I copied a C++ project from a repository. After I built and configured it with waf: python waf configure msvs python waf build --execsolution=solution_1.sln As a result, i did not…
-1
votes
1 answer

waf failed on freeBSD - Traceback (most recent call last)

I am trying to run a waf on freeBSD 7.1 But it fails as:- junos-olive# ./waf Traceback (most recent call last): File "./waf", line 148, in <module> junos-olive# The line 148 is :- 147:import Scripting 148:Scripting.prepare(t,…
Vikrant Goel
  • 654
  • 6
  • 20
1 2 3
20
21