Issues in Debugging sv_publisher sv_subscriber examples using Eclipse
I have used the sv_publihser and sv_subscriber codes given in the examples. I am trying to run these codes in Eclipse IDE to debug them. However, upon running these codes in Eclipse, these are not working. It always shows error:
Failed to create SV publisher
Please advise, if there is any configuration settings or arguments that are required for running these sv_publiser and sv_subscriber examples in Eclipse.
SV publisher or subscriber has to be run as root or with capabilities cap_sys_admin and cap_net_raw
Thank you for your response. Kindly correct me if I am wrong. As per my understanding, " run as root or with capabilities cap_sys_admin and cap_net_raw" these capabilities can be used when file is run at Linux terminal. However, I am using Eclipse for debugging the sv_publihser file. When the sv_publisher is run in Eclipse, the program doesn't create sv_publisher, rather shows the message:
Failed to create SV publisher
Is sv_publihser can be run in Eclipse? Is there any sort of settings that are required to run sv_publihser in Eclipse?