Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- /usr/bin/ld: /tmp/ccldwsPN.o: in function `LTexture::loadFromFile(std::__cxx11:: basic_string<char, std::char_traits<char>, std::allocator<char> >)':
- 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'
- /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'
- /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'
- /usr/bin/ld: /tmp/ccldwsPN.o: in function `loadMedia()':
- 15_rotation_and_flipping.cpp:(.text+0x4f8): undefined reference to `std::allocat or<char>::allocator()'
- /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&)'
- /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()'
- /usr/bin/ld: 15_rotation_and_flipping.cpp:(.text+0x53f): undefined reference to `std::allocator<char>::~allocator()'
- /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()'
- /usr/bin/ld: 15_rotation_and_flipping.cpp:(.text+0x590): undefined reference to `std::allocator<char>::~allocator()'
- /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'
- collect2: error: ld returned 1 exit status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement