Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linking problem #7

Open
Eric-AI20 opened this issue Jun 16, 2020 · 7 comments
Open

linking problem #7

Eric-AI20 opened this issue Jun 16, 2020 · 7 comments

Comments

@Eric-AI20
Copy link

Hi, @saburhb @debashish216
Thanks for your detailed instructions, now I am facing the same issue as others, there might be some issues in "uav-net-sim" file which I could not run some examples. I tried to comment out the "#include <syslog.h>" in the czmq_prelude.h file but the issue still remain.
I am looking forward to your suggestions.
Much appreciate!
Eric
czmq_issues03
czmq_issues04

@saburhb
Copy link
Owner

saburhb commented Jun 17, 2020

@Eric-AI20
Can you try running "./waf configure" first in ns-3.27/ folder and then execute ./waf --run command.

@Eric-AI20
Copy link
Author

Hi @saburhb,
I tried this method however the problem still remain. I also tried to reinstall the ns3 but the problem still unsolved
czmq_issues

@Eric-AI20
Copy link
Author

Hi, @saburhb
Thanks for your suggestions. For now, I can run some examples using ns3 only and the FlyNetSim_direct_no_ns3.py works fine. However the FlyNetSim.py still not work. I checked your recent suggestions and there are some questions about your recent comments:
01
At the first step, you said try to run ns3 alone, I considered run "uav-net-sim.cc" under the ns3 folder,
02
Is this image shows the ns-3 has been run successfully?

At the second step, you said to redirect the output of FlyNetSim.py file to the log file. To be honest, I am not sure what is the output of this FlyNetSim.py file.
I am looking for your further suggestions!
Much appreciate!!!

@saburhb
Copy link
Owner

saburhb commented Jun 19, 2020

@Eric-AI20
As you confirmed your ns3 works independently and also FlyNetSim_direct_no_ns3.py also works independently but FlyNetSim.py which combines the two of them does not work, the only problem seems to be the path. If you open your FlyNetSim.py file, find the line with "waf --run" command. You can replace any relative path where the waf is running, with absolute path of your "ns-3.27" folder. Once, you do that both Ardupilot component and ns-3 component should run together from the FlyNetSim.py script.
Regarding log file, check the REDME again for --help. The help shows -v option for different level of verbosity to include different information in the log file.

@Eric-AI20
Copy link
Author

Eric-AI20 commented Jun 22, 2020

Hi @saburhb
thanks for your last suggestions, I tried to replace my absolute path however the problem still unsolved. here is the absolute path I have changed,
issues01

In addition, when I ran the FlyNetSim_direct_no_ns3.py everything works except the "disconnect" button. is it a common issue or not?
issues02

I am looking for further suggestions!
Much Appreciated

@kunalMeena90
Copy link

Stuck at this step after installing all the czmq related libraries

linking error

@AGranjaL
Copy link

AGranjaL commented Mar 6, 2022

Stuck at this step after installing all the czmq related libraries

linking error
I have the exact same error. Been trying to fix zmq_sendmsg and found myself with this one too after installing other versions of czmq and zmq

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants