Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2021
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.23 KB | None | 0 0
  1. Adding directories to PATH:
  2. PATH += /home/diego/Desktop/emsdk
  3. PATH += /home/diego/Desktop/emsdk/upstream/emscripten
  4. PATH += /home/diego/Desktop/emsdk/node/14.15.5_64bit/bin
  5.  
  6. Setting environment variables:
  7. PATH = /home/diego/Desktop/emsdk:/home/diego/Desktop/emsdk/upstream/emscripten:/home/diego/Desktop/emsdk/node/14.15.5_64bit/bin:/home/diego/geckodriver:/home/diego/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
  8. EMSDK = /home/diego/Desktop/emsdk
  9. EM_CONFIG = /home/diego/Desktop/emsdk/.emscripten
  10. EMSDK_NODE = /home/diego/Desktop/emsdk/node/14.15.5_64bit/bin/node
  11. In file included from main.cpp:2:
  12. In file included from ./foo.h:4:
  13. In file included from ./lux/kit.hpp:7:
  14. ./lux/lux_io.hpp:4:7: error: redefinition of 'INPUT_CONSTANTS'
  15. class INPUT_CONSTANTS {
  16. ^
  17. ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
  18. #include "lux_io.hpp"
  19. ^
  20. ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
  21. #include "lux_io.hpp"
  22. ^
  23. ./lux/lux_io.hpp:4:7: note: unguarded header; consider using #ifdef guards or #pragma once
  24. class INPUT_CONSTANTS {
  25. ^
  26. In file included from main.cpp:2:
  27. In file included from ./foo.h:4:
  28. In file included from ./lux/kit.hpp:7:
  29. ./lux/lux_io.hpp:14:25: error: redefinition of 'DONE'
  30. string INPUT_CONSTANTS::DONE = "D_DONE";
  31. ^
  32. ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
  33. #include "lux_io.hpp"
  34. ^
  35. ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
  36. #include "lux_io.hpp"
  37. ^
  38. ./lux/lux_io.hpp:14:25: note: unguarded header; consider using #ifdef guards or #pragma once
  39. string INPUT_CONSTANTS::DONE = "D_DONE";
  40. ^
  41. In file included from main.cpp:2:
  42. In file included from ./foo.h:4:
  43. In file included from ./lux/kit.hpp:7:
  44. ./lux/lux_io.hpp:16:25: error: redefinition of 'RESEARCH_POINTS'
  45. string INPUT_CONSTANTS::RESEARCH_POINTS = "rp";
  46. ^
  47. ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
  48. #include "lux_io.hpp"
  49. ^
  50. ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
  51. #include "lux_io.hpp"
  52. ^
  53. ./lux/lux_io.hpp:16:25: note: unguarded header; consider using #ifdef guards or #pragma once
  54. string INPUT_CONSTANTS::RESEARCH_POINTS = "rp";
  55. ^
  56. In file included from main.cpp:2:
  57. In file included from ./foo.h:4:
  58. In file included from ./lux/kit.hpp:7:
  59. ./lux/lux_io.hpp:17:25: error: redefinition of 'RESOURCES'
  60. string INPUT_CONSTANTS::RESOURCES ="r" ;
  61. ^
  62. ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
  63. #include "lux_io.hpp"
  64. ^
  65. ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
  66. #include "lux_io.hpp"
  67. ^
  68. ./lux/lux_io.hpp:17:25: note: unguarded header; consider using #ifdef guards or #pragma once
  69. string INPUT_CONSTANTS::RESOURCES ="r" ;
  70. ^
  71. In file included from main.cpp:2:
  72. In file included from ./foo.h:4:
  73. In file included from ./lux/kit.hpp:7:
  74. ./lux/lux_io.hpp:18:25: error: redefinition of 'UNITS'
  75. string INPUT_CONSTANTS::UNITS = "u";
  76. ^
  77. ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
  78. #include "lux_io.hpp"
  79. ^
  80. ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
  81. #include "lux_io.hpp"
  82. ^
  83. ./lux/lux_io.hpp:18:25: note: unguarded header; consider using #ifdef guards or #pragma once
  84. string INPUT_CONSTANTS::UNITS = "u";
  85. ^
  86. In file included from main.cpp:2:
  87. In file included from ./foo.h:4:
  88. In file included from ./lux/kit.hpp:7:
  89. ./lux/lux_io.hpp:19:25: error: redefinition of 'CITY'
  90. string INPUT_CONSTANTS::CITY = "c";
  91. ^
  92. ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
  93. #include "lux_io.hpp"
  94. ^
  95. ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
  96. #include "lux_io.hpp"
  97. ^
  98. ./lux/lux_io.hpp:19:25: note: unguarded header; consider using #ifdef guards or #pragma once
  99. string INPUT_CONSTANTS::CITY = "c";
  100. ^
  101. In file included from main.cpp:2:
  102. In file included from ./foo.h:4:
  103. In file included from ./lux/kit.hpp:7:
  104. ./lux/lux_io.hpp:20:25: error: redefinition of 'CITY_TILES'
  105. string INPUT_CONSTANTS::CITY_TILES = "ct";
  106. ^
  107. ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
  108. #include "lux_io.hpp"
  109. ^
  110. ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
  111. #include "lux_io.hpp"
  112. ^
  113. ./lux/lux_io.hpp:20:25: note: unguarded header; consider using #ifdef guards or #pragma once
  114. string INPUT_CONSTANTS::CITY_TILES = "ct";
  115. ^
  116. In file included from main.cpp:2:
  117. In file included from ./foo.h:4:
  118. In file included from ./lux/kit.hpp:7:
  119. ./lux/lux_io.hpp:21:25: error: redefinition of 'CELL_COOLDOWN'
  120. string INPUT_CONSTANTS::CELL_COOLDOWN = "ccd";
  121. ^
  122. ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
  123. #include "lux_io.hpp"
  124. ^
  125. ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
  126. #include "lux_io.hpp"
  127. ^
  128. ./lux/lux_io.hpp:21:25: note: unguarded header; consider using #ifdef guards or #pragma once
  129. string INPUT_CONSTANTS::CELL_COOLDOWN = "ccd";
  130. ^
  131. In file included from main.cpp:2:
  132. In file included from ./foo.h:4:
  133. In file included from ./lux/kit.hpp:9:
  134. ./lux/annotate.hpp:4:9: error: redefinition of 'Annotate'
  135. class Annotate {
  136. ^
  137. ./lux/kit.hpp:9:10: note: './lux/annotate.hpp' included multiple times, additional include site here
  138. #include "annotate.hpp"
  139. ^
  140. ./lux/kit.hpp:9:10: note: './lux/annotate.hpp' included multiple times, additional include site here
  141. #include "annotate.hpp"
  142. ^
  143. ./lux/annotate.hpp:4:9: note: unguarded header; consider using #ifdef guards or #pragma once
  144. class Annotate {
  145. ^
  146. In file included from main.cpp:2:
  147. In file included from ./foo.h:4:
  148. ./lux/kit.hpp:15:19: error: redefinition of 'getline'
  149. static string getline()
  150. ^
  151. ./lux/kit.hpp:15:19: note: previous definition is here
  152. static string getline()
  153. ^
  154. In file included from main.cpp:2:
  155. In file included from ./foo.h:4:
  156. ./lux/kit.hpp:36:53: error: redefinition of default argument
  157. static vector<string> tokenize(string s, string del = " ")
  158. ^ ~~~
  159. ./lux/kit.hpp:36:53: note: previous definition is here
  160. static vector<string> tokenize(string s, string del = " ")
  161. ^ ~~~
  162. In file included from main.cpp:2:
  163. In file included from ./foo.h:4:
  164. ./lux/kit.hpp:51:11: error: redefinition of 'Agent'
  165. class Agent
  166. ^
  167. main.cpp:1:10: note: './lux/kit.hpp' included multiple times, additional include site here
  168. #include "lux/kit.hpp"
  169. ^
  170. ./foo.h:4:10: note: './lux/kit.hpp' included multiple times, additional include site here
  171. #include "lux/kit.hpp"
  172. ^
  173. ./lux/kit.hpp:51:11: note: unguarded header; consider using #ifdef guards or #pragma once
  174. class Agent
  175. ^
  176. 12 errors generated.
  177. emcc: error: '/home/diego/Desktop/emsdk/upstream/bin/clang++ -target wasm32-unknown-emscripten -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=25 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/home/diego/Desktop/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat main.cpp -c -o /tmp/emscripten_temp_a7skmly0/main_0.o' failed (returned 1)
  178.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement