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

Missing header messages.pb.h for opengym #81

Closed
sv1ple opened this issue May 1, 2023 · 2 comments
Closed

Missing header messages.pb.h for opengym #81

sv1ple opened this issue May 1, 2023 · 2 comments

Comments

@sv1ple
Copy link

sv1ple commented May 1, 2023

Dear all,

I am following the instructions to install the branch "app-ns-3.36+" with ns3-38.
When running "./ns3 configure --enable-examples", I get the following error:

m@DESKTOP-CD:~/ns-3-dev-git$ ./ns3 configure --enable-examples
-- Using default output directory /home/m/ns-3-dev-git/build
-- Proceeding without cmake-format
-- find_external_library: SQLite3 was found.
-- Harfbuzz is required by GTK3 and was not found.
-- LibXML2 was found.
-- Visualizer requires Python bindings
-- GSL was not found. Continuing without it.
-- docs: sphinx documentation not enabled due to missing dependencies: epstopdf latexmk
-- Precompiled headers were enabled
-- Processing contrib/opengym
CMake Error at build-support/3rd-party/colored-messages.cmake:82 (_message):
  Missing header files for opengym:
  ../../cmake-cache/contrib/opengym/messages.pb.h
Call Stack (most recent call first):
  build-support/custom-modules/ns3-module-macros.cmake:266 (message)
  contrib/opengym/CMakeLists.txt:55 (build_lib)


-- Configuring incomplete, errors occurred!
See also "/home/m/ns-3-dev-git/cmake-cache/CMakeFiles/CMakeOutput.log".
See also "/home/m/ns-3-dev-git/cmake-cache/CMakeFiles/CMakeError.log".
Finished executing the following commands:
cd cmake-cache; /usr/bin/cmake -DNS3_EXAMPLES=ON .. ; cd ..

Is there any insight regarding the missing "messages.pb.h" file?

Thank you

@pgawlowicz
Copy link
Contributor

Hi, could you try a fresh install with the newest version? Thanks!

@sv1ple
Copy link
Author

sv1ple commented Jun 2, 2023

Hi; apologies for the late reply. I was traveling.

It works in Ubuntu 20.04.6 TLS + ns-3.38 and the latest version of the app-ns-3.36+ (with the changes made three weeks ago).

Just so you know, I had eventually compiled ns3-gym by following the instructions here: #74 while compiling the protocol buffers manually. But then I left, and this task remained stalled.

In any case, your changes in the branch solve the issue. I manage to run "simple_test.py" successfully.

Thank you

@sv1ple sv1ple closed this as completed Jun 2, 2023
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

2 participants