desolver diary (updated on 2024-12-20 13:31)
2024-12-18 15:52 Failed
installed RockyOS 8.10 on VMware: https://mirrors.ustc.edu.cn/rocky/8.10/isos/x86_64/Rocky-8-latest-x86_64-dvd.iso
and installed cygdb on this OS based on the tutorial:
https://blog.csdn.net/shiniantianlang/article/details/113646877
https://gitlab.com/volkerweissmann/cygdb_installation
I tried to install anolisOS on VMWare but found out the installation tooks ages.
2024-12-19 12:53 Failed
installed RockyOS 8.10 Minimal on VMware, NO gui. No idea how to configure network.
https://blog.csdn.net/timonium/article/details/118603867
successfully installed rockyOS.
tomorrow, install gnuplot and boosts: https://www.youtube.com/watch?v=gsLIUtmTs8Q&ab_channel=pnumerics
https://www.youtube.com/watch?v=MWXm-luYbBc&ab_channel=pnumerics
and convert all codes to c++.
2024-12-20 11:31 Success
I've managed to install cygdb on rocky OS 8.10. based on
https://blog.csdn.net/shiniantianlang/article/details/113646877
https://gitlab.com/volkerweissmann/cygdb_installation
have to install "sudo dnf install libffi-devel" to avoid ModuleNotFoundError: No module named '_ctypes'
in runexample.sh, I used "cygdb . -- --args python main.py" instead of "python -m cygdb . -- --args python main.py", which will cause "No module named cygdb"
using gnuplot with c++ for vertices and edges:
https://stackoverflow.com/questions/42447683/how-to-plot-a-tree-graph-web-with-weighted-edges-in-gnuplot
c++ dll to python using ctypes:
https://download.csdn.net/blog/column/10733602/133900354
https://blog.csdn.net/qq_42672745/article/details/126257049
I'm going to use c++ instead of python.