It will probably be a bit of time before DCE is converted to CMake, but
it could still use Waf for the time being. There are two issues that
you will need to solve to make it work with ns-3.38.
1) DCE looks for pkgconfig files in the ../../build/lib directory
(installed by ns-3 CMake). In principle, DCE can stay on Waf and use
ns-3 libraries (and .pc files) installed by CMake, but I don't know
offhand whether the library names and .pc files are the same from
ns-3.35 to ns-3.38-- they should be, but I haven't checked. If these
are not similar from version 3.35 to version 3.38, they have to be
aligned or DCE Waf needs to know the new names.
2) DCE examples need to be updated to any API changes that occurred from
ns-3.35 -> ns-3.38. Usually this is not a big deal.
- Tom
On 5/3/23 12:57, Harsh Patel wrote:
> I understand that the bake/build/install/ns3/ directory has all the
> necessary files (log.h, object.h, callback.h, etc) which are shown to be
> "no such file or directory" in the error. But the DCE waf build is not
> able to find it and hence, shows the error.
> How do I get DCE to detect and use these files for its build?
>
> On Tuesday, 2 May 2023 at 20:11:06 UTC-7 Harsh Patel wrote:
>
> Hi all,
>
> Is there any version of DCE that I can build with CMake? I want to
> use newer versions of ns-3 with DCE and was wondering if it is
> possible to build DCE with CMake and in turn use latest ns-3
> versions with it?
>
> I tried building bake from here <
https://gitlab.com/nsnam/bake/>but
> I ran into build error for ns-3-dce. Below is the error:
> /In file included from ../model/pipe-fd.h:24,
> '/mnt/EXPIREMENT/bake/source/ns-3-dce/waf', '-j', '16']/
>
> I noticed here that the ns-3-dev is built using cmake but ns-3-dce
> is built using waf. Should this be an issue? If not, can you help me
> resolve the error as seen above (unable to find .h files)?
>
> Best,
> Harsh
>
> --
> Posting to this group should follow these guidelines
>
https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
> <
https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting>
> ---
> You received this message because you are subscribed to the Google
> Groups "ns-3-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
ns-3-users+...@googlegroups.com
> <mailto:
ns-3-users+...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/ns-3-users/0ebde942-ac69-4d8a-baa5-d81cd0cd303fn%40googlegroups.com <
https://groups.google.com/d/msgid/ns-3-users/0ebde942-ac69-4d8a-baa5-d81cd0cd303fn%40googlegroups.com?utm_medium=email&utm_source=footer>.