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

Unable to watch video #85

Open
Howrhy opened this issue Mar 31, 2021 · 10 comments
Open

Unable to watch video #85

Howrhy opened this issue Mar 31, 2021 · 10 comments

Comments

@Howrhy
Copy link

Howrhy commented Mar 31, 2021

cd build/render Execute ./render
Obviously ./render is not exists

@Howrhy
Copy link
Author

Howrhy commented Apr 3, 2021

and index.html mentioned that "render-handle.js:204 WebSocket connection to 'ws://localhost:9030/' failed: "

@Howrhy
Copy link
Author

Howrhy commented Apr 8, 2021

WebSocket connection to 'ws://localhost:9030/' failed: _connect @ render-han

@Kipsora
Copy link
Collaborator

Kipsora commented Apr 8, 2021

Did you successfully build the project by running bash build.sh? Please attach the build log file so that I can see where is the problem.

@Howrhy
Copy link
Author

Howrhy commented Apr 9, 2021

Did you successfully build the project by running bash build.sh? Please attach the build log file so that I can see where is the problem.

-- The C compiler identification is GNU 8.3.1
-- The CXX compiler identification is GNU 4.8.5
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user20202645/MAgent-2/build
[ 10%] Building CXX object CMakeFiles/magent.dir/src/gridworld/RenderGenerator.cc.o
[ 10%] Building CXX object CMakeFiles/magent.dir/src/gridworld/Map.cc.o
[ 20%] Building CXX object CMakeFiles/magent.dir/src/gridworld/AgentType.cc.o
[ 20%] Building CXX object CMakeFiles/magent.dir/src/gridworld/GridWorld.cc.o
[ 35%] Building CXX object CMakeFiles/testlib.dir/src/utility/utility.cc.o
[ 35%] Building CXX object CMakeFiles/testlib.dir/src/gridworld/RewardEngine.cc.o
[ 35%] Building CXX object CMakeFiles/testlib.dir/src/temp_c_booster.cc.o
[ 45%] Building CXX object CMakeFiles/testlib.dir/src/gridworld/GridWorld.cc.o
[ 50%] Building CXX object CMakeFiles/magent.dir/src/runtime_api.cc.o
[ 50%] Building CXX object CMakeFiles/magent.dir/src/temp_c_booster.cc.o
[ 65%] Building CXX object CMakeFiles/testlib.dir/src/gridworld/AgentType.cc.o
[ 65%] Building CXX object CMakeFiles/testlib.dir/src/gridworld/RenderGenerator.cc.o
[ 65%] Building CXX object CMakeFiles/testlib.dir/src/runtime_api.cc.o
[ 75%] Building CXX object CMakeFiles/magent.dir/src/gridworld/test.cc.o
[ 80%] Building CXX object CMakeFiles/testlib.dir/src/gridworld/test.cc.o
[ 80%] Building CXX object CMakeFiles/testlib.dir/src/gridworld/Map.cc.o
[ 90%] Building CXX object CMakeFiles/magent.dir/src/utility/utility.cc.o
[ 90%] Building CXX object CMakeFiles/magent.dir/src/gridworld/RewardEngine.cc.o
/home/user20202645/MAgent-2/src/temp_c_booster.cc:19:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/temp_c_booster.cc:48:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/temp_c_booster.cc:119:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/temp_c_booster.cc:19:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/temp_c_booster.cc:48:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/temp_c_booster.cc:119:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:40:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:105:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:340:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:363:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:457:0: warning: ignoring #pragma omp declare [-Wunknown-pragmas]
#pragma omp declare reduction (merge : std::vector : omp_out.insert(omp_out.end(), omp_in.begin(), omp_in.end()))
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:475:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for reduction(merge: render_attack_buffer)
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:498:0: warning: ignoring #pragma omp critical [-Wunknown-pragmas]
#pragma omp critical
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:527:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for reduction(+: starve_ct)
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:564:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:607:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:636:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:700:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:721:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:727:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:734:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:772:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for reduction(+: sum_x) reduction(+: sum_y)
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:778:0: warning: ignoring #pragma omp atomic [-Wunknown-pragmas]
#pragma omp atomic
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:40:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:105:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:340:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:363:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:457:0: warning: ignoring #pragma omp declare [-Wunknown-pragmas]
#pragma omp declare reduction (merge : std::vector : omp_out.insert(omp_out.end(), omp_in.begin(), omp_in.end()))
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:475:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for reduction(merge: render_attack_buffer)
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:498:0: warning: ignoring #pragma omp critical [-Wunknown-pragmas]
#pragma omp critical
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:527:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for reduction(+: starve_ct)
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:564:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:607:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:636:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:700:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:721:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:727:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:734:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:772:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for reduction(+: sum_x) reduction(+: sum_y)
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:778:0: warning: ignoring #pragma omp atomic [-Wunknown-pragmas]
#pragma omp atomic
^
[ 95%] Linking CXX shared library libmagent.so
[100%] Linking CXX executable testlib
[100%] Built target magent
[100%] Built target testlib

