Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu News / Gosu 0.7.49 released
- - By jlnr (dev) Date 2013-10-28 04:44
A minor release that mostly fixes the gem installation on OS X 10.9. I couldn't find anything else in the git change log that seems relevant; only changes to the build system, iOS port etc...

I have also merged a pull request by oli-obk that improves Gosu's support for C++11. oil, how do you enable it on Linux? :)
Reply
Parent - By oli.obk Date 2013-10-28 11:57
by default cmake compiles with c++11
on any other system, c++11 is enabled if the current compilation system supports it (which basically means it is ignored on mac since i have no clue about it, and on msvc it depends on the msvc version, probably 12 or sth)
Reply
Parent - By SPK Date 2013-10-28 18:46
This reminds me of my unfinished quest (game icon) :( Don't release 0.7.50 before it's finished and merged! :P
Parent - - By oli.obk Date 2013-10-28 21:14
wow, we just almost got gosu to run on osx with cmake
at the end we had some linker errors when compiling an example, but we got close.
i'll post the errors tomorrow, maybe someone can shed some light on a non-mac-user's attempt to compile gosu on a non-c++-user's macbook
Reply
Parent - - By oli.obk Date 2013-10-29 19:12
Undefined symbols for architecture x86_64:
  "_AudioConverterGetProperty", referenced from:
      Gosu::AudioToolboxFile::initSeekOffset() in libGosu.a(AudioOpenAL.cpp.o)
  "_AudioFileClose", referenced from:
      Gosu::AudioToolboxFile::~AudioToolboxFile() in libGosu.a(AudioOpenAL.cpp.o)
  "_AudioFileOpenWithCallbacks", referenced from:
      Gosu::AudioToolboxFile::AudioToolboxFile(Gosu::Reader) in libGosu.a(AudioOpenAL.cpp.o)
  "_ExtAudioFileDispose", referenced from:
      Gosu::AudioToolboxFile::~AudioToolboxFile() in libGosu.a(AudioOpenAL.cpp.o)
  "_ExtAudioFileGetProperty", referenced from:
      Gosu::AudioToolboxFile::init() in libGosu.a(AudioOpenAL.cpp.o)
      Gosu::AudioToolboxFile::initSeekOffset() in libGosu.a(AudioOpenAL.cpp.o)
  "_ExtAudioFileOpen", referenced from:
      Gosu::AudioToolboxFile::AudioToolboxFile(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in libGosu.a(AudioOpenAL.cpp.o)
  "_ExtAudioFileRead", referenced from:
      Gosu::AudioToolboxFile::readData(void*, unsigned long) in libGosu.a(AudioOpenAL.cpp.o)
  "_ExtAudioFileSeek", referenced from:
      Gosu::AudioToolboxFile::rewind() in libGosu.a(AudioOpenAL.cpp.o)
  "_ExtAudioFileSetProperty", referenced from:
      Gosu::AudioToolboxFile::init() in libGosu.a(AudioOpenAL.cpp.o)
      Gosu::AudioToolboxFile::initClientFormatBasedOn(AudioStreamBasicDescription const&) in libGosu.a(AudioOpenAL.cpp.o)
  "_ExtAudioFileWrapAudioFileID", referenced from:
      Gosu::AudioToolboxFile::AudioToolboxFile(Gosu::Reader) in libGosu.a(AudioOpenAL.cpp.o)
  "_IOCreatePlugInInterfaceForService", referenced from:
      (anonymous namespace)::System::getDeviceInterface(unsigned int) in libGosu.a(InputMac.mm.o)
  "_IOIteratorNext", referenced from:
      (anonymous namespace)::System::System() in libGosu.a(InputMac.mm.o)
  "_IOMasterPort", referenced from:
      (anonymous namespace)::System::System() in libGosu.a(InputMac.mm.o)
  "_IOObjectRelease", referenced from:
      (anonymous namespace)::IOScope::~IOScope() in libGosu.a(InputMac.mm.o)
  "_IORegistryEntryCreateCFProperties", referenced from:
      (anonymous namespace)::System::addDevice(unsigned int) in libGosu.a(InputMac.mm.o)
  "_IOServiceGetMatchingServices", referenced from:
      (anonymous namespace)::System::System() in libGosu.a(InputMac.mm.o)
  "_IOServiceMatching", referenced from:
      (anonymous namespace)::System::System() in libGosu.a(InputMac.mm.o)
  "_LMGetKbdType", referenced from:
      (anonymous namespace)::initCharTranslation() in libGosu.a(InputMac.mm.o)
  "_TISCopyCurrentKeyboardLayoutInputSource", referenced from:
      (anonymous namespace)::initCharTranslation() in libGosu.a(InputMac.mm.o)
  "_TISGetInputSourceProperty", referenced from:
      (anonymous namespace)::initCharTranslation() in libGosu.a(InputMac.mm.o)
  "Gosu::defaultFontName()", referenced from:
      GameWindow::GameWindow() in main.cpp.o
  "Gosu::sharedResourcePrefix()", referenced from:
      GameWindow::GameWindow() in main.cpp.o
      Player::Player(Gosu::Graphics&) in main.cpp.o
  "Gosu::drawText(Gosu::Bitmap&, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, int, int, Gosu::Color, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned int, unsigned int)", referenced from:
      Gosu::Font::Impl::imageAt(Gosu::FormattedString const&, unsigned int) in libGosu.a(Font.cpp.o)
      Gosu::createText(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned int, unsigned int) in libGosu.a(Text.cpp.o)
      Gosu::(anonymous namespace)::TextBlockBuilder::addLine(__gnu_cxx::__normal_iterator<Gosu::(anonymous namespace)::WordInfo const*, std::vector<Gosu::(anonymous namespace)::WordInfo, std::allocator<Gosu::(anonymous namespace)::WordInfo> > >, __gnu_cxx::__normal_iterator<Gosu::(anonymous namespace)::WordInfo const*, std::vector<Gosu::(anonymous namespace)::WordInfo, std::allocator<Gosu::(anonymous namespace)::WordInfo> > >, unsigned int, bool) in libGosu.a(Text.cpp.o)
  "Gosu::textWidth(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned int, unsigned int)", referenced from:
      Gosu::Font::Impl::imageAt(Gosu::FormattedString const&, unsigned int) in libGosu.a(Font.cpp.o)
      Gosu::createText(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned int, unsigned int) in libGosu.a(Text.cpp.o)
      Gosu::(anonymous namespace)::TextBlockBuilder::textWidth(Gosu::FormattedString const&) const in libGosu.a(Text.cpp.o)
      Gosu::(anonymous namespace)::TextBlockBuilder::addLine(__gnu_cxx::__normal_iterator<Gosu::(anonymous namespace)::WordInfo const*, std::vector<Gosu::(anonymous namespace)::WordInfo, std::allocator<Gosu::(anonymous namespace)::WordInfo> > >, __gnu_cxx::__normal_iterator<Gosu::(anonymous namespace)::WordInfo const*, std::vector<Gosu::(anonymous namespace)::WordInfo, std::allocator<Gosu::(anonymous namespace)::WordInfo> > >, unsigned int, bool) in libGosu.a(Text.cpp.o)
  "_iconv", referenced from:
      std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > Gosu::iconvert<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, &((anonymous namespace)::UCS_4_INTERNAL), &((anonymous namespace)::UTF_8), std::string>(std::string const&) in libGosu.a(Utility.cpp.o)
      std::string Gosu::iconvert<std::string, &((anonymous namespace)::UTF_8), &((anonymous namespace)::UCS_4_INTERNAL), std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in libGosu.a(Utility.cpp.o)
      std::vector<unsigned short, std::allocator<unsigned short> > Gosu::iconvert<std::vector<unsigned short, std::allocator<unsigned short> >, &((anonymous namespace)::UCS_2_INTERNAL), &((anonymous namespace)::UCS_4_INTERNAL), std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in libGosu.a(Utility.cpp.o)
  "_iconv_open", referenced from:
      std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > Gosu::iconvert<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, &((anonymous namespace)::UCS_4_INTERNAL), &((anonymous namespace)::UTF_8), std::string>(std::string const&) in libGosu.a(Utility.cpp.o)
      std::string Gosu::iconvert<std::string, &((anonymous namespace)::UTF_8), &((anonymous namespace)::UCS_4_INTERNAL), std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in libGosu.a(Utility.cpp.o)
      std::vector<unsigned short, std::allocator<unsigned short> > Gosu::iconvert<std::vector<unsigned short, std::allocator<unsigned short> >, &((anonymous namespace)::UCS_2_INTERNAL), &((anonymous namespace)::UCS_4_INTERNAL), std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in libGosu.a(Utility.cpp.o)
  "_kTISPropertyUnicodeKeyLayoutData", referenced from:
      (anonymous namespace)::initCharTranslation() in libGosu.a(InputMac.mm.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Users/cls/workspace/gosu/examples/TutorialExample] Error 1
make[1]: *** [CMakeFiles/TutorialExample.dir/all] Error 2
make: *** [all] Error 2
Reply
Parent - By jlnr (dev) Date 2013-10-30 01:03
So that means...cmake does not magically work for OS X? ;)
Up Topic Gosu / Gosu News / Gosu 0.7.49 released

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill