June 3, 2019

How to increase limit of file descriptors (or sockets) in Linux Mint

In this post i am going to show you the simple way to set up your systemd-based linux, and make it able to handle more than default 1024 file descriptors per process. It was painful for me, so, despite it's short and easy, i have decided that i'm going to write about it anyway. The ...

December 2, 2017

undefined reference to `clang_createIndex'

Hi. This will be very short note. I'm trying to build clang and llvm and I have encountered linker error: undefined reference to `clang_createIndex'   I'm using this command to build: g++ -I. -I./clang+llvm-5.0.0-x86_64-linux-gnu-debian8/include -L./clang+llvm-5.0.0-x86_64-linux-gnu-debian8/lib -g -std=c++11 -lclang main.cpp -o acs   So, what's wrong ? Well it turned out that link option (-lclang) should ...

November 21, 2017

How to properly display sem-transparent objects?

This blog post contains only source code for shaders. Full tutorial is on YouTube.

October 20, 2017

Samsung Gear VR (SM-R325) - troubleshooting

Hi. I'm experimenting with Samsung Gear VR (SM-R325). Below I described how to deal with typical problems.     Problem #1 If you see error message: Thread priority security exception. Make sure the APK is signed. like below: That means you either don't have OSIG file or you have WRONG OSIG file.   Solution Plug ...

October 17, 2017

How to build FFmpeg for Android

Hello.   I have decided that I want to build FFmpeg libraries from source for Android. And, yes ... as you can imagine it's not that easy as it seems. But finally I did it! (at least I got no compilation errors) and I want to share my approach with you.     First things ...