
Hello everyone!
As a newbie to ns, I've recently encountered some problems with the configuration and build of ns3, and was hoping you could help answer them.
First, my configuration is VMware 17pro, unbuntu24.04.1 and ns3.43.
When I follow the steps in the official ns3 documentation tutorial, I get the output shown below, which is missing “-- Looking for C++ include inttypes.h”
-- Looking for C++ include inttypes.h - found it!
-- Looking for C++ include stat.h
-- Looking for C++ include stat.h - not found
-- looking for C++ include dirent.h
-- looking for C++ include dirent.h - found
-- looking for C++ include stdlib.h
-- looking for C++ include stdlib.h - found
-- looking for C++ include signal.h
-- looking for C++ include signal.h - found
-- Looking for C++ include netpacket/packet.h
-- find C++ include netpacket/packet.h - found
...
-- Find C++ include boost/units/quantity.hpp
-- Find C++ include boost/units/quantity.hpp - Found
-- Find C++ include boost/units/systems/si.hpp
-- looking for C++ include boost/units/systems/si.hpp - found” and so on,
compared to the example in the documentation.
And regarding modules such as BRITE, click and openflow, the latter appears as “OFF (missing headers: ‘simclick.h’ and missing libraries: ‘nsclick click’)”. “nsclick click“)” instead of “OFF (missing dependency)”. What is the reason for the above problem? What should be done to solve it?
Also, I have tried the build operation irrespective of the above issue and also tried to run the first.cc file in the terminal and it also outputs the normal result, but when I run the first.cc using vscode, the header file does not exist as shown in the picture. I did some efforts like changing the includepath variable in the c_cpp_properties.json file, but still it doesn't work.
Finally, the above problem has been bothering me for almost a week, all the methods have been tried, I hope all my friends can help me, thank you! ......


