Coder Social home page Coder Social logo

bsfexamples's People

Contributors

bearishsun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bsfexamples's Issues

Crash On MacOS 10.14

Crash When Start Demo, The Crash Log:

bs::framework Log
System information
bs::framework version: 1.1.0

Started on: Tuesday, January 29, 2019 10:46:35

OS version: macOS 18.2.0 64-bit

CPU information:
CPU vendor: GenuineIntel

CPU name: Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz

CPU clock speed: 2300Mhz

CPU core count: 4

GPU List:
GPU: NVIDIA Corporation NVIDIA GeForce GT 650M OpenGL Engine

A fatal error occurred and the program has to terminate!

  • Error: Segmentation fault: 11
  • Description: Received fatal signal
  • In function:
  • In file: :0

Stack trace:

  • thread #5, stop reason = EXC_BAD_ACCESS (code=1, address=0x2f38)
    frame #0: 0x00007fff26a72651 GeForceGLDriver___lldb_unnamed_symbol11585$$GeForceGLDriver + 205 frame #1: 0x00007fff4771ae90 libGPUSupportMercury.dylibgpumGetQueryInfo + 158
    frame #2: 0x00007fff26a61eaa GeForceGLDrivergldGetQueryInfo + 223 frame #3: 0x00007fff35dc3163 GLEngineglQueryCounter_Exec + 359
    • frame #4: 0x000000010adc91c6 libbsfGLRenderAPI.dylibbs::ct::GLTimerQuery::end(this=0x000070000d236c48)::$_1::operator()() const at BsGLTimerQuery.cpp:61 frame #5: 0x000000010adc9035 libbsfGLRenderAPI.dylibbs::ct::GLTimerQuery::end(this=0x0000000112c6fac0, cb=nullptr) at BsGLTimerQuery.cpp:69
      frame #6: 0x0000000100b0850d libbsf.1.dylibbs::ProfilerGPU::endSampleInternal(this=0x0000000102a888b0, sample=0x0000000102a888b8) at BsProfilerGPU.cpp:234 frame #7: 0x0000000100b08399 libbsf.1.dylibbs::ProfilerGPU::endFrame(this=0x0000000102a888b0) at BsProfilerGPU.cpp:58
      frame #8: 0x000000010dde1fe9 libbsfRenderBeast.dylibbs::ct::RenderBeast::renderAllCore(this=0x0000000102a88750, timings=(time = 2.21199989, timeDelta = 0, frameIdx = 1), perFrameData=PerFrameData @ 0x000070000d237470) at BsRenderBeast.cpp:431 frame #9: 0x000000010de0c726 libbsfRenderBeast.dylibvoid std::__1::__invoke_void_return_wrapper::__call<std::__1::__bind<void (bs::ct::RenderBeast::)(bs::ct::FrameTimings, bs::PerFrameData), bs::ct::RenderBeast, bs::ct::FrameTimings&, bs::PerFrameData&>&>(std::__1::__bind<void (bs::ct::RenderBeast::)(bs::ct::FrameTimings, bs::PerFrameData), bs::ct::RenderBeast, bs::ct::FrameTimings&, bs::PerFrameData&>&&&) [inlined] decltype(__f=0x00000001028d3538, __a0=0x00000001028d3548, __args=0x00000001028d3550, __args=0x00000001028d3560)).fp(std::__1::forward<bs::ct::FrameTimings&, bs::PerFrameData&>(fp1))) std::__1::__invoke<void (bs::ct::RenderBeast::&)(bs::ct::FrameTimings, bs::PerFrameData), bs::ct::RenderBeast*&, bs::ct::FrameTimings&, bs::PerFrameData&, void>(void (bs::ct::RenderBeast::&&&)(bs::ct::FrameTimings, bs::PerFrameData), bs::ct::RenderBeast&&&, bs::ct::FrameTimings&&&, bs::PerFrameData&&&) at type_traits:4369
      frame #10: 0x000000010de0c645 libbsfRenderBeast.dylibvoid std::__1::__invoke_void_return_wrapper<void>::__call<std::__1::__bind<void (bs::ct::RenderBeast::*)(bs::ct::FrameTimings, bs::PerFrameData), bs::ct::RenderBeast*, bs::ct::FrameTimings&, bs::PerFrameData&>&>(std::__1::__bind<void (bs::ct::RenderBeast::*)(bs::ct::FrameTimings, bs::PerFrameData), bs::ct::RenderBeast*, bs::ct::FrameTimings&, bs::PerFrameData&>&&&) [inlined] std::__1::__bind_return<void (bs::ct::RenderBeast::*)(bs::ct::FrameTimings, bs::PerFrameData), std::__1::tuple<bs::ct::RenderBeast*, bs::ct::FrameTimings, bs::PerFrameData>, std::__1::tuple<>, __is_valid_bind_return<void (bs::ct::RenderBeast::*)(bs::ct::FrameTimings, bs::PerFrameData), std::__1::tuple<bs::ct::RenderBeast*, bs::ct::FrameTimings, bs::PerFrameData>, std::__1::tuple<> >::value>::type std::__1::__apply_functor<void (__f=0x00000001028d3538, __bound_args=size=3, __args=size=0)(bs::ct::FrameTimings, bs::PerFrameData), std::__1::tuple<bs::ct::RenderBeast*, bs::ct::FrameTimings, bs::PerFrameData>, 0ul, 1ul, 2ul, std::__1::tuple<> >(void (bs::ct::RenderBeast::*&)(bs::ct::FrameTimings, bs::PerFrameData), std::__1::tuple<bs::ct::RenderBeast*, bs::ct::FrameTimings, bs::PerFrameData>&, std::__1::__tuple_indices<0ul, 1ul, 2ul>, std::__1::tuple<>&&) at functional:2216 frame #11: 0x000000010de0c599 libbsfRenderBeast.dylibvoid std::__1::__invoke_void_return_wrapper::__call<std::__1::__bind<void (bs::ct::RenderBeast::)(bs::ct::FrameTimings, bs::PerFrameData), bs::ct::RenderBeast, bs::ct::FrameTimings&, bs::PerFrameData&>&>(std::__1::__bind<void (bs::ct::RenderBeast::)(bs::ct::FrameTimings, bs::PerFrameData), bs::ct::RenderBeast, bs::ct::FrameTimings&, bs::PerFrameData&>&&&) [inlined] std::__1::__bind_return<void (bs::ct::RenderBeast::)(bs::ct::FrameTimings, bs::PerFrameData), std::__1::tuple<bs::ct::RenderBeast, bs::ct::FrameTimings, bs::PerFrameData>, std::__1::tuple<>, __is_valid_bind_return<void (bs::ct::RenderBeast::)(bs::ct::FrameTimings, bs::PerFrameData), std::__1::tuple<bs::ct::RenderBeast, bs::ct::FrameTimings, bs::PerFrameData>, std::__1::tuple<> >::value>::type std::__1::__bind<void (this=0x00000001028d3538)(bs::ct::FrameTimings, bs::PerFrameData), bs::ct::RenderBeast*, bs::ct::FrameTimings&, bs::PerFrameData&>::operator()<>() at functional:2249
      frame #12: 0x000000010de0c561 libbsfRenderBeast.dylibvoid std::__1::__invoke_void_return_wrapper<void>::__call<std::__1::__bind<void (bs::ct::RenderBeast::*)(bs::ct::FrameTimings, bs::PerFrameData), bs::ct::RenderBeast*, bs::ct::FrameTimings&, bs::PerFrameData&>&>(std::__1::__bind<void (bs::ct::RenderBeast::*)(bs::ct::FrameTimings, bs::PerFrameData), bs::ct::RenderBeast*, bs::ct::FrameTimings&, bs::PerFrameData&>&&&) [inlined] decltype(__f=0x00000001028d3538)(bs::ct::FrameTimings, bs::PerFrameData), bs::ct::RenderBeast*, bs::ct::FrameTimings&, bs::PerFrameData&>&>(fp)(std::__1::forward<>(fp0))) std::__1::__invoke<std::__1::__bind<void (bs::ct::RenderBeast::*)(bs::ct::FrameTimings, bs::PerFrameData), bs::ct::RenderBeast*, bs::ct::FrameTimings&, bs::PerFrameData&>&>(std::__1::__bind<void (bs::ct::RenderBeast::*)(bs::ct::FrameTimings, bs::PerFrameData), bs::ct::RenderBeast*, bs::ct::FrameTimings&, bs::PerFrameData&>&&&) at type_traits:4428 frame #13: 0x000000010de0c53e libbsfRenderBeast.dylibvoid std::__1::__invoke_void_return_wrapper::__call<std::__1::__bind<void (__args=0x00000001028d3538)(bs::ct::FrameTimings, bs::PerFrameData), bs::ct::RenderBeast*, bs::ct::FrameTimings&, bs::PerFrameData&>&>(std::__1::__bind<void (bs::ct::RenderBeast::)(bs::ct::FrameTimings, bs::PerFrameData), bs::ct::RenderBeast, bs::ct::FrameTimings&, bs::PerFrameData&>&&&) at __functional_base:349
      frame #14: 0x000000010de0c4e9 libbsfRenderBeast.dylibstd::__1::__function::__func<std::__1::__bind<void (bs::ct::RenderBeast::*)(bs::ct::FrameTimings, bs::PerFrameData), bs::ct::RenderBeast*, bs::ct::FrameTimings&, bs::PerFrameData&>, std::__1::allocator<std::__1::__bind<void (bs::ct::RenderBeast::*)(bs::ct::FrameTimings, bs::PerFrameData), bs::ct::RenderBeast*, bs::ct::FrameTimings&, bs::PerFrameData&> >, void ()>::operator(this=0x00000001028d3530)() at functional:1562 frame #15: 0x00000001004b82d5 libbsf.1.dylibstd::__1::function<void ()>::operator(this=0x00000001028d3530)() const at functional:1913
      frame #16: 0x00000001005a7de7 libbsf.1.dylibbs::CommandQueueBase::playbackWithNotify(this=0x0000000102fb4740, commands=0x0000000112b5f0b0 size=1, notifyCallback=0x0000000000000000)>) at BsCommandQueue.cpp:124 frame #17: 0x00000001005a7f6a libbsf.1.dylibbs::CommandQueueBase::playback(this=0x0000000102fb4740, commands=0x0000000112b5f0b0 size=1) at BsCommandQueue.cpp:140
      frame #18: 0x00000001005ee93a libbsf.1.dylibvoid std::__1::__invoke_void_return_wrapper<void>::__call<std::__1::__bind<void (bs::CommandQueueBase::*)(std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >*), bs::CommandQueueBase*&, std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >*&>&>(std::__1::__bind<void (bs::CommandQueueBase::*)(std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >*), bs::CommandQueueBase*&, std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >*&>&&&) [inlined] decltype(__f=0x00000001028d4828, __a0=0x00000001028d4838, __args=size=0)).*fp(std::__1::forward<std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >*&>(fp1))) std::__1::__invoke<void (bs::CommandQueueBase::*&)(std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >*), bs::CommandQueueBase*&, std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >*&, void>(void (bs::CommandQueueBase::*&&&)(std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >*), bs::CommandQueueBase*&&&, std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >*&&&) at type_traits:4369 frame #19: 0x00000001005ee8ac libbsf.1.dylibvoid std::__1::__invoke_void_return_wrapper::__call<std::__1::__bind<void (bs::CommandQueueBase::)(std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >), bs::CommandQueueBase*&, std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >&>&>(std::__1::__bind<void (bs::CommandQueueBase::)(std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >), bs::CommandQueueBase&, std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >&>&&&) [inlined] std::__1::__bind_return<void (bs::CommandQueueBase::)(std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >), std::__1::tuple<bs::CommandQueueBase, std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >>, std::__1::tuple<>, __is_valid_bind_return<void (bs::CommandQueueBase::)(std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >), std::__1::tuple<bs::CommandQueueBase, std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >>, std::__1::tuple<> >::value>::type std::__1::__apply_functor<void (__f=0x00000001028d4828, __bound_args=size=2, __args=size=0)(std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >), std::__1::tuple<bs::CommandQueueBase*, std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >>, 0ul, 1ul, std::__1::tuple<> >(void (bs::CommandQueueBase::&)(std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >), std::__1::tuple<bs::CommandQueueBase, std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >>&, std::__1::__tuple_indices<0ul, 1ul>, std::__1::tuple<>&&) at functional:2216
      frame #20: 0x00000001005ee850 libbsf.1.dylibvoid std::__1::__invoke_void_return_wrapper<void>::__call<std::__1::__bind<void (bs::CommandQueueBase::*)(std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >*), bs::CommandQueueBase*&, std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >*&>&>(std::__1::__bind<void (bs::CommandQueueBase::*)(std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >*), bs::CommandQueueBase*&, std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >*&>&&&) [inlined] std::__1::__bind_return<void (bs::CommandQueueBase::*)(std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >*), std::__1::tuple<bs::CommandQueueBase*, std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >*>, std::__1::tuple<>, __is_valid_bind_return<void (bs::CommandQueueBase::*)(std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >*), std::__1::tuple<bs::CommandQueueBase*, std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >*>, std::__1::tuple<> >::value>::type std::__1::__bind<void (this=0x00000001028d4828)(std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >*), bs::CommandQueueBase*&, std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >*&>::operator()<>() at functional:2249 frame #21: 0x00000001005ee821 libbsf.1.dylibvoid std::__1::__invoke_void_return_wrapper::__call<std::__1::__bind<void (bs::CommandQueueBase::
      )(std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >), bs::CommandQueueBase&, std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >&>&>(std::__1::__bind<void (bs::CommandQueueBase::)(std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >), bs::CommandQueueBase&, std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >&>&&&) [inlined] decltype(__f=0x00000001028d4828)(std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >), bs::CommandQueueBase*&, std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >&>&>(fp)(std::__1::forward<>(fp0))) std::__1::__invoke<std::__1::__bind<void (bs::CommandQueueBase::)(std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >), bs::CommandQueueBase&, std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >&>&>(std::__1::__bind<void (bs::CommandQueueBase::)(std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >), bs::CommandQueueBase&, std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >&>&&&) at type_traits:4428
      frame #22: 0x00000001005ee7fe libbsf.1.dylibvoid std::__1::__invoke_void_return_wrapper<void>::__call<std::__1::__bind<void (__args=0x00000001028d4828)(std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >*), bs::CommandQueueBase*&, std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >*&>&>(std::__1::__bind<void (bs::CommandQueueBase::*)(std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >*), bs::CommandQueueBase*&, std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >*&>&&&) at __functional_base:349 frame #23: 0x00000001005ee7a9 libbsf.1.dylibstd::__1::__function::__func<std::__1::__bind<void (bs::CommandQueueBase::
      )(std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >), bs::CommandQueueBase&, std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >&>, std::__1::allocator<std::__1::__bind<void (bs::CommandQueueBase::)(std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >), bs::CommandQueueBase&, std::__1::queue<bs::QueuedCommand, std::__1::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >&> >, void ()>::operator(this=0x00000001028d4820)() at functional:1562
      frame #24: 0x00000001004b82d5 libbsf.1.dylibstd::__1::function<void ()>::operator(this=0x00000001028d4820)() const at functional:1913 frame #25: 0x00000001005a7de7 libbsf.1.dylibbs::CommandQueueBase::playbackWithNotify(this=0x0000000102f39bd0, commands=0x0000000102949f30 size=0, notifyCallback=0x000070000d2389e0)>) at BsCommandQueue.cpp:124
      frame #26: 0x00000001005e2d23 libbsf.1.dylibbs::CoreThread::runCoreThread(this=0x0000000102f41a90) at BsCoreThread.cpp:117 frame #27: 0x00000001005e7a71 libbsf.1.dylibvoid std::__1::__invoke_void_return_wrapper::__call<std::__1::__bind<void (bs::CoreThread::
      )(), bs::CoreThread*>&>(std::__1::__bind<void (bs::CoreThread::)(), bs::CoreThread>&&&) [inlined] decltype(__f=0x000070000d238ca8, __a0=0x000070000d238cb8)).fp(std::__1::forward<>(fp1))) std::__1::__invoke<void (bs::CoreThread::&)(), bs::CoreThread*&, void>(void (bs::CoreThread::&&&)(), bs::CoreThread&&&) at type_traits:4369
      frame #28: 0x00000001005e79f2 libbsf.1.dylibvoid std::__1::__invoke_void_return_wrapper<void>::__call<std::__1::__bind<void (bs::CoreThread::*)(), bs::CoreThread*>&>(std::__1::__bind<void (bs::CoreThread::*)(), bs::CoreThread*>&&&) [inlined] std::__1::__bind_return<void (bs::CoreThread::*)(), std::__1::tuple<bs::CoreThread*>, std::__1::tuple<>, __is_valid_bind_return<void (bs::CoreThread::*)(), std::__1::tuple<bs::CoreThread*>, std::__1::tuple<> >::value>::type std::__1::__apply_functor<void (__f=0x000070000d238ca8, __bound_args=size=1, __args=size=0)(), std::__1::tuple<bs::CoreThread*>, 0ul, std::__1::tuple<> >(void (bs::CoreThread::*&)(), std::__1::tuple<bs::CoreThread*>&, std::__1::__tuple_indices<0ul>, std::__1::tuple<>&&) at functional:2216 frame #29: 0x00000001005e79c2 libbsf.1.dylibvoid std::__1::__invoke_void_return_wrapper::__call<std::__1::__bind<void (bs::CoreThread::)(), bs::CoreThread>&>(std::__1::__bind<void (bs::CoreThread::)(), bs::CoreThread>&&&) [inlined] std::__1::__bind_return<void (bs::CoreThread::)(), std::__1::tuplebs::CoreThread*, std::__1::tuple<>, __is_valid_bind_return<void (bs::CoreThread::)(), std::__1::tuplebs::CoreThread*, std::__1::tuple<> >::value>::type std::__1::__bind<void (this=0x000070000d238ca8)(), bs::CoreThread*>::operator()<>() at functional:2249
      frame #30: 0x00000001005e799f libbsf.1.dylibvoid std::__1::__invoke_void_return_wrapper<void>::__call<std::__1::__bind<void (bs::CoreThread::*)(), bs::CoreThread*>&>(std::__1::__bind<void (bs::CoreThread::*)(), bs::CoreThread*>&&&) [inlined] decltype(__f=0x000070000d238ca8)(), bs::CoreThread*>&>(fp)(std::__1::forward<>(fp0))) std::__1::__invoke<std::__1::__bind<void (bs::CoreThread::*)(), bs::CoreThread*>&>(std::__1::__bind<void (bs::CoreThread::*)(), bs::CoreThread*>&&&) at type_traits:4428 frame #31: 0x00000001005e798b libbsf.1.dylibvoid std::__1::__invoke_void_return_wrapper::__call<std::__1::__bind<void (__args=0x000070000d238ca8)(), bs::CoreThread*>&>(std::__1::__bind<void (bs::CoreThread::)(), bs::CoreThread>&&&) at __functional_base:349
      frame #32: 0x00000001005e7939 libbsf.1.dylibstd::__1::__function::__func<std::__1::__bind<void (bs::CoreThread::*)(), bs::CoreThread*>, std::__1::allocator<std::__1::__bind<void (bs::CoreThread::*)(), bs::CoreThread*> >, void ()>::operator(this=0x000070000d238ca0)() at functional:1562 frame #33: 0x00000001004b82d5 libbsf.1.dylibstd::__1::function<void ()>::operator(this=0x000070000d238ca0)() const at functional:1913
      frame #34: 0x0000000101400d65 libbsf.1.dylibbs::PooledThread::run(this=0x0000000102f3a1d0) at BsThreadPool.cpp:122 frame #35: 0x0000000101405934 libbsf.1.dylibvoid* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct >, std::__1::__bind<void (bs::PooledThread::)(), bs::PooledThread> > >(void*) [inlined] decltype(__f=0x0000000102f3c378, __a0=0x0000000102f3c388)).fp(std::__1::forward<>(fp1))) std::__1::__invoke<void (bs::PooledThread::&)(), bs::PooledThread*&, void>(void (bs::PooledThread::&&&)(), bs::PooledThread&&&) at type_traits:4369
      frame #36: 0x00000001014058b5 libbsf.1.dylibvoid* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (bs::PooledThread::*)(), bs::PooledThread*> > >(void*) [inlined] std::__1::__bind_return<void (bs::PooledThread::*)(), std::__1::tuple<bs::PooledThread*>, std::__1::tuple<>, __is_valid_bind_return<void (bs::PooledThread::*)(), std::__1::tuple<bs::PooledThread*>, std::__1::tuple<> >::value>::type std::__1::__apply_functor<void (__f=0x0000000102f3c378, __bound_args=size=1, __args=size=0)(), std::__1::tuple<bs::PooledThread*>, 0ul, std::__1::tuple<> >(void (bs::PooledThread::*&)(), std::__1::tuple<bs::PooledThread*>&, std::__1::__tuple_indices<0ul>, std::__1::tuple<>&&) at functional:2216 frame #37: 0x0000000101405876 libbsf.1.dylibvoid* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct >, std::__1::__bind<void (bs::PooledThread::)(), bs::PooledThread> > >(void*) [inlined] std::__1::__bind_return<void (bs::PooledThread::)(), std::__1::tuplebs::PooledThread*, std::__1::tuple<>, __is_valid_bind_return<void (bs::PooledThread::)(), std::__1::tuplebs::PooledThread*, std::__1::tuple<> >::value>::type std::__1::__bind<void (this=0x0000000102f3c378)(), bs::PooledThread*>::operator()<>() at functional:2249
      frame #38: 0x000000010140583e libbsf.1.dylibvoid* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (bs::PooledThread::*)(), bs::PooledThread*> > >(void*) [inlined] decltype(__f=0x0000000102f3c378)(), bs::PooledThread*> >(fp)(std::__1::forward<>(fp0))) std::__1::__invoke<std::__1::__bind<void (bs::PooledThread::*)(), bs::PooledThread*> >(std::__1::__bind<void (bs::PooledThread::*)(), bs::PooledThread*>&&) at type_traits:4428 frame #39: 0x000000010140581b libbsf.1.dylibvoid* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct >, std::__1::__bind<void (bs::PooledThread::)(), bs::PooledThread> > >(void*) [inlined] void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct >, std::__1::__bind<void (bs::PooledThread::)(), bs::PooledThread> >(__t=size=2)(), bs::PooledThread*> >&, std::__1::__tuple_indices<>) at thread:342
      frame #40: 0x00000001014057e5 libbsf.1.dylibvoid* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (bs::PooledThread::*)(), bs::PooledThread*> > >(__vp=0x0000000102f3c370) at thread:352 frame #41: 0x000000010271fe35 libsystem_pthread.dylib_pthread_body + 126
      frame #42: 0x0000000102722ec7 libsystem_pthread.dylib_pthread_start + 70 frame #43: 0x000000010271ee51 libsystem_pthread.dylibthread_start + 13

