error launching Qt6 applications: Cannot mix incompatible Qt library (6.5.2) with this library (6.5.3)

> qt6ct Cannot mix incompatible Qt library (6.5.2) with this library (6.5.3) [1] 26923 IOT instruction (core dumped) qt6ct In order to determine the problematic library, use the strace command: > sudo strace qt6ct mmap(NULL, 24912, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0x7f90a0382000 mmap(0x7f90a0385000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x3000) = 0x7f90a0385000 mmap(0x7f90a0386000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9,Continue reading error launching Qt6 applications: Cannot mix incompatible Qt library (6.5.2) with this library (6.5.3)

Linux, Plank Dock & Desktop Entries: Add an open ‘New Window’ action

Plank is a popular application launcher dock in Linux. By default, most application desktop entries do not provide any additional actions. Say we want to add an open ‘new window’ action to our desktop entry for pkgbrowser: Our desktop entry file looks as follows: Simply add the following to the end of the file. OfContinue reading Linux, Plank Dock & Desktop Entries: Add an open ‘New Window’ action

cmake: /usr/include/c++/10.1.0/type_traits(1396): “error: type name is not allowed” or “error: identifier “__is_same_as” is undefined”

If the gcc version being used is incompatible with cuda version, there will be errors such as: See discussion on GitHub: CUDA Build error on Arch Linux and CUDA Compilers – nvcc compatibility chart. This can be resolved by using an earlier version of GCC which is compatible with the CUDA version. In my exampleContinue reading cmake: /usr/include/c++/10.1.0/type_traits(1396): “error: type name is not allowed” or “error: identifier “__is_same_as” is undefined”

cmake: undefined reference to std::__cxx11::basic_string

The default version of gcc in the Arch Linux repositories is now gcc10: This can result in errors during linking while building packages, such as: This issue can be resolved by compiling with an earlier version of gcc: Setting these CMake variables will result in using the gcc9 version of gcc, g++, gcc-ar, and gcc-ranlib:

Compressing PNG images with pngout, optipng, and advpng

Screenshot tools for Linux and macOS generally produce image files in the .png file format. PNG is a lossless compression format, meaning that it can be compressed without losing quality, which is unlike another commonly used image format, JPG. There are 3 command-line tools which can be used to compress PNG files, pngout, optipng, andContinue reading Compressing PNG images with pngout, optipng, and advpng

TeamViewer: Remote Desktop to Android Tablet

In the past, I’ve written about different remote desktop products/solutions, including NoMachine for remoting into traditional desktop machines, but also a few alternatives for accessing and controlling Android devices from a computer. Today I’d like to mention TeamViewer, a product free for non-commercial use that supports computer to computer, Android to computer, and computer toContinue reading TeamViewer: Remote Desktop to Android Tablet

Shrinking/Compacting VirtualBox Disk Images

Download the SDelete program provided by Microsoft onto your Windows Guest machine. Clean up unnecessary files and programs. One useful utility is WinDirStat. Run the following command in the terminal to write zeroes over unused disk storage in your Windows guest: sdelete64 -z c: Shut down your VM and run the following command on yourContinue reading Shrinking/Compacting VirtualBox Disk Images

How to Install macOS Sierra on VMware Player 12.5

Enroll in Apple’s Beta Software Program. Download a fresh copy of VMware Workstation Player for Windows or Linux from the official VMware site. The free trial of this product has no expiration if used for non-commercial purposes. You’ll need to unlock your installation of VMware to use Mac operating system as a guest following theseContinue reading How to Install macOS Sierra on VMware Player 12.5