@Howrhy
Copy link
Author

Howrhy commented Apr 9, 2021

Did you successfully build the project by running bash build.sh? Please attach the build log file so that I can see where is the problem.

-- The C compiler identification is GNU 8.3.1
-- The CXX compiler identification is GNU 4.8.5
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user20202645/MAgent-2/build
[ 10%] Building CXX object CMakeFiles/magent.dir/src/gridworld/RenderGenerator.cc.o
[ 10%] Building CXX object CMakeFiles/magent.dir/src/gridworld/Map.cc.o
[ 20%] Building CXX object CMakeFiles/magent.dir/src/gridworld/AgentType.cc.o
[ 20%] Building CXX object CMakeFiles/magent.dir/src/gridworld/GridWorld.cc.o
[ 35%] Building CXX object CMakeFiles/testlib.dir/src/utility/utility.cc.o
[ 35%] Building CXX object CMakeFiles/testlib.dir/src/gridworld/RewardEngine.cc.o
[ 35%] Building CXX object CMakeFiles/testlib.dir/src/temp_c_booster.cc.o
[ 45%] Building CXX object CMakeFiles/testlib.dir/src/gridworld/GridWorld.cc.o
[ 50%] Building CXX object CMakeFiles/magent.dir/src/runtime_api.cc.o
[ 50%] Building CXX object CMakeFiles/magent.dir/src/temp_c_booster.cc.o
[ 65%] Building CXX object CMakeFiles/testlib.dir/src/gridworld/AgentType.cc.o
[ 65%] Building CXX object CMakeFiles/testlib.dir/src/gridworld/RenderGenerator.cc.o
[ 65%] Building CXX object CMakeFiles/testlib.dir/src/runtime_api.cc.o
[ 75%] Building CXX object CMakeFiles/magent.dir/src/gridworld/test.cc.o
[ 80%] Building CXX object CMakeFiles/testlib.dir/src/gridworld/test.cc.o
[ 80%] Building CXX object CMakeFiles/testlib.dir/src/gridworld/Map.cc.o
[ 90%] Building CXX object CMakeFiles/magent.dir/src/utility/utility.cc.o
[ 90%] Building CXX object CMakeFiles/magent.dir/src/gridworld/RewardEngine.cc.o
/home/user20202645/MAgent-2/src/temp_c_booster.cc:19:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/temp_c_booster.cc:48:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/temp_c_booster.cc:119:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/temp_c_booster.cc:19:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/temp_c_booster.cc:48:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/temp_c_booster.cc:119:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:40:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:105:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:340:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:363:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:457:0: warning: ignoring #pragma omp declare [-Wunknown-pragmas]
#pragma omp declare reduction (merge : std::vector : omp_out.insert(omp_out.end(), omp_in.begin(), omp_in.end()))
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:475:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for reduction(merge: render_attack_buffer)
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:498:0: warning: ignoring #pragma omp critical [-Wunknown-pragmas]
#pragma omp critical
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:527:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for reduction(+: starve_ct)
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:564:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:607:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:636:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:700:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:721:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:727:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:734:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:772:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for reduction(+: sum_x) reduction(+: sum_y)
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:778:0: warning: ignoring #pragma omp atomic [-Wunknown-pragmas]
#pragma omp atomic
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:40:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:105:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:340:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:363:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:457:0: warning: ignoring #pragma omp declare [-Wunknown-pragmas]
#pragma omp declare reduction (merge : std::vector : omp_out.insert(omp_out.end(), omp_in.begin(), omp_in.end()))
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:475:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for reduction(merge: render_attack_buffer)
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:498:0: warning: ignoring #pragma omp critical [-Wunknown-pragmas]
#pragma omp critical
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:527:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for reduction(+: starve_ct)
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:564:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:607:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:636:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:700:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:721:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:727:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:734:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:772:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for reduction(+: sum_x) reduction(+: sum_y)
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:778:0: warning: ignoring #pragma omp atomic [-Wunknown-pragmas]
#pragma omp atomic
^
[ 95%] Linking CXX shared library libmagent.so
[100%] Linking CXX executable testlib
[100%] Built target magent
[100%] Built target testlib

Glad to hear from you, and cmake version 3.20.0

@Howrhy
Copy link
Author

Howrhy commented Apr 9, 2021

Did you successfully build the project by running bash build.sh? Please attach the build log file so that I can see where is the problem.

