Menu
  • HOME
  • TAGS

How do I build a static library in WAF?

c++,waf

ctx(features='c cxx cxxstlib', use='cFiles cxxFiles', target='test') https://groups.google.com/forum/#!topic/waf-users/eOck_phyLAg...

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

waf,ns-3

You don't need to specify all the path! Just run: ./waf --run lena-simple-epc If you are not secure on how to start a script just look at the wscript file in the examples folder and look for these rows. obj = bld.create_ns3_program('lena-simple-epc', ['lte']) obj.source = 'lena-simple-epc.cc' With lena-simple-epc you can...

ndnSIM2.0 appear error when I use “./waf”

c++,linux,waf,ndnsim

OK, There are no man answers my question, Maybe it due to a simple reason, Because my gcc's version is 5.1.0, ndnSIM2.0 just need to previous version, such as 4.8.2,and recompile boost,It will be success.

Can't properly link libraries when compiling with Waf

c++,build,linker,shared-libraries,waf

How is it possible that linking succeeds, yet the binary can't find the library? Linking with /usr/bin/ld is what's known as static linking (not to be confused with fully-static linking, achieved by using -static flag). When your libraries are installed in a standard place on the system (e.g. in...

How to add depdency in waf builder's wscript script

c++,waf

I figured this out and the steps are as follows: Added following check in the configure command/function. conf.check_cfg(package='libmongoclient', args=['--cflags', '--libs'], uselib_store='MONGOCLIENT', mandatory=True) After this step, we need to add a package configuration file (.pc) into /usr/local/lib/pkgconfig path. This is the file where we specify the paths to lib and headers....