Cmake build issue

I'm relatively new to C++ compared to most of the other people here who have used BSF so pardon me if I miss something quite obvious or start being concerned over trivial matters.

I'm trying to compile the bsfExamples, I've cloned the git repository and made a build folder inside of the generated repository. However everytime I run cmake the exact same error occurs:
-- ...Cannot find imported library: PhysX3_x86 PhysX3_x86_LIBRARY_RELEASE-NOTFOUND -- ...Cannot find imported library: PhysX3Common_x86 PhysX3Common_x86_LIBRARY_RELEASE-NOTFOUND -- ...Cannot find imported library: PhysX3Cooking_x86 PhysX3Cooking_x86_LIBRARY_RELEASE-NOTFOUND -- ...Cannot find imported library: PhysX3CharacterKinematic_x86 PhysX3CharacterKinematic_x86_LIBRARY_RELEASE-NOTFOUND CMake Error at bsf/Source/CMake/HelperMethods.cmake:172 (message): Cannot find PhysX installation. Try modifying the PhysX_INSTALL_DIR path. Call Stack (most recent call first): bsf/Source/CMake/Modules/FindPhysX.cmake:46 (end_find_package) bsf/Source/Plugins/bsfPhysX/CMakeLists.txt:5 (find_package)

I've tried to delete all of the content inside of the bsfExamples folder then recompile, but this still yields the exact same error. Is my computer missing any software required to compile these files? I assume this can't be hardware incompatibility right?

