Giter VIP home page Giter VIP logo

amnesiathedarkdescent's People

Contributors

frictional-edvin avatar

amnesiathedarkdescent's Issues

Amnesia requires prebuilt sound libraries but uses system ones

Building OpenALWrapper requires the following libraries from dependencies archive:

  1. libogg
  2. vorbis
  3. vorbis file
  4. OpenAL
  5. SDL2

Game after being compiled does not use these, preferring system ones.
Good way to fix this is to compile these libraries from source and use normal CMake means for linking.

ldd ./Amnesia.bin.x86_64 
linux-vdso.so.1 (0x00007ffc16184000)
	libvorbisfile.so.3 => /lib/x86_64-linux-gnu/libvorbisfile.so.3 (0x00007f36769c2000)
	libogg.so.0 => /lib/x86_64-linux-gnu/libogg.so.0 (0x00007f36769b5000)
	libopenal.so.1 => /lib/x86_64-linux-gnu/libopenal.so.1 (0x00007f36768cd000)
	libSDL2-2.0.so.0 => /home/krystian/code/AmnesiaTheDarkDescent/amnesia/src/build/./lib64/libSDL2-2.0.so.0 (0x00007f36765ae000)
	libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x00007f3676526000)
	libGLU.so.1 => /lib/x86_64-linux-gnu/libGLU.so.1 (0x00007f36764b4000)
	libtheora.so.0 => /lib/x86_64-linux-gnu/libtheora.so.0 (0x00007f3676462000)
	libIL.so.1 => /home/krystian/code/AmnesiaTheDarkDescent/amnesia/src/build/./lib64/libIL.so.1 (0x00007f36760ba000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f367609e000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f367607b000)
	libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f3675e9a000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f3675d4b000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f3675d2e000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3675b3c000)
	libvorbis.so.0 => /lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007f3675b0e000)
	libsndio.so.7.0 => /lib/x86_64-linux-gnu/libsndio.so.7.0 (0x00007f3675afd000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f3675af2000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f3675aec000)
	libGLdispatch.so.0 => /lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f3675a32000)
	libGLX.so.0 => /lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f36759fe000)
	libcairo.so.2 => /lib/x86_64-linux-gnu/libcairo.so.2 (0x00007f36758db000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f36769e6000)
	libasound.so.2 => /lib/x86_64-linux-gnu/libasound.so.2 (0x00007f36757e0000)
	libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f36757c6000)
	libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f3675687000)
	libpixman-1.so.0 => /lib/x86_64-linux-gnu/libpixman-1.so.0 (0x00007f36755e0000)
	libfontconfig.so.1 => /lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f3675599000)
	libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f36754da000)
	libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f36754a2000)
	libxcb-shm.so.0 => /lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007f367549d000)
	libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f3675471000)
	libxcb-render.so.0 => /lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007f3675462000)
	libXrender.so.1 => /lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f3675258000)
	libXext.so.6 => /lib/x86_64-linux-gnu/libXext.so.6 (0x00007f3675243000)
	libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f3675215000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f367520a000)
	libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007f3675204000)
	libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f36751fc000)

Launcher crashes on start after being built according to instructions

Output:

quadro fx
geforce fx
geforce gt
geforce gts
geforce gt2s
geforce gtx
geforce xpress
geforce
mobile intel(r) series express chipset family
graphics media accelerator
intel(r) hd graphics
radeon
radeon hd
amd
mesa
Post-Sort
mobile intel(r) series express chipset family
graphics media accelerator
intel(r) hd graphics
quadro fx
geforce fx
geforce gt
geforce gts
geforce gt2s
geforce gtx
geforce xpress
radeon hd
geforce
radeon
amd
mesa
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted (core dumped)```

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.