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

How can I add libdl to to a waf build?

I'm trying to call the dlsym function from a program compiled with the waf build system, but am unable to link libdl using the wscript. This SEEMS like an extremely simple task but I've tried a million different things and have gotten nowhere. Edit:…
snek_case
  • 339
  • 2
  • 10
0
votes
2 answers

File upload is limited to 1M, even after PHP, Nginx, and Apache configuration

I'm asking about an issue on a Wordpress website, that serves on an Ubuntu 18.04 behind of a WAF(Web Application Firewall) service. The server was working for 1 year. 4 days ago I tried to upload a file and I got Http error. upload_max_filesize and…
0
votes
1 answer

Gtest linking error (moved from GCC 4.x to GCC 7.x)

I am using Waf as a build tool to build a C++ library. I had earlier been using GCC 4.8.x and using std=c++98, and it was working fine However, when I tried to change the compiler version to GCC 7.2, there were a host of issues all related to Gtest.…
0
votes
0 answers

how to Compile Consumer-Producer-ApI in Linux

I want to ./waf consumer-producer-api but it show some error CXXFLAGS error and onChanged() error. please help me... I use linux-mint and set up complete ndn-cxx and openssl $./waf configure Setting top to :…
0
votes
1 answer

cross compiling ndn-cxx for arduino yun

I'm trying to cross compile ndn-cxx on ubuntu 16.10 to use it on arduino yun. I'm following this steps. When I try to execute ./waf command I get the following error: [ 30/141] Compiling…
0
votes
0 answers

Build statically linked binary with waf

I'm trying to build a smbclient binary from the latest source using static linking so it can be portable. I'm doing this on a RHEL 7 machine with all the configure dependencies installed already. I tried the following but ldd still says the binary…
A_B
  • 1,009
  • 3
  • 15
  • 37
0
votes
0 answers

How to set compiler in waf

I'm trying to compile 3rd party software which uses waf as the build tool. I run into problems immediately. > python waf configure --prefix=install Checking for program 'g++, c++' : CC Could not determine the compiler version ['CC',…
JB_User
  • 3,117
  • 7
  • 31
  • 51
0
votes
1 answer

Waf - How to add a library to a wscript file?

I would like to add the c++ library cpp-netlib to a wscript. Then if I run dpkg -l libcppnetlib0 I obtain: libcppnetlib0: 0.11.0-1 amd64 C++ Network Library Running: dpkg -L libcppnetlib0, I…
MM92x
  • 548
  • 1
  • 4
  • 25
0
votes
1 answer

How to include/change compilation and linking flags on per file basis ?

I am building samba 4.4.5 on HPUX. which uses waf(python) tool to build the compete source code. The tool uses various python scripts and wscript to configure and build the samba. I want to modify includes path/compilation flags for a particular…
user
  • 2,694
  • 6
  • 24
  • 25
0
votes
1 answer

Build system for R

I've got a large data analysis project containing dozens of R scripts that depend in complicated ways on each other and so I thought it would be a good idea to formalize all these dependencies and set the project in a build system that runs things…
RoyalTS
  • 9,545
  • 12
  • 60
  • 101
0
votes
1 answer

scons/waf implementation that doesn't re-build upon cloning

Currently, I create a scons (or waf) build and run everything. Then I check everything (including .sconsign.dblite, etc) into git and push to the remote. If I delete the directory locally, clone it from git (on the same machine), and type scons, it…
LJB
  • 353
  • 4
  • 10
0
votes
2 answers

Using a dataset to fill listbox

In my Windows Forms Application I'm trying to fill a listbox with values from a dataset, but it just stays empty and doesn't give any exceptions. This is my code private void FormTeams_load(object sender, EventArgs e) { try …
Dennis VW
  • 2,977
  • 1
  • 15
  • 36
0
votes
1 answer

ns-3 Build Error

I am trying to build ns-3 using the command ./waf inside the ns-3 folder, but it gives me this: Waf: Entering directory `/home/mptcp/build' Waf: Leaving directory `/home/mptcp/build' source not found:…
Dinesh Reddy
  • 119
  • 1
  • 7
0
votes
2 answers

Error compiling ns-3 waf (Could not load the Waf tool 'clang_compilation_database)

I update my ns-3 version (including private modules) to the last release and when compiling, this is the error generated: mattia@pcsensori16:~/ns3-mmwave$ ./waf configure Setting top to : /home/mattia/ns3-mmwave Setting…
rebatoma
  • 734
  • 1
  • 17
  • 32
0
votes
2 answers

Create multiple ListBoxes - Windows applications forms

I'm trying to create multiple ListBoxes with different id's. I want to do something like this: int count = 0 for(int i = 0; i < 10; i++){ ListBox count = new ListBox(); count++; } The question is: How to create create multiple ListBoxes?
iYonatan
  • 916
  • 3
  • 10
  • 26