This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
en:tutorials:orx:linux:setting_up_dev_on_linux [2022/03/27 13:43 (3 months ago)] iarwain Removed OpenAL references |
en:tutorials:orx:linux:setting_up_dev_on_linux [2022/03/27 13:44 (3 months ago)] (current) iarwain Removed LibSndFile references |
||
---|---|---|---|
Line 81: | Line 81: | ||
<code> | <code> | ||
make config=debug32 | make config=debug32 | ||
- | </code> | ||
- | |||
- | There is a very small gotcha. Because the libsndfile1-dev library does not yet contain multi-arch support (at least on Ubuntu), you cannot usually keep both the 32-bit and 64-bit versions of libsndfile1-dev on your system at the same time with ''apt'' or ''apt-get''. You can work around this by doing the following: | ||
- | |||
- | <code> | ||
- | sudo apt install libsndfile1-dev | ||
- | cd /usr/lib/x86_64-linux-gnu | ||
- | sudo cp libsndfile.so libsndfile.so_ | ||
- | sudo cp libsndfile.a libsndfile.a_ | ||
- | sudo apt install libsndfile1-dev:i386 | ||
- | sudo cp libsndfile.so_ libsndfile.so | ||
- | sudo cp libsndfile.a_ libsndfile.a | ||
</code> | </code> | ||