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