Skip to content

Instantly share code, notes, and snippets.

View BartG95's full-sized avatar

Bart Groeneveld BartG95

  • The Netherlands
View GitHub Profile
@BartG95
BartG95 / Makefile
Last active April 15, 2022 15:39
Makefile to compile a typical, simple C++14 project
## Makefile to compile a typical, simple C++14 project.
## Author : Bart Groeneveld
## License : GPLv3
## Latest update: Saturday, May 21st, 2016
## You are probably only interested in the first line of this Makefile.
# Libraries on which TARGET depends
LIBS = \
-lpthread
# Name of the executable
@BartG95
BartG95 / mapcoloring.hs
Last active February 27, 2016 09:43
7 languages, Haskell, day 1, map-coloring
-- Author: Bart Groeneveld
-- License: GPLv3
module Main where
data Color = Red
| Green
| Blue
deriving (Eq, Show, Enum)
colors = [Red ..]
@BartG95
BartG95 / build_opencv.md
Last active January 30, 2023 21:30
How to: build OpenCV x64 with Qt on Visual Studio 2015 Community Preview and Windows 10 Preview (build 10162)

Note: since I switched to GNU+Linux (a libre operating system, which I recommend), I don't maintain this tutorial anymore. Also, be aware that this tutorial is about preview software that is superseded by multiple stable releases. Consider all information below as outdated and possibly wrong.

How to: build OpenCV x64 with Qt on Visual Studio 2015 Community Preview and Windows 10 Preview (build 10162)

Introduction

As I'm an update addict, I like to try preview software. Or I'm an update addict because I like preview software. I don't know. Anyway, before my holiday started, I used OpenCV for a project in college. I like the library, because it's possible to achieve funny things with it and it makes computer vision easy. So when my holiday began, I started using OpenCV for some fun projects. And then I upgraded Windows 10. It wasn't stable back then, but I didn't need my pc for a while, so I could try it. Also I installed Visual Studio 2015 and I started to make an OpenCV project.

Unfortunately, th