Archive for the ‘Windows’ Category

May 6, 2015 0

running a bash script from windows command using bash installed by git for windows

By in GIT, Windows

from a windows command navigated to git bin folder one can execute: bash.exe –login -i to start a nice shell if this line is given another parameter its assumed to be a script file which is executed. Additional arguments are passed to the script file as arguments. bash.exe –login -i “myscript.sh” “arguments”

Tags: ,

March 19, 2015 0

Problems with windows 7. Record interactions with the windows program psr

By in Windows

Problemer med windows? Kender du Windows 7 kommandoen “psr”? Det er muligvis et værktøj andre end mig vil finde yderst interessant når computeren lige pludselig opfører sig mærkeligt. “psr” er et program der optager skærmbilledet og registrerer tastetryk. Har du et problem med et program der ikke opfører sig som du forventer så start “psr” […]

Tags: ,

March 13, 2015 0

setting up git mergetool on windows

By in GIT, Windows

One possible merge tool for windows is kdiff3 which works great. after installing kdiff3 git needs to be set up. This blog post describes it (http://www.blog.project13.pl/index.php/coding/1192/setup-git-on-windows-to-use-kdiff3-as-its-mergetool/) but its repeated here: add the following to .gitconfig [merge] tool=kdiff3 [mergetool “kdiff3”] path = C:/Program Files/KDiff3/kdiff3.exe keepBackup = false trustExitCode = false

Tags: , ,

November 18, 2014 0

Make QT 5 detectable by cmake on windows

By in C++, cmake, qt, Visual Studio 2013, Windows

It seems that for cmake to be able to find the needed qt .cmake files it’s sufficient to add the qt bin folder to the path env variable (e.g. C:\Qt\5.3\msvc2013_64_opengl\bin)

October 31, 2014 0

Qt creator and perhaps visual studio 2013 is missing include directories and other env variables

By in C++, c++, Visual Studio 2013, Windows

Symptom: Cant compile any programs and compiler complaining about missing standard header files such as stddef.h diagnose: in QT creator go to project settings and inspect environment variables. There should be e.g an INCLUDE variable. If not the vcvarsall.bat file that is accompanying VS is not run propable. Following this post: http://schrievkrom.wordpress.com/2011/01/25/error-cannot-determine-the-location-of-the-vs-common-tools-folder/ it seems that the […]

Tags: ,