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 ...

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 ...

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 ...