home › Forums › # Technical Support › fuzzylite plus NS-3
Tagged: fuzzlylite, NS-3
- This topic has 17 replies, 5 voices, and was last updated 5 years, 5 months ago by
Juan Rada-Vilela (admin).
-
AuthorPosts
-
October 31, 2015 at 16:56 #1967
Juan Rada-Vilela (admin)
KeymasterHi,
Thank you for your post.
I was interested mostly to have a record for future reference. If you still remember, and have the time to describe the solution, it would be fine. Otherwise, no worries.
Cheers
October 31, 2015 at 16:56 #1968Juan Rada-Vilela (admin)
KeymasterHi,
Thank you for your post.
I was interested mostly to have a record for future reference. If you still remember, and have the time to describe the solution, it would be fine. Otherwise, no worries.
Cheers
March 11, 2016 at 23:19 #2090Unknown
MemberHi,
Could you explain the steps to integrate Fuzzylite in NS-3.
Thanks,
FawezMarch 12, 2016 at 15:42 #2091Unknown
MemberHey,
You will need a Waf script to integrate fuzzylite libraries with NS-3. You should know how waf scripts work with NS-3.
May be this can help.
#! /usr/bin/env python # encoding: utf-8 import os def options(opt): opt.load('compiler_cxx') def configure(conf): conf.load('compiler_cxx' ) def build(bld): obj=bld.create_ns3_program('my-fuzzy') obj.source='main.cc' obj.target='my-fuzzy' obj.includes=['/home/jashan/fuzzylite-3.1/src/fuzzylite'] obj.lib=['fuzzylite'] obj.libpath=['/home/jashan/fuzzylite-3.1']
Also you need to manually store fuzzylite in ld.so.conf
December 21, 2017 at 06:15 #2689Unknown
MemberHi,
I work with ns-3 that is installed in ubuntu 16.04. I need to link ns-3 with fuzzylite.
I have a script under the scratch folder. I tried many ways to integrate fuzzylite with ns3, but I didn’t succeed.
Would you please tell me about the different steps to link ns-3 and fuzzylite?December 21, 2017 at 23:06 #2703Juan Rada-Vilela (admin)
KeymasterHi,
please search the forums, as other people have posted info on this. In addition, you may want to check:
https://github.com/fuzzylite/fuzzylite/tree/release/examples/application (example application)
https://github.com/fuzzylite/fuzzylite#compile-link-and-execute (compiling and linking libraries)Cheers.
December 21, 2017 at 23:59 #2706Unknown
MemberHi,
Thank you for your reply. I tried the different solutions proposed in similar topics. But, I didn’t succeed.
I tried many times to make the linking between my script and fuzzylite as mentioned in the following link.http://fuzzylite.com/cpp/
But, I obtain errors due to include files of ns3 ( fatal error: ns3/…. .h: no such file or directory) .December 23, 2017 at 06:44 #2707Juan Rada-Vilela (admin)
KeymasterHi,
but then it seems you are having issues is with the location of the ns3, not fuzzylite. Pretty much the ns3 should have similar parameters to fuzzylite to be configured, like the include location and libraries. Check the parameters for fuzzylite in https://github.com/fuzzylite/fuzzylite#compile-link-and-execute , and find out what their values are in ns3.
Cheers
-
AuthorPosts
- You must be logged in to reply to this topic.