Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Adding directories to PATH:
- PATH += /home/diego/Desktop/emsdk
- PATH += /home/diego/Desktop/emsdk/upstream/emscripten
- PATH += /home/diego/Desktop/emsdk/node/14.15.5_64bit/bin
- Setting environment variables:
- 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
- EMSDK = /home/diego/Desktop/emsdk
- EM_CONFIG = /home/diego/Desktop/emsdk/.emscripten
- EMSDK_NODE = /home/diego/Desktop/emsdk/node/14.15.5_64bit/bin/node
- In file included from main.cpp:2:
- In file included from ./foo.h:4:
- In file included from ./lux/kit.hpp:7:
- ./lux/lux_io.hpp:4:7: error: redefinition of 'INPUT_CONSTANTS'
- class INPUT_CONSTANTS {
- ^
- ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
- #include "lux_io.hpp"
- ^
- ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
- #include "lux_io.hpp"
- ^
- ./lux/lux_io.hpp:4:7: note: unguarded header; consider using #ifdef guards or #pragma once
- class INPUT_CONSTANTS {
- ^
- In file included from main.cpp:2:
- In file included from ./foo.h:4:
- In file included from ./lux/kit.hpp:7:
- ./lux/lux_io.hpp:14:25: error: redefinition of 'DONE'
- string INPUT_CONSTANTS::DONE = "D_DONE";
- ^
- ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
- #include "lux_io.hpp"
- ^
- ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
- #include "lux_io.hpp"
- ^
- ./lux/lux_io.hpp:14:25: note: unguarded header; consider using #ifdef guards or #pragma once
- string INPUT_CONSTANTS::DONE = "D_DONE";
- ^
- In file included from main.cpp:2:
- In file included from ./foo.h:4:
- In file included from ./lux/kit.hpp:7:
- ./lux/lux_io.hpp:16:25: error: redefinition of 'RESEARCH_POINTS'
- string INPUT_CONSTANTS::RESEARCH_POINTS = "rp";
- ^
- ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
- #include "lux_io.hpp"
- ^
- ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
- #include "lux_io.hpp"
- ^
- ./lux/lux_io.hpp:16:25: note: unguarded header; consider using #ifdef guards or #pragma once
- string INPUT_CONSTANTS::RESEARCH_POINTS = "rp";
- ^
- In file included from main.cpp:2:
- In file included from ./foo.h:4:
- In file included from ./lux/kit.hpp:7:
- ./lux/lux_io.hpp:17:25: error: redefinition of 'RESOURCES'
- string INPUT_CONSTANTS::RESOURCES ="r" ;
- ^
- ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
- #include "lux_io.hpp"
- ^
- ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
- #include "lux_io.hpp"
- ^
- ./lux/lux_io.hpp:17:25: note: unguarded header; consider using #ifdef guards or #pragma once
- string INPUT_CONSTANTS::RESOURCES ="r" ;
- ^
- In file included from main.cpp:2:
- In file included from ./foo.h:4:
- In file included from ./lux/kit.hpp:7:
- ./lux/lux_io.hpp:18:25: error: redefinition of 'UNITS'
- string INPUT_CONSTANTS::UNITS = "u";
- ^
- ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
- #include "lux_io.hpp"
- ^
- ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
- #include "lux_io.hpp"
- ^
- ./lux/lux_io.hpp:18:25: note: unguarded header; consider using #ifdef guards or #pragma once
- string INPUT_CONSTANTS::UNITS = "u";
- ^
- In file included from main.cpp:2:
- In file included from ./foo.h:4:
- In file included from ./lux/kit.hpp:7:
- ./lux/lux_io.hpp:19:25: error: redefinition of 'CITY'
- string INPUT_CONSTANTS::CITY = "c";
- ^
- ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
- #include "lux_io.hpp"
- ^
- ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
- #include "lux_io.hpp"
- ^
- ./lux/lux_io.hpp:19:25: note: unguarded header; consider using #ifdef guards or #pragma once
- string INPUT_CONSTANTS::CITY = "c";
- ^
- In file included from main.cpp:2:
- In file included from ./foo.h:4:
- In file included from ./lux/kit.hpp:7:
- ./lux/lux_io.hpp:20:25: error: redefinition of 'CITY_TILES'
- string INPUT_CONSTANTS::CITY_TILES = "ct";
- ^
- ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
- #include "lux_io.hpp"
- ^
- ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
- #include "lux_io.hpp"
- ^
- ./lux/lux_io.hpp:20:25: note: unguarded header; consider using #ifdef guards or #pragma once
- string INPUT_CONSTANTS::CITY_TILES = "ct";
- ^
- In file included from main.cpp:2:
- In file included from ./foo.h:4:
- In file included from ./lux/kit.hpp:7:
- ./lux/lux_io.hpp:21:25: error: redefinition of 'CELL_COOLDOWN'
- string INPUT_CONSTANTS::CELL_COOLDOWN = "ccd";
- ^
- ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
- #include "lux_io.hpp"
- ^
- ./lux/kit.hpp:7:10: note: './lux/lux_io.hpp' included multiple times, additional include site here
- #include "lux_io.hpp"
- ^
- ./lux/lux_io.hpp:21:25: note: unguarded header; consider using #ifdef guards or #pragma once
- string INPUT_CONSTANTS::CELL_COOLDOWN = "ccd";
- ^
- In file included from main.cpp:2:
- In file included from ./foo.h:4:
- In file included from ./lux/kit.hpp:9:
- ./lux/annotate.hpp:4:9: error: redefinition of 'Annotate'
- class Annotate {
- ^
- ./lux/kit.hpp:9:10: note: './lux/annotate.hpp' included multiple times, additional include site here
- #include "annotate.hpp"
- ^
- ./lux/kit.hpp:9:10: note: './lux/annotate.hpp' included multiple times, additional include site here
- #include "annotate.hpp"
- ^
- ./lux/annotate.hpp:4:9: note: unguarded header; consider using #ifdef guards or #pragma once
- class Annotate {
- ^
- In file included from main.cpp:2:
- In file included from ./foo.h:4:
- ./lux/kit.hpp:15:19: error: redefinition of 'getline'
- static string getline()
- ^
- ./lux/kit.hpp:15:19: note: previous definition is here
- static string getline()
- ^
- In file included from main.cpp:2:
- In file included from ./foo.h:4:
- ./lux/kit.hpp:36:53: error: redefinition of default argument
- static vector<string> tokenize(string s, string del = " ")
- ^ ~~~
- ./lux/kit.hpp:36:53: note: previous definition is here
- static vector<string> tokenize(string s, string del = " ")
- ^ ~~~
- In file included from main.cpp:2:
- In file included from ./foo.h:4:
- ./lux/kit.hpp:51:11: error: redefinition of 'Agent'
- class Agent
- ^
- main.cpp:1:10: note: './lux/kit.hpp' included multiple times, additional include site here
- #include "lux/kit.hpp"
- ^
- ./foo.h:4:10: note: './lux/kit.hpp' included multiple times, additional include site here
- #include "lux/kit.hpp"
- ^
- ./lux/kit.hpp:51:11: note: unguarded header; consider using #ifdef guards or #pragma once
- class Agent
- ^
- 12 errors generated.
- 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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement