home Forums # Technical Support fuzzylite plus NS-3

Tagged: ,

Viewing 8 posts - 11 through 18 (of 18 total)
  • Author
    Posts
  • #1967

    Hi,

    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

    #1968

    Hi,

    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

    #2090
    Unknown
    Member

    Hi,
    Could you explain the steps to integrate Fuzzylite in NS-3.
    Thanks,
    Fawez

    #2091
    Unknown
    Member

    Hey,

    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

    #2689
    Unknown
    Member

    Hi,
    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?

    #2703

    Hi,

    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.

    #2706
    Unknown
    Member

    Hi,
    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) .

    #2707

    Hi,

    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

Viewing 8 posts - 11 through 18 (of 18 total)
  • You must be logged in to reply to this topic.