12. February 2018

Incompatible library version: requires version 19.0.0 or later, but .dylib provides version 18.0.0

I was trying to compile simple test application with FreeType2 on macOS just by a command line. Application compiled without problem.

The application was not able to start and displayed following error:

Compilation of FreeType
dyld: Library not loaded: /usr/local/lib/libfreetype.6.dylib
  Referenced from: /Users/georgik/projects/freetype-2.6.5/./fttest
  Reason: Incompatible library version: fttest requires version 19.0.0 or later, but libfreetype.6.dylib provides version 18.0.0

There is one handy tool on macOS which helps in cases like this one: otool.

otool -L ./ft-test
  /usr/local/lib/libfreetype.6.dylib (compatibility version 19.0.0, current version 19.5.0)
  /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.0.0)
  /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 495.0.0

The problem was caused by two versions of libfreetype on the macOS. One library was stored in /usr/local/lib and the other was stored in my project directory.

How to fix the issue? There are two options:

  • Remove unwanted library which is causing ambiguity
  • Set proper paths to DYLD_LIBRARY_PATH before starting the application

4. February 2018

How to find out version of Windows

Different version of Windows contains different features. E.g. switching UI to grayscale is available in Windows 10 in version 1709.

If you want to find out version of Windows, press Windows key and type command winver.

Press enter and following window should be displayed:

20. January 2018

How to switch tabs in MobaXterm

MobaXterm is a versatile terminal manager for Windows. Many Windows users are using Putty to connect to SSH on a remote machine or Git Bash when they want to use Git on Windows. MobaXterm can effectively replace these tools with more convenient experience.

One neat feature of many terminal applications on Linux is support for tabs (e.g. in Konsole). The question is how you can switch between tabs in MobaXterm just by using a keyboard.

The Default configuration of keyboard shortcuts is stored under menu Settings and option Keyboard shortcuts.

By default you can use:

Previous tab - Ctrl + Alt + LEFT
Next tab - Ctrl + Alt + RIGHT

I recommend chinging the configuration to match default keyboard shortcuts of Firefox or Google Chrome.

Previous tab - Ctrl + Page_UP
Next tab - Ctrl + Page_DOWN

Enjoy tabs. 🙂

13. January 2018

How to change Windows 10 to grayscale mode and back to color mode

Windows 10 (Fall Creators Update 2017 – winver: 1709) has one neat feature which might be handy for graphic designers and photographers. You can quickly can turn your display quickly to grayscale (black and white).

Some people activates this feature just by accident and they do not know how to turn Windows 10 back to color mode.

The keyboard shortcut is pretty simple:

Windows + CTRL + C

Color mode of Windows 10:

Grayscale (black and white) mode of Windows 10:

You can read more at Microsoft web site.

29. December 2017

HTML5 Game: Labyrinth – PF 2018

Find your way through the labyrinth.

Start the game in full screen mode


You can find more games at georgik.rocks/tag/games/