home › Forums › # Technical Support › fuzzylite plus NS-3 › Reply To: fuzzylite plus NS-3
May 8, 2014 at 16:59
#1078
Keymaster
Hi,
To incorporate fuzzylite into any project, you need to make sure:
- you have
#include <fl/Headers.h>
in the source file where you intend to use fuzzylite - you add to your
INCLUDE_PATH
the path where fuzzylite is located such that the filefl/Headers.h
is accessible from your project working directory - you add to your
LIBRARY_PATH
the path where the binary filesfuzzylite.(dll|lib|so|dylib)
orfuzzylite-static.(lib|a)
are located - you add to your linker the name of the library
In Unix-like OSs, the command to build your project would be:
g++ your-file.cpp -Ipath/to/fuzzylite -Lpath/to/fuzzylite/lib -lfuzzylite
where -I
refers to the INCLUDE_PATH
, -L
refers to the LIBRARY_PATH
and -l
is the name of the library.
Unfortunately, I have never worked with NS-3, for which I have no idea about specifically incorporating fuzzylite into NS-3. If someone knows how, let us hope that person posts some information about it in this topic.
Cheers.