Hi,
I need to run a simulation in which Eigen (Linear algebra) external library is required. Eigen is a headers only library viz. it does not have lib.a file(Only header files are there) . My program is working as a stand alone program using Eigen library but this library is not getting accessed in ns-3 simulator. To include the library I modified the Wscprit by using following steps as explained in:
However, I found a step which involve the inclusion of lib.a file too which is not available in my case. Hence, I included the following two commands in wscript in build section:
module.env.append_value("CXXFLAGS", "-I/usr/include/eigen2/Eigen")
module.env.append_value("LIB", ["Eigen"])
after inclusion when I run the program it throws the error that the variable is not defined, but the variable is defined using eigen.
Kindly suggest some solution.
Location of library : usr/include/eigen2/Eigen
Raj K Jaiswal