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 Read More ...
Author: admin
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 Read More ...
How to properly display sem-transparent objects?
This blog post contains only source code for shaders. Full tutorial is on YouTube.
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 Read More ...
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 Read More ...
Unity android plugin - the template.
Hello! Today I'm going to put here some java code for basic Unity plugin with couple things worth noting. If you haven't seen my YT video about making Unity plugin using only Notepad++, watch it. It's here: Since this video was released, I have found a way to get Unity's activity. Activity's class Read More ...
Java - thoughts about packages, *.jar and *.class files.
Today I want to share some of my thoughts about java packages. Most of the time I don't have to dig deep into java's internals etc. Most of the time I use C# and Unity 3D, so java is used only when it comes to write some plugin or do some tests. Copy-paste from Stack Read More ...
ARCore - app keeps stopping.
Hi Folks! Today I'm playing with ARCore on Samsung Galaxy S8 SM-G950F and Unity 3D. Yes, it's SM-G950F, despite this model is not on list of supported devices, it works! If you are looking for a tutorial I refer you to Getting Started with Unity - Google's official introduction. Here I'm going to Read More ...
clang, LLVM, IR
In this post I'll show you how to download, install and use clang on Windows. Ok but, what is clang in a first place? clang is compiler front-end for C, C++ and Objective-C languages. Front-end means that it takes source code and turns it into IR. IR stands for Intermediate Representation and it's sort of Read More ...