Advertisement
Guest User

error runing empty game ....error 2

a guest
Feb 22nd, 2020
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.56 KB | None | 0 0
  1.  
  2. [g++] SHELLmain.cpp
  3. [g++] Universal_System/fileio.cpp
  4. [g++] Universal_System/image_formats.cpp
  5. Universal_System/image_formats.cpp:214:18: warning: non-static const member ‘const uint32_t enigma::{anonymous}::BMPFileHeader::dataStart’ in class without a constructor [-Wuninitialized]
  6. 214 | const uint32_t dataStart;
  7. | ^~~~~~~~~
  8. Universal_System/image_formats.cpp: In function ‘unsigned char* enigma::image_decode_bmp(const string&, unsigned int*, unsigned int*, unsigned int*, unsigned int*, bool)’:
  9. Universal_System/image_formats.cpp:265:43: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wformat=]
  10. 265 | fprintf(stderr, "Junk bitmap of size %ul", image_data.size());
  11. | ~^ ~~~~~~~~~~~~~~~~~
  12. | | |
  13. | unsigned int std::__cxx11::basic_string<char>::size_type {aka long unsigned int}
  14. | %lu
  15. Universal_System/image_formats.cpp:274:43: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wformat=]
  16. 274 | fprintf(stderr, "Junk bitmap of size %ul", image_data.size());
  17. | ~^ ~~~~~~~~~~~~~~~~~
  18. | | |
  19. | unsigned int std::__cxx11::basic_string<char>::size_type {aka long unsigned int}
  20. | %lu
  21. [g++] Universal_System/Object_Tiers/planar_object.cpp
  22. [g++] Universal_System/Resources/backgroundinit.cpp
  23. [g++] Universal_System/Resources/fontinit.cpp
  24. [g++] Universal_System/Resources/loading.cpp
  25. [g++] Universal_System/Resources/soundinit.cpp
  26. [g++] Universal_System/Resources/spriteinit.cpp
  27. Linking /tmp/egm960924898526177761.tmp
  28. /usr/bin/ld: /home/hughieg/.enigma/.eobjs/Linux/Linux/GNU_GCC_G++/Run/Platforms/General/PFwindow.o: in function `enigma_user::window_center()':
  29. PFwindow.cpp:(.text+0xba5): undefined reference to `enigma_user::display_get_x()'
  30. /usr/bin/ld: PFwindow.cpp:(.text+0xbc1): undefined reference to `enigma_user::display_get_y()'
  31. /usr/bin/ld: /home/hughieg/.enigma/.eobjs/Linux/Linux/GNU_GCC_G++/Run/Platforms/General/PFwindow.o: in function `enigma_user::window_default(bool)':
  32. PFwindow.cpp:(.text+0x154f): undefined reference to `enigma_user::display_get_x()'
  33. /usr/bin/ld: PFwindow.cpp:(.text+0x156b): undefined reference to `enigma_user::display_get_y()'
  34. collect2: error: ld returned 1 exit status
  35. make[1]: *** [Makefile:169: compile_game] Error 1
  36. make[1]: Leaving directory '/home/hughieg/Hold/enigma-dev/ENIGMAsystem/SHELL'
  37. make: *** [Makefile:22: Game] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement