Advertisement
Guest User

error while building compiler

a guest
Feb 21st, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.36 KB | None | 0 0
  1. g++ -fPIC -std=c++11 -Wall -O3 -g -I./JDI/src -I../shared -I../shared/libpng-util -I../shared/protos/codegen -I. -MMD -MP -c -o .eobjs/./compiler/jdi_utility.o compiler/jdi_utility.cpp
  2. g++ -fPIC -std=c++11 -Wall -O3 -g -I./JDI/src -I../shared -I../shared/libpng-util -I../shared/protos/codegen -I. -MMD -MP -c -o .eobjs/./compiler/compile_common.o compiler/compile_common.cpp
  3. g++ -fPIC -std=c++11 -Wall -O3 -g -I./JDI/src -I../shared -I../shared/libpng-util -I../shared/protos/codegen -I. -MMD -MP -c -o .eobjs/./compiler/compile.o compiler/compile.cpp
  4. compiler/compile.cpp: In member function ‘virtual int lang_CPP::compile(const GameData&, const char*, int)’:
  5. compiler/compile.cpp:440:56: error: no match for ‘operator[]’ (operand types are ‘const google::protobuf::RepeatedPtrField<buffers::resources::Timeline_Moment>’ and ‘int’)
  6. wto << " curr[" << game.timelines[i].moments()[j].step()
  7. ^
  8. g++ -fPIC -std=c++11 -Wall -O3 -g -I./JDI/src -I../shared -I../shared/libpng-util -I../shared/protos/codegen -I. -MMD -MP -c -o .eobjs/./filesystem/file_find.o filesystem/file_find.cpp
  9. g++ -fPIC -std=c++11 -Wall -O3 -g -I./JDI/src -I../shared -I../shared/libpng-util -I../shared/protos/codegen -I. -MMD -MP -c -o .eobjs/./frontend.o frontend.cpp
  10. g++ -fPIC -std=c++11 -Wall -O3 -g -I./JDI/src -I../shared -I../shared/libpng-util -I../shared/protos/codegen -I. -MMD -MP -c -o .eobjs/./main.o main.cpp
  11. g++ -fPIC -std=c++11 -Wall -O3 -g -I./JDI/src -I../shared -I../shared/libpng-util -I../shared/protos/codegen -I. -MMD -MP -c -o .eobjs/./settings.o settings.cpp
  12. g++ -fPIC -std=c++11 -Wall -O3 -g -I./JDI/src -I../shared -I../shared/libpng-util -I../shared/protos/codegen -I. -MMD -MP -c -o .eobjs/./makedir.o makedir.cpp
  13. g++ -fPIC -std=c++11 -Wall -O3 -g -I./JDI/src -I../shared -I../shared/libpng-util -I../shared/protos/codegen -I. -MMD -MP -c -o .eobjs/./compiler/compile.o compiler/compile.cpp
  14. compiler/compile.cpp: In member function ‘virtual int lang_CPP::compile(const GameData&, const char*, int)’:
  15. compiler/compile.cpp:440:56: error: no match for ‘operator[]’ (operand types are ‘const google::protobuf::RepeatedPtrField<buffers::resources::Timeline_Moment>’ and ‘int’)
  16. wto << " curr[" << game.timelines[i].moments()[j].step()
  17. ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement