1 Reply Latest reply: Nov 15, 2015 5:57 PM by Loren Garavaglia RSS

Failure on try run opnet and external code

ahmed salem

I try to connect opnet with external code but I have these issues (as in file attached )

this problem appear when I try to run this command : op_mksim -net_name project1-scenario1 -c -kernel_type optimized

Note:

I run external code and it generate object file .

 

  • Re: Failure on try run opnet and external code
    Loren Garavaglia

    This looks like a problem similar to what I previously had.  I think the problem is that you might not have correctly linked your external code files in Opnet.  Here is the answer that I received, it may help:

     

    The include directories can be added to "Common Flags for All Code", the library directories can be added to "Common Network Repositories Flags", and the library names can be added to "Common Network Repository Libraries".  (The full names of the preferences may be different in 14.5, but I do not think the tags have changed.  They are 'comp_flags_common', 'bind_shobj_flags' and 'bind_shobj_libs', respectively.)

     

    Add '/I' before each include directory, and add '/LIBPATH:' before the library directory

    - See more at: https://splash.riverbed.com/thread/8114#sthash.EK8ortr3.dpuf