-- The C compiler identification is GNU 8.3.1
-- The CXX compiler identification is GNU 4.8.5
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user20202645/MAgent-2/build
[ 10%] Building CXX object CMakeFiles/magent.dir/src/gridworld/RenderGenerator.cc.o
[ 10%] Building CXX object CMakeFiles/magent.dir/src/gridworld/Map.cc.o
[ 20%] Building CXX object CMakeFiles/magent.dir/src/gridworld/AgentType.cc.o
[ 20%] Building CXX object CMakeFiles/magent.dir/src/gridworld/GridWorld.cc.o
[ 35%] Building CXX object CMakeFiles/testlib.dir/src/utility/utility.cc.o
[ 35%] Building CXX object CMakeFiles/testlib.dir/src/gridworld/RewardEngine.cc.o
[ 35%] Building CXX object CMakeFiles/testlib.dir/src/temp_c_booster.cc.o
[ 45%] Building CXX object CMakeFiles/testlib.dir/src/gridworld/GridWorld.cc.o
[ 50%] Building CXX object CMakeFiles/magent.dir/src/runtime_api.cc.o
[ 50%] Building CXX object CMakeFiles/magent.dir/src/temp_c_booster.cc.o
[ 65%] Building CXX object CMakeFiles/testlib.dir/src/gridworld/AgentType.cc.o
[ 65%] Building CXX object CMakeFiles/testlib.dir/src/gridworld/RenderGenerator.cc.o
[ 65%] Building CXX object CMakeFiles/testlib.dir/src/runtime_api.cc.o
[ 75%] Building CXX object CMakeFiles/magent.dir/src/gridworld/test.cc.o
[ 80%] Building CXX object CMakeFiles/testlib.dir/src/gridworld/test.cc.o
[ 80%] Building CXX object CMakeFiles/testlib.dir/src/gridworld/Map.cc.o
[ 90%] Building CXX object CMakeFiles/magent.dir/src/utility/utility.cc.o
[ 90%] Building CXX object CMakeFiles/magent.dir/src/gridworld/RewardEngine.cc.o
/home/user20202645/MAgent-2/src/temp_c_booster.cc:19:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/temp_c_booster.cc:48:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/temp_c_booster.cc:119:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/temp_c_booster.cc:19:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/temp_c_booster.cc:48:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/temp_c_booster.cc:119:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:40:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:105:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:340:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:363:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:457:0: warning: ignoring #pragma omp declare [-Wunknown-pragmas]
#pragma omp declare reduction (merge : std::vector : omp_out.insert(omp_out.end(), omp_in.begin(), omp_in.end()))
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:475:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for reduction(merge: render_attack_buffer)
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:498:0: warning: ignoring #pragma omp critical [-Wunknown-pragmas]
#pragma omp critical
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:527:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for reduction(+: starve_ct)
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:564:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:607:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:636:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:700:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:721:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:727:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:734:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:772:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for reduction(+: sum_x) reduction(+: sum_y)
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:778:0: warning: ignoring #pragma omp atomic [-Wunknown-pragmas]
#pragma omp atomic
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:40:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:105:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:340:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:363:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:457:0: warning: ignoring #pragma omp declare [-Wunknown-pragmas]
#pragma omp declare reduction (merge : std::vector : omp_out.insert(omp_out.end(), omp_in.begin(), omp_in.end()))
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:475:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for reduction(merge: render_attack_buffer)
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:498:0: warning: ignoring #pragma omp critical [-Wunknown-pragmas]
#pragma omp critical
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:527:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for reduction(+: starve_ct)
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:564:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:607:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:636:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:700:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:721:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:727:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:734:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:772:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for reduction(+: sum_x) reduction(+: sum_y)
^
/home/user20202645/MAgent-2/src/gridworld/GridWorld.cc:778:0: warning: ignoring #pragma omp atomic [-Wunknown-pragmas]
#pragma omp atomic
^
[ 95%] Linking CXX shared library libmagent.so
[100%] Linking CXX executable testlib
[100%] Built target magent
[100%] Built target testlib

Glad to hear from you, and cmake version 3.20.0

and I can run [python examples/api_demo.py ] successfully, in build/ there is render/cofig.json and video_1.txt

@Howrhy
Copy link
Author

Howrhy commented Apr 9, 2021

But still I don't understand how to Execute ./render , when I open index.html ,the console toasts that "render-handle.js:204 WebSocket connection to 'ws://localhost:9030/' failed: ",Sorry to trouble you, however, I do need help.Thanks a lot!

@Kipsora
Copy link
Collaborator

Kipsora commented Apr 9, 2021

From the log you attached above, it seems that the render wasn't built. Did you modify the CMakeLists.txt file by anyhow? Can you try to clone the repo again to make a clean compile? It also showed from your log messages that you haven't configured OpenMP correctly, that'd make the simulation engine not be able to utilize the multiple cores on your computer. If you are using Ubuntu, try sudo apt install libomp-dev and then recompile.

@loveisacat
Copy link

I also have the replay video problem. Especially, in the new git https://github.com/Farama-Foundation/MAgent.git.
There is no render file.

@Kipsora
Copy link
Collaborator

Kipsora commented Jan 31, 2022

I also have the replay video problem. Especially, in the new git https://github.com/Farama-Foundation/MAgent.git. There is no render file.

Again, please attach your log file and please follow the steps in README. If your issue still persists and is different from the above, please create another issue.

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

3 participants