Physx not found with null physics

Configuring with cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPHYSICS_MODULE=NULL fails without physx.

Commands:

PS C:\projects> git clone https://github.com/GameFoundry/bsfExamples.git
Cloning into 'bsfExamples'...
remote: Enumerating objects: 317, done.                                       Receiving objects:  83% (264/remote: Total 317 (delta 0), reused 0 (delta 0), pack-reused 317317                                                            Receiving objects: 100% (317/317), 85.78 KiB | 965.00 KiB/s, done.
Resolving deltas: 100% (172/172), done.
PS C:\projects> cd .\bsfExamples\
PS C:\projects\bsfExamples> mkdir build


    Directory: C:\projects\bsfExamples


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----         5.9.2019     20.22                build


PS C:\projects\bsfExamples> cd build
PS C:\projects\bsfExamples\build> cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPHYSICS_MODULE=NULL
-- Building for: Visual Studio 15 2017
-- Selecting Windows SDK version 10.0.17134.0 to target Windows 10.0.18362.
-- The C compiler identification is MSVC 19.14.26430.0
-- The CXX compiler identification is MSVC 19.14.26430.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/Hostx86/x86/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/Hostx86/x86/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/Hostx86/x86/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/Hostx86/x86/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Fetching 'bsf' submodule...
Submodule 'bsf' (https://github.com/gamefoundry/bsf) registered for path 'bsf'
Cloning into '/cygdrive/c/projects/bsfExamples/bsf'...
Submodule path 'bsf': checked out 'c735aead580e86e69ef228f3b8d99b474b72f2c7'
-- Binary dependencies for 'bsf' are missing. Downloading package...
-- [download 0% complete]

SKIPPED LINES

-- Extracting files. Please wait...
-- Looking for snappy installation...
-- ...snappy OK.
-- Looking for nvtt installation...
-- ...nvtt OK.
-- Looking for OpenAL installation...
-- ...OpenAL OK.
-- Looking for ogg installation...
-- ...ogg OK.
-- Looking for vorbis installation...
-- ...vorbis OK.
-- Looking for FLAC installation...
-- ...FLAC OK.
-- Looking for PhysX installation...
-- ...Cannot find imported library: PhysX3_x86 PhysX3_x86_LIBRARY_RELEASE-NOTFOUND
-- ...Cannot find imported library: PhysX3Common_x86 PhysX3Common_x86_LIBRARY_RELEASE-NOTFOUND
-- ...Cannot find imported library: PhysX3Cooking_x86 PhysX3Cooking_x86_LIBRARY_RELEASE-NOTFOUND
-- ...Cannot find imported library: PhysX3CharacterKinematic_x86 PhysX3CharacterKinematic_x86_LIBRARY_RELEASE-NOTFOUND
CMake Error at bsf/Source/CMake/HelperMethods.cmake:172 (message):
  Cannot find PhysX installation.  Try modifying the PhysX_INSTALL_DIR path.
Call Stack (most recent call first):
  bsf/Source/CMake/Modules/FindPhysX.cmake:46 (end_find_package)
  bsf/Source/Plugins/bsfPhysX/CMakeLists.txt:5 (find_package)


-- Configuring incomplete, errors occurred!
See also "C:/projects/bsfExamples/build/CMakeFiles/CMakeOutput.log".

Segmentation fault with libxml on Ubuntu 18.04

bs::framework Log

System information

bs::framework version: 1.1.0

Started on: Thursday, January 23, 2020 10:42:32

OS version: Linux#84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 64-bit

CPU information:

CPU vendor: GenuineIntel

CPU name: Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz

CPU clock speed: 4300Mhz

CPU core count: 6

GPU List:

GPU: NVIDIA Corporation Quadro P2000/PCIe/SSE2

Log entries

Type Time Description
Error 10:42:33 A fatal error occurred and the program has to terminate!
- Error: Segmentation fault
- Description: Received fatal signal
- In function:
- In file: :0

Stack trace:
0) /usr/local/lib/libbsf.so.1: bs::CrashHandler::getStackTrace[abi:cxx11]()+0x1d8 [0x7f179ad7c888]
1) /usr/local/lib/libbsf.so.1: bs::CrashHandler::logErrorAndStackTrace(std::__cxx11::basic_string, bs::StdAlloc > const&, std::__cxx11::basic_string, bs::StdAlloc > const&, std::__cxx11::basic_string, bs::StdAlloc > const&, std::__cxx11::basic_string, bs::StdAlloc > const&, unsigned int) const+0x361 [0x7f179ad5ee01]
2) /usr/local/lib/libbsf.so.1: bs::CrashHandler::reportCrash(std::__cxx11::basic_string, bs::StdAlloc > const&, std::__cxx11::basic_string, bs::StdAlloc > const&, std::__cxx11::basic_string, bs::StdAlloc > const&, std::__cxx11::basic_string, bs::StdAlloc > const&, unsigned int) const+0x9 [0x7f179ad7cfd9]
3) /usr/local/lib/libbsf.so.1: bs::signalHandler(int, siginfo_t*, void*)+0x149 [0x7f179ad7d3a9]
4) /lib/x86_64-linux-gnu/libpthread.so.0: +0x12890 [0x7f179a605890]
5) /usr/lib/x86_64-linux-gnu/libxml2.so.2: xmlStrdup+0x9 [0x7f1788bcbef9]
6) /usr/lib/x86_64-linux-gnu/libxml2.so.2: xmlCopyError+0x5f [0x7f1788b2cf0f]
7) /usr/lib/x86_64-linux-gnu/libxml2.so.2: __xmlRaiseError+0x370 [0x7f1788b2d350]
8) /usr/lib/x86_64-linux-gnu/libxml2.so.2: xmlErrMemory+0xc0 [0x7f1788b2de20]
9) /usr/lib/x86_64-linux-gnu/libxml2.so.2: nodePush+0xb4 [0x7f1788b341d4]
10) /usr/local/lib/libbsfSL.so: +0x3fe8e9 [0x7f174c8338e9]
11) /usr/local/lib/libbsfSL.so: +0x3ff83f [0x7f174c83483f]
12) /usr/local/lib/libbsfSL.so: +0x3ffe41 [0x7f174c834e41]
13) /usr/local/lib/libbsfSL.so: yyparse+0x3e2 [0x7f174c835db2]
14) /usr/local/lib/libbsfSL.so: bs::BSLFXCompiler::parseFX(tagParseState*, char const*, std::unordered_map, bs::StdAlloc >, std::__cxx11::basic_string, bs::StdAlloc >, std::hash, bs::StdAlloc > >, std::equal_to, bs::StdAlloc > >, bs::StdAlloc, bs::StdAlloc > const, std::__cxx11::basic_string, bs::StdAlloc > >, bs::GenAlloc> > const&)+0xe6 [0x7f174c803bf6]
15) /usr/local/lib/libbsfSL.so: bs::BSLFXCompiler::compileShader(std::__cxx11::basic_string, bs::StdAlloc >, std::unordered_map, bs::StdAlloc >, std::__cxx11::basic_string, bs::StdAlloc >, std::hash, bs::StdAlloc > >, std::equal_to, bs::StdAlloc > >, bs::StdAlloc, bs::StdAlloc > const, std::__cxx11::basic_string, bs::StdAlloc > >, bs::GenAlloc> > const&, bs::Flags, bs::TSHADER_DESC&, std::vector, bs::StdAlloc >, bs::StdAlloc, bs::StdAlloc >, bs::GenAlloc> >&)+0xa2 [0x7f174c80e542]
16) /usr/local/lib/libbsfSL.so: bs::BSLFXCompiler::compile(std::__cxx11::basic_string, bs::StdAlloc > const&, std::__cxx11::basic_string, bs::StdAlloc > const&, std::unordered_map, bs::StdAlloc >, std::__cxx11::basic_string, bs::StdAlloc >, std::hash, bs::StdAlloc > >, std::equal_to, bs::StdAlloc > >, bs::StdAlloc, bs::StdAlloc > const, std::__cxx11::basic_string, bs::StdAlloc > >, bs::GenAlloc> > const&, bs::Flags)+0xb8 [0x7f174c80faa8]
17) /usr/local/lib/libbsfSL.so: bs::SLImporter::import(bs::Path const&, std::shared_ptr)+0x1e1 [0x7f174c800181]
18) /usr/local/lib/libbsf.so.1: bs::Importer::_import(bs::Path const&, std::shared_ptr)+0x97 [0x7f179ae66cd7]
19) /usr/local/lib/libbsf.so.1: bs::Importer::import(bs::Path const&, std::shared_ptr, bs::UUID const&)+0x150 [0x7f179ae67080]
20) ./Client: +0x1430a0 [0x564dbfb000a0]
21) ./Client: +0x13fe2e [0x564dbfafce2e]
22) ./Client: +0x147979 [0x564dbfb04979]
23) ./Client: +0x1e4609 [0x564dbfba1609]
24) ./Client: +0x2c13b [0x564dbf9e913b]
25) ./Client: +0x2b43d [0x564dbf9e843d]
26) ./Client: +0x29be0 [0x564dbf9e6be0]
27) /lib/x86_64-linux-gnu/libc.so.6: __libc_start_main+0xe7 [0x7f1799419b97]
28) ./Client: +0x299ca [0x564dbf9e69ca]

Closing Audio example causes crash

Closing the audio example using the close window icon causes a crash. This seems to be a race/timing issue as if I set a break point on the quitRequested method and step through then the application exits normally.

I've attached the log here:

log.zip

GUI.exe on button click crashed.

link to log.html from bs crash reports folder

Type Description
Debug User selected element: "Black"in auto __cdecl bs::setUpGUI::::operator ()(unsigned int,bool) const [c:\users\dkr\documents\source\repos\bsfexamples\source\gui\main.cpp:140]
Error A fatal error occurred and the program has to terminate!- Error: InternalErrorException- Description: Trying to access an object that has been destroyed.- In function: void __cdecl bs::GameObjectHandleBase::throwIfDestroyed(void) const- In file: c:\users\dkr\documents\source\repos\bsf\source\foundation\bsfcore\scene\bsgameobjecthandle.cpp:51Stack trace:ย bs::CrashHandler::reportCrash() - 0x140717506311936 File[bswin32crashhandler.cpp:468 (0)] Module[bsf.dll]bs::GameObjectHandleBase::throwIfDestroyed() - 0x140717509321801 File[bsgameobjecthandle.cpp:51 (120)] Module[bsf.dll]bs::SceneManager::processStateChanges() - 0x140717509415992 File[bsscenemanager.cpp:430 (8)] Module[bsf.dll]bs::SceneManager::_fixedUpdate() - 0x140717509416551 File[bsscenemanager.cpp:506 (0)] Module[bsf.dll]bs::CoreApplication::runMainLoop() - 0x140717509268577 File[bscoreapplication.cpp:236 (33)] Module[bsf.dll]WinMain() - 0x140698551540055 File[main.cpp:321 (0)] Module[GUI.exe]__scrt_common_main_seh() - 0x140698551549374 File[exe_common.inl:283 (33)] Module[GUI.exe]0x140719231672292 Module[KERNEL32.DLL]0x140719271374945 Module[ntdll.dll]

