Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Build Error for ns-3-vr-app with ns-3.37

82 views
Skip to first unread message

Nori

unread,
Nov 12, 2024, 6:23:41 AM11/12/24
to ns-3-users

I am trying to build the ns-3-vr-app module from signetlabdei/ns-3-vr-app, which is stated to be compatible with ns-3.37. I have followed the installation instructions, but I encounter a build error.

System Information:
  • OS: [Ubuntu 22.04 LTS]
  • ns-3 Version: ns-3.37
  • Build System: CMake with Ninja
  • Compiler Version: [Output of g++ --version]
Error Message:

During the build process, I receive the following errors:


Modules that cannot be built:
 brite click mpi ns-3-vr-app openflow visualizer
 -- Configuring incomplete, errors occurred
! See also "/home/nori/ns-allinone-3.37/ns-3.37/cmake-cache/CMakeFiles/CMakeOutput.log". 
See also "/home/nori/ns-allinone-3.37/ns-3.37/cmake-cache/CMakeFiles/CMakeError.log".
 FAILED: build.ninja
 /usr/bin/cmake --regenerate-during-build -S/home/nori/ns-allinone-3.37/ns-3.37 -B/home/nori/ns-allinone-3.37/ns-3.37/cmake-cache
 ninja: error: rebuilding 'build.ninja': subcommand failed Finished executing the following commands: cd cmake-cache; cmake --build . -j 3 ; cd ..


any suggestions .. 

Gabriel Ferreira

unread,
Nov 12, 2024, 6:59:11 AM11/12/24
to ns-3-users
You cut out the important parts of the log which contained the error cause. So I can't help.

Nori

unread,
Nov 12, 2024, 7:07:24 AM11/12/24
to ns-3-users
i attached the full o/p
vr-app.txt

Gabriel Ferreira

unread,
Nov 12, 2024, 7:49:47 AM11/12/24
to ns-3-...@googlegroups.com

You need to set NS3_PRECOMPILED_HEADERS to OFF, and then reconfigure.


--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/DzF2JnNXMrQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ns-3-users/18e9702b-a203-4a0d-909b-002202408907n%40googlegroups.com.

Nori

unread,
Nov 12, 2024, 8:58:47 AM11/12/24
to ns-3-users
thank you for your replay, other error shows
vr-app2.txt

Gabriel Ferreira

unread,
Nov 12, 2024, 1:32:49 PM11/12/24
to ns-3-users
add_library ALIAS requires exactly one target argument.

refers to
https://gitlab.com/nsnam/ns-3-dev/-/blob/ns-3.37/build-support/custom-modules/ns3-module-macros.cmake#L94

No idea why it is failing. You can try removing this line.

Nori

unread,
Nov 13, 2024, 3:53:28 AM11/13/24
to ns-3-users

Thank you, Gabriel! It’s working perfectly! 

Reply all
Reply to author
Forward
0 new messages