How to use lpsolve in omnet++ simple modules

帅比萌擦擦* 提交于 2020-01-07 06:16:15

问题


lpsolve can be called from a c++ program with main() but I am unable to use it in handlemesage() or any other user-defined method in omnet++ simulation.

Any help in this regard is appreciated.

Thanks


回答1:


Go to project properties --> omnet++ --> select SRC --> Options --> link --> Additional libraries to link with: ( -l option) and insert lpsolve55 and ok

Screenshot of the step1

Screenshot of the step2



来源:https://stackoverflow.com/questions/43424829/how-to-use-lpsolve-in-omnet-simple-modules

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!