Compiling and running issues on visual studio 2017

Hello

I got two different (no idea if related errors)
The first one is that the file BsSLFXCompiler.cpp fails to compile at all
Here's the log

1>------ Build started: Project: bsfSL, Configuration: Debug x64 ------
1>BsSLFXCompiler.cpp
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(422): error C2039: 'UniformType': is not a member of 'Xsc::Reflection'
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\dependencies\xshadercompiler\include\xsc\reflection.h(24): note: see declaration of 'Xsc::Reflection'
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(422): error C3083: 'UniformType': the symbol to the left of a '::' must be a type
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(422): error C2039: 'UniformBuffer': is not a member of 'Xsc::Reflection'
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\dependencies\xshadercompiler\include\xsc\reflection.h(24): note: see declaration of 'Xsc::Reflection'
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(422): error C2065: 'UniformBuffer': undeclared identifier
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(425): error C2039: 'UniformType': is not a member of 'Xsc::Reflection'
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\dependencies\xshadercompiler\include\xsc\reflection.h(24): note: see declaration of 'Xsc::Reflection'
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(425): error C3083: 'UniformType': the symbol to the left of a '::' must be a type
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(425): error C2039: 'Buffer': is not a member of 'Xsc::Reflection'
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\dependencies\xshadercompiler\include\xsc\reflection.h(24): note: see declaration of 'Xsc::Reflection'
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(425): error C2065: 'Buffer': undeclared identifier
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(456): error C2039: 'UniformType': is not a member of 'Xsc::Reflection'
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\dependencies\xshadercompiler\include\xsc\reflection.h(24): note: see declaration of 'Xsc::Reflection'
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(456): error C3083: 'UniformType': the symbol to the left of a '::' must be a type
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(456): error C2039: 'Sampler': is not a member of 'Xsc::Reflection'
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\dependencies\xshadercompiler\include\xsc\reflection.h(24): note: see declaration of 'Xsc::Reflection'
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(456): error C2065: 'Sampler': undeclared identifier
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(490): error C2039: 'UniformType': is not a member of 'Xsc::Reflection'
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\dependencies\xshadercompiler\include\xsc\reflection.h(24): note: see declaration of 'Xsc::Reflection'
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(490): error C3083: 'UniformType': the symbol to the left of a '::' must be a type
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(490): error C2275: 'Xsc::Reflection::Variable': illegal use of this type as an expression
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(490): note: see declaration of 'Xsc::Reflection::Variable'
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(498): error C2039: 'UniformType': is not a member of 'Xsc::Reflection'
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\dependencies\xshadercompiler\include\xsc\reflection.h(24): note: see declaration of 'Xsc::Reflection'
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(498): error C3083: 'UniformType': the symbol to the left of a '::' must be a type
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(498): error C2039: 'UniformBuffer': is not a member of 'Xsc::Reflection'
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\dependencies\xshadercompiler\include\xsc\reflection.h(24): note: see declaration of 'Xsc::Reflection'
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(498): error C2065: 'UniformBuffer': undeclared identifier
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(537): error C2039: 'UniformType': is not a member of 'Xsc::Reflection'
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\dependencies\xshadercompiler\include\xsc\reflection.h(24): note: see declaration of 'Xsc::Reflection'
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(537): error C3083: 'UniformType': the symbol to the left of a '::' must be a type
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(537): error C2275: 'Xsc::Reflection::Struct': illegal use of this type as an expression
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(537): note: see declaration of 'Xsc::Reflection::Struct'
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(422): error C2051: case expression not constant
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(425): error C2051: case expression not constant
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(456): error C2051: case expression not constant
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(490): error C2051: case expression not constant
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(537): error C2051: case expression not constant
1>c:\users\eduardo gonzalez\documents\github\bsfexamples\bsf\source\plugins\bsfsl\bsslfxcompiler.cpp(540): warning C4065: switch statement contains 'default' but no 'case' labels
1>Done building project "bsfSL.vcxproj" -- FAILED.

The second error is that the examples crash on startup, failing to load bsfOpenAudio.dll. The thing is, that file is right there, in the same directory as the examples (i'm trying to run them by executing them directly btw, not by using visual studio).

In both cases i compiled the debug version, if it helps.

Crash in LinuxVideoOutputInfo

When trying to run the samples I get a crash like this (both with OpenGL and Vulkan renderers):

[ERROR] A fatal error occurred and the program has to terminate!
  - Error: Segmentation fault
  - Description: Received fatal signal
  - In function: 
  - In file: :0

Stack trace: 
0) /home/hhyyrylainen/Projects/bsfExamples/build/bin/x64/Release/libbsf.so.1: bs::CrashHandler::getStackTrace[abi:cxx11]()+0x1bf [0x7fcebf7a057f]
1) /home/hhyyrylainen/Projects/bsfExamples/build/bin/x64/Release/libbsf.so.1: bs::CrashHandler::logErrorAndStackTrace(std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, unsigned int) const+0x32b [0x7fcebf78559b]
2) /home/hhyyrylainen/Projects/bsfExamples/build/bin/x64/Release/libbsf.so.1: bs::CrashHandler::reportCrash(std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, unsigned int) const+0x9 [0x7fcebf79fdf9]
3) /home/hhyyrylainen/Projects/bsfExamples/build/bin/x64/Release/libbsf.so.1: bs::signalHandler(int, siginfo_t*, void*)+0x116 [0x7fcebf7a0166]
4) /lib64/libc.so.6: +0x38600 [0x7fcebebb0600]
5) libbsfVulkanRenderAPI.so: void std::vector<bs::VideoMode*, bs::StdAlloc<bs::VideoMode*, bs::GenAlloc> >::_M_realloc_insert<bs::VideoMode*>(__gnu_cxx::__normal_iterator<bs::VideoMode**, std::vector<bs::VideoMode*, bs::StdAlloc<bs::VideoMode*, bs::GenAlloc> > >, bs::VideoMode*&&)+0x8c [0x7fcebd54522c]
6) libbsfVulkanRenderAPI.so: bs::ct::LinuxVideoOutputInfo::LinuxVideoOutputInfo(_XDisplay*, int, _XRROutputInfo*, _XRRCrtcInfo*, _XRRScreenResources*, unsigned long, unsigned int)+0x2ea [0x7fcebd54483a]
7) libbsfVulkanRenderAPI.so: bs::ct::LinuxVideoModeInfo::LinuxVideoModeInfo()+0x1cf [0x7fcebd544ddf]
8) libbsfVulkanRenderAPI.so: bs::ct::VulkanRenderAPI::initialize()+0x335 [0x7fcebd501915]
9) /home/hhyyrylainen/Projects/bsfExamples/build/bin/x64/Release/libbsf.so.1: bs::CommandQueueBase::playbackWithNotify(std::queue<bs::QueuedCommand, std::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >*, std::function<void (unsigned int)>)+0x182 [0x7fcebf7b1962]
10) /home/hhyyrylainen/Projects/bsfExamples/build/bin/x64/Release/libbsf.so.1: bs::CoreThread::runCoreThread()+0x308 [0x7fcebf7bcc78]
11) /home/hhyyrylainen/Projects/bsfExamples/build/bin/x64/Release/libbsf.so.1: bs::PooledThread::run()+0x15b [0x7fcebf73fc1b]
12) /lib64/libstdc++.so.6: +0xc39a3 [0x7fcebefa09a3]
13) /lib64/libpthread.so.0: +0x858e [0x7fcebeb4d58e]
14) /lib64/libc.so.6: clone+0x43 [0x7fcebec75683]

On Fedora 30 with gcc (GCC) 8.3.1 20190223 (Red Hat 8.3.1-2). And nvidia driver 418.56

Issues building (Win 10 VS2017)

I'm relatively novice in C++, so this may be a failure on my end. I followed the instructions to the T and was able to build the SLN file in the Build folder using CMake - but after that, when I try to build any of the projects, they fail at every #include.

Am I missing an implied step? Some config option? (Using x64 Release)

Thanks, your engine is awesome!

Examples startup slow

Hi @BearishSun
Seems all examples need about 2s to render after I execute them. Do we have some methods to speed up? I ran these examples on an old Macbook air with i5 cpu.

Thanks,
Yingjun

Compile Errors VS2019

Getting the following error message for some of the Foundation files when building bsf:
binary '=': no operator found which takes a right-hand operand of type 'const std::pair<const K,V>' (or there is no acceptable conversion)
BsSkeleton
BsMeshImportOptions
BsAnimationClip
BsAnimationManager
BsAnimation
BsCAnimation

data archive corrupted

CMake Error at bsf/Source/CMake/HelperMethods.cmake:535 (message):
Builtin assets failed to download from URL:
https://data.banshee3d.com/bsfExamplesData_Master_9.zip
Call Stack (most recent call first):
bsf/Source/CMake/HelperMethods.cmake:563 (update_builtin_assets)
CMakeLists.txt:43 (check_and_update_builtin_assets)

i downloaded from firefox still corrupt ....is this my internet problem? i tried like 5 times

Audio example crashes while trying to load .ogg files

Hi, I compiled the examples on Ubuntu 18.04 using Ninja. All examples ran perfectly, except for the Audio example. The Audio example prints symbol lookup error: libbsfOpenAudio.so: undefined symbol: oggpack_readinit and then crashes. If I comment out the code that loads .ogg files, the example runs without problem.
EDIT: Forgot to mention the compiler was GCC 8.1.0

Consider adding rpath=. to example binaries

I was checking out the new example apps (Which, btw, sadly still don't work on my linux machine, though they don't crash or throw exceptions anymore :-)) and, since it'd been a good while since I toyed with them last, I ended up spending about half an hour trying to figure out what wasn't working that they would claim they couldn't find libraries in their own directory.

Turned out, ld wasn't looking for the libraries in the bin folder, just the default system ld library path.

If you add either an rpath=. (for cwd) or an rpath=${build artifact output directory}, that issue would be alleviated.

Looking here: https://gitlab.kitware.com/cmake/community/wikis/doc/cmake/RPATH-handling

CMake has support for Rpath when building, and rpath when installing, so when someone runs "make install", the rpath fo rthe installed binaries and libraries is set appropriately for the system.

That, or add some more documentation to the Readme.md about launching the newly built examples.

Commandline too long when linking example project

The error is: Commandline too long when linking example project

At my day job, we end up having to use response files all the time to avoid exactly this problem.

The windows command prompt system is basically garbage.

>------ Build started: Project: CMakeLists, Configuration: RelWithDebInfo ------
  [1/2] cmd.exe /C "cd . && C:\PROGRA~2\MICROS~2\2017\COMMUN~1\VC\Tools\MSVC\1414~1.264\bin\Hostx64\x64\link.exe /lib /nologo /machine:x64 /out:C:\Users\jonesmz\source\repos\bsfExamples\lib\x64\RelWithDebInfo\Common.lib @CMakeFiles/Common.rsp  && cmd.exe /C "cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Debug/OpenAL32.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Debug/OpenAL32.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Debug/PhysX3CHECKED_x64.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Debug/PhysX3CHECKED_x64.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Debug/PhysX3CharacterKinematicCHECKED_x64.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Debug/PhysX3CharacterKinematicCHECKED_x64.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Debug/PhysX3CommonCHECKED_x64.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Debug/PhysX3CommonCHECKED_x64.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Debug/PhysX3CookingCHECKED_x64.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Debug/PhysX3CookingCHECKED_x64.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Debug/libFLAC_dynamic.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Debug/libFLAC_dynamic.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Debug/libvorbis.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Debug/libvorbis.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Debug/libvorbisfile.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Debug/libvorbisfile.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/OptimizedDebug/OpenAL32.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/OptimizedDebug/OpenAL32.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/OptimizedDebug/PhysX3CharacterKinematic_x64.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/OptimizedDebug/PhysX3CharacterKinematic_x64.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/OptimizedDebug/PhysX3Common_x64.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/OptimizedDebug/PhysX3Common_x64.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/OptimizedDebug/PhysX3Cooking_x64.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/OptimizedDebug/PhysX3Cooking_x64.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/OptimizedDebug/PhysX3_x64.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/OptimizedDebug/PhysX3_x64.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/OptimizedDebug/libFLAC_dynamic.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/OptimizedDebug/libFLAC_dynamic.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/OptimizedDebug/libvorbis.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/OptimizedDebug/libvorbis.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/OptimizedDebug/libvorbisfile.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/OptimizedDebug/libvorbisfile.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Release/OpenAL32.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Release/OpenAL32.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Release/PhysX3CharacterKinematic_x64.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Release/PhysX3CharacterKinematic_x64.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Release/PhysX3Common_x64.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Release/PhysX3Common_x64.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Release/PhysX3Cooking_x64.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Release/PhysX3Cooking_x64.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Release/PhysX3_x64.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Release/PhysX3_x64.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Release/libFLAC_dynamic.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Release/libFLAC_dynamic.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Release/libvorbis.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Release/libvorbis.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Release/libvorbisfile.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Release/libvorbisfile.dll""
  FAILED: C:/Users/jonesmz/source/repos/bsfExamples/lib/x64/RelWithDebInfo/Common.lib 
  cmd.exe /C "cd . && C:\PROGRA~2\MICROS~2\2017\COMMUN~1\VC\Tools\MSVC\1414~1.264\bin\Hostx64\x64\link.exe /lib /nologo /machine:x64 /out:C:\Users\jonesmz\source\repos\bsfExamples\lib\x64\RelWithDebInfo\Common.lib @CMakeFiles/Common.rsp  && cmd.exe /C "cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Debug/OpenAL32.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Debug/OpenAL32.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Debug/PhysX3CHECKED_x64.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Debug/PhysX3CHECKED_x64.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Debug/PhysX3CharacterKinematicCHECKED_x64.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Debug/PhysX3CharacterKinematicCHECKED_x64.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Debug/PhysX3CommonCHECKED_x64.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Debug/PhysX3CommonCHECKED_x64.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Debug/PhysX3CookingCHECKED_x64.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Debug/PhysX3CookingCHECKED_x64.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Debug/libFLAC_dynamic.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Debug/libFLAC_dynamic.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Debug/libvorbis.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Debug/libvorbis.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Debug/libvorbisfile.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Debug/libvorbisfile.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/OptimizedDebug/OpenAL32.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/OptimizedDebug/OpenAL32.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/OptimizedDebug/PhysX3CharacterKinematic_x64.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/OptimizedDebug/PhysX3CharacterKinematic_x64.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/OptimizedDebug/PhysX3Common_x64.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/OptimizedDebug/PhysX3Common_x64.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/OptimizedDebug/PhysX3Cooking_x64.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/OptimizedDebug/PhysX3Cooking_x64.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/OptimizedDebug/PhysX3_x64.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/OptimizedDebug/PhysX3_x64.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/OptimizedDebug/libFLAC_dynamic.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/OptimizedDebug/libFLAC_dynamic.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/OptimizedDebug/libvorbis.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/OptimizedDebug/libvorbis.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/OptimizedDebug/libvorbisfile.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/OptimizedDebug/libvorbisfile.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Release/OpenAL32.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Release/OpenAL32.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Release/PhysX3CharacterKinematic_x64.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Release/PhysX3CharacterKinematic_x64.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Release/PhysX3Common_x64.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Release/PhysX3Common_x64.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Release/PhysX3Cooking_x64.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Release/PhysX3Cooking_x64.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Release/PhysX3_x64.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Release/PhysX3_x64.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Release/libFLAC_dynamic.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Release/libFLAC_dynamic.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Release/libvorbis.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Release/libvorbis.dll && cd /D C:\Users\jonesmz\CMakeBuilds\6274a852-3751-ba31-9456-d6885bc71569\build\x64-Release\Source\Common && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different C:/Users/jonesmz/source/repos/bsfExamples/../bsf/bin/x64/Release/libvorbisfile.dll C:/Users/jonesmz/source/repos/bsfExamples/bin/x64/Release/libvorbisfile.dll""
  The command line is too long.
  ninja: build stopped: subcommand failed.

Visual studio 2017 15.7.1 "Unknown CMake command "copyBsfBinaries"."

Using Visual Studio's built in git and cmake support, I clone the bsfExamples repository, and set it to x64-Debug, and ask it to build everything. This is the error that I get.

1> Command line: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe -G "Ninja" -DCMAKE_INSTALL_PREFIX:PATH="C:\Users\jonesmz\CMakeBuilds\e09c658e-8640-ea34-b760-1ec62c1516f4\install\x64-Debug" -DCMAKE_CXX_COMPILER="C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/HostX64/x64/cl.exe" -DCMAKE_C_COMPILER="C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/HostX64/x64/cl.exe" -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_MAKE_PROGRAM="C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "C:\Users\jonesmz\Source\Repos\bsfExamples"
1> Working directory: C:\Users\jonesmz\CMakeBuilds\e09c658e-8640-ea34-b760-1ec62c1516f4\build\x64-Debug
1> -- Built dependencies are out of date, forcing recompile.
1> -- Looking for snappy installation...
1> -- ...snappy OK.
1> -- Looking for nvtt installation...
1> -- ...nvtt OK.
1> -- Looking for OpenAL installation...
1> -- ...OpenAL OK.
1> -- Looking for ogg installation...
1> -- ...ogg OK.
1> -- Looking for vorbis installation...
1> -- ...vorbis OK.
1> -- Looking for FLAC installation...
1> -- ...FLAC OK.
1> -- Looking for PhysX installation...
1> -- ...PhysX OK.
1> -- Looking for FBXSDK installation...
1> -- ...FBXSDK OK.
1> -- Looking for freetype installation...
1> -- ...freetype OK.
1> -- Looking for freeimg installation...
1> -- ...freeimg OK.
1> -- Looking for bison installation...
1> -- ...bison OK.
1> -- Looking for flex installation...
1> -- ...flex OK.
1> -- Building BSL lexer/parser...
1> -- Looking for XShaderCompiler installation...
1> -- ...XShaderCompiler OK.
1> CMake Error at Source/Common/CMakeLists.txt:18 (copyBsfBinaries):
1> Unknown CMake command "copyBsfBinaries".
1>
1>
1> -- Configuring incomplete, errors occurred!
1> See also "C:/Users/jonesmz/CMakeBuilds/e09c658e-8640-ea34-b760-1ec62c1516f4/build/x64-Debug/CMakeFiles/CMakeOutput.log".
1> C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe -G "Ninja" -DCMAKE_INSTALL_PREFIX:PATH="C:\Users\jonesmz\CMakeBuilds\e09c658e-8640-ea34-b760-1ec62c1516f4\install\x64-Debug" -DCMAKE_CXX_COMPILER="C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/HostX64/x64/cl.exe" -DCMAKE_C_COMPILER="C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/HostX64/x64/cl.exe" -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_MAKE_PROGRAM="C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "C:\Users\jonesmz\Source\Repos\bsfExamples" returned with exit code: 1
CMake Error at Source/Common/CMakeLists.txt:18 (copyBsfBinaries):
Unknown CMake command "copyBsfBinaries".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.