zetaglest binary output to a different directory
Closed this issue · 1 comments
andy5995 commented
My test results were skewed when I worked on zetaglest/zetaglest-source@aa54e20 and now ZG is temporarily unplayable.
******************************************************
Unknown class identifier:
Stack Trace:
./zetaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)address [0x55bfb96f8bdc] line: 0
./zetaglest:Shared::Sound::StaticSound::load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)address [0x55bfb96c4b5e] line: 0
./zetaglest:Glest::Game::PlaySoundClip::getSound(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)address [0x55bfb9228ee5] line: 0
./zetaglest:Glest::Game::MenuStateRoot::mouseClick(int, int, Shared::Platform::MouseButton)address [0x55bfb944ef4d] line: 0
./zetaglest:Glest::Game::MainWindow::eventMouseDown(int, int, Shared::Platform::MouseButton)address [0x55bfb92d52e2] line: 0
./zetaglest:Shared::Platform::Window::handleMouseDown(SDL_Event)address [0x55bfb970972f] line: 0
./zetaglest:Shared::Platform::Window::handleEvent()address [0x55bfb970b51c] line: 0
./zetaglest:Glest::Game::glestMain(int, char**)address [0x55bfb92e2ed2] line: 0
./zetaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x55bfb92e7f84] line: 0
./zetaglest:Glest::Game::glestMainWrapper(int, char**)address [0x55bfb92e8153] line: 0
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main()address [0x7f63c426cb17] line: 0
./zetaglest:_start()address [0x55bfb910f89a] line: 0
******************************************************
*ERROR* [2018-09-14 12:34:26] In [/home/andy/src/zg-local/zetaglest-source/source/shared_lib/sources/sound/openal/sound_player_openal.cpp::play Line: 521] Error [[3] Sample format not supported in file: ]
Couldn't play static sound: [[3] Sample format not supported in file: ]
******************************************************
Unknown class identifier:
Stack Trace:
./zetaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)address [0x55bfb96f8bdc] line: 0
./zetaglest:Shared::Sound::StaticSound::load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)address [0x55bfb96c4b5e] line: 0
./zetaglest:Glest::Game::PlaySoundClip::getSound(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)address [0x55bfb9228ee5] line: 0
./zetaglest:Glest::Game::MenuStateNewGame::mouseClick(int, int, Shared::Platform::MouseButton)address [0x55bfb941561a] line: 0
./zetaglest:Glest::Game::MainWindow::eventMouseDown(int, int, Shared::Platform::MouseButton)address [0x55bfb92d52e2] line: 0
./zetaglest:Shared::Platform::Window::handleMouseDown(SDL_Event)address [0x55bfb970972f] line: 0
./zetaglest:Shared::Platform::Window::handleEvent()address [0x55bfb970b51c] line: 0
./zetaglest:Glest::Game::glestMain(int, char**)address [0x55bfb92e2ed2] line: 0
./zetaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x55bfb92e7f84] line: 0
./zetaglest:Glest::Game::glestMainWrapper(int, char**)address [0x55bfb92e8153] line: 0
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main()address [0x7f63c426cb17] line: 0
./zetaglest:_start()address [0x55bfb910f89a] line: 0
******************************************************
*ERROR* [2018-09-14 12:34:35] In [/home/andy/src/zg-local/zetaglest-source/source/shared_lib/sources/sound/openal/sound_player_openal.cpp::play Line: 521] Error [[3] Sample format not supported in file: ]
Couldn't play static sound: [[3] Sample format not supported in file: ]
******************************************************
Unknown class identifier:
Stack Trace:
./zetaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)address [0x55bfb96f8bdc] line: 0
./zetaglest:Shared::Sound::StaticSound::load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)address [0x55bfb96c4b5e] line: 0
./zetaglest:Glest::Game::PlaySoundClip::getSound(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)address [0x55bfb9228ee5] line: 0
./zetaglest:Glest::Game::MenuStateRoot::mouseClick(int, int, Shared::Platform::MouseButton)address [0x55bfb944ee90] line: 0
./zetaglest:Glest::Game::MainWindow::eventMouseDown(int, int, Shared::Platform::MouseButton)address [0x55bfb92d52e2] line: 0
./zetaglest:Shared::Platform::Window::handleMouseDown(SDL_Event)address [0x55bfb970972f] line: 0
./zetaglest:Shared::Platform::Window::handleEvent()address [0x55bfb970b51c] line: 0
./zetaglest:Glest::Game::glestMain(int, char**)address [0x55bfb92e2ed2] line: 0
./zetaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x55bfb92e7f84] line: 0
./zetaglest:Glest::Game::glestMainWrapper(int, char**)address [0x55bfb92e8153] line: 0
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main()address [0x7f63c426cb17] line: 0
./zetaglest:_start()address [0x55bfb910f89a] line: 0
******************************************************
*ERROR* [2018-09-14 12:34:36] In [/home/andy/src/zg-local/zetaglest-source/source/shared_lib/sources/sound/openal/sound_player_openal.cpp::play Line: 521] Error [[3] Sample format not supported in file: ]
Couldn't play static sound: [[3] Sample format not supported in file: ]
andy5995 commented
The problem wasn't with the patch I mentioned above. The code works but when running mk/linux/build-zg.sh on linux the binary is being output to a different directory. So this must be caused by my cmake edits in zetaglest/zetaglest-source@d9e71d3