SHARE
TWEET

Output after adding -lstdc++

RunnerPack Mar 19th, 2016 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. C:/gosu/lib/libgosu.a(Audio.o): In function `ZN4Gosu7OggFile4openEv':
  2. C:\gosu/src/Audio/OggFile.hpp:30: undefined reference to `stb_vorbis_open_memory'
  3. C:\gosu/src/Audio/OggFile.hpp:39: undefined reference to `stb_vorbis_get_info'
  4. C:/gosu/lib/libgosu.a(Audio.o): In function `ZN4Gosu7OggFile5closeEv':
  5. C:\gosu/src/Audio/OggFile.hpp:47: undefined reference to `stb_vorbis_close'
  6. C:/gosu/lib/libgosu.a(Audio.o): In function `ZN4Gosu7OggFile8readDataEPvj':
  7. C:\gosu/src/Audio/OggFile.hpp:83: undefined reference to `stb_vorbis_get_samples_short_interleaved'
  8. C:/gosu/lib/libgosu.a(Audio.o): In function `ZN4Gosu7OggFile6rewindEv':
  9. C:\gosu/src/Audio/OggFile.hpp:96: undefined reference to `stb_vorbis_seek_start'
  10. C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/libgcc_eh.a(unwind-dw2.o):(.text+0x1a4b): undefined reference to `pthread_once'
  11. C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x1a3): undefined reference to `pthread_mutex_init'
  12. C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0xf99): undefined reference to `pthread_once'
  13. C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0xfa5): undefined reference to `pthread_mutex_lock'
  14. C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x10b4): undefined reference to `pthread_once'
  15. C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x10c0): undefined reference to `pthread_mutex_lock'
  16. C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x118b): undefined reference to `pthread_once'
  17. C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x1197): undefined reference to `pthread_mutex_lock'
  18. C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x11f9): undefined reference to `pthread_mutex_unlock'
  19. C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x1228): undefined reference to `pthread_mutex_unlock'
  20. C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x12af): undefined reference to `pthread_once'
  21. C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x12bb): undefined reference to `pthread_mutex_lock'
  22. C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x12f7): undefined reference to `pthread_mutex_unlock'
  23. C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x13b6): undefined reference to `pthread_mutex_unlock'
  24. C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0xfc4): undefined reference to `pthread_mutex_unlock'
  25. C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x10df): undefined reference to `pthread_mutex_unlock'
  26. collect2.exe: error: ld returned 1 exit status
  27. make: *** [Tutorial.exe] Error 1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top