Advertisement
Guest User

Untitled

a guest
Feb 9th, 2021
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.02 KB | None | 0 0
  1. VirtualBox:~/sdl/tutorial6/15_rotation_and_flipping$ gcc 15_ro tation_and_flipping.cpp -w -lSDL2 -lSDL2_image -I/usr/local/include/SDL2 -D_REEN TRANT
  2. /usr/bin/ld: /tmp/ccldwsPN.o: in function `LTexture::loadFromFile(std::__cxx11:: basic_string<char, std::char_traits<char>, std::allocator<char> >)':
  3. 15_rotation_and_flipping.cpp:(.text+0x81): undefined reference to `std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() cons t'
  4. /usr/bin/ld: 15_rotation_and_flipping.cpp:(.text+0xa8): undefined reference to ` std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >: :c_str() const'
  5. /usr/bin/ld: 15_rotation_and_flipping.cpp:(.text+0x12b): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ::c_str() const'
  6. /usr/bin/ld: /tmp/ccldwsPN.o: in function `loadMedia()':
  7. 15_rotation_and_flipping.cpp:(.text+0x4f8): undefined reference to `std::allocat or<char>::allocator()'
  8. /usr/bin/ld: 15_rotation_and_flipping.cpp:(.text+0x50f): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ::basic_string(char const*, std::allocator<char> const&)'
  9. /usr/bin/ld: 15_rotation_and_flipping.cpp:(.text+0x533): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ::~basic_string()'
  10. /usr/bin/ld: 15_rotation_and_flipping.cpp:(.text+0x53f): undefined reference to `std::allocator<char>::~allocator()'
  11. /usr/bin/ld: 15_rotation_and_flipping.cpp:(.text+0x57b): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ::~basic_string()'
  12. /usr/bin/ld: 15_rotation_and_flipping.cpp:(.text+0x590): undefined reference to `std::allocator<char>::~allocator()'
  13. /usr/bin/ld: /tmp/ccldwsPN.o:(.data.rel.local.DW.ref.__gxx_personality_v0[DW.ref .__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0'
  14. collect2: error: ld returned 1 exit status
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement