Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - bazik210

Pages: [1]
1
General / Re: SoundBuffer sfml crash
« on: February 08, 2019, 02:33:49 am »
Thanks for info, tried Singleton pattern, seems working for this.

2
General / SoundBuffer sfml crash
« on: February 07, 2019, 09:23:15 pm »
When i'm trying to create SoundBuffer in class and use static linkage, it crashes. Tried also with unique_ptr, it returns emptiness... if soundmanager class created as non-global in main, seems problem dissapears.

SFML 2.5.1, vs17, win7 x64

In preproc:
WIN32
_DEBUG
_CONSOLE
SFML_STATIC
UNICODE

Used libs:
%(AdditionalDependencies)
sfml-audio-s-d.lib
sfml-graphics-s-d.lib
sfml-network-s-d.lib
sfml-window-s-d.lib
sfml-system-s-d.lib
openal32.lib
ws2_32.lib
gdi32.lib
opengl32.lib
flac.lib
freetype.lib
ogg.lib
vorbis.lib
vorbisenc.lib
vorbisfile.lib
winmm.lib

With dynamic linkage all fine, code was tested there before tries.

Pages: [1]