- Aug 2019
-
nim-lang.github.io nim-lang.github.io
-
Now start the program and KEEP it running!
To be able to execute mymain, first it's necessary to compile nimhcr and nimrtl libraries from nim library. To do so, find nim installation directory (in my case it was installed with choosenim and installation directory was ~/.choosenim/toolchains/nim-0.20.2/ ), and execute "nim -d:release lib/nimrtl.nim" and "nim -d:release lib/nimhcr.nim". This will create the required libraries. Set LD_LIBRARY_PATH (or copy the libraries to a system library path) to where libnimrtl.so and libnimhcr.so are located.
-
var rect: Rect(x: posX - 25, y: posY - 25, w: 50, h: 50)
Colon should be changed to equal:
var rect = Rect(....
-
To install SDL2 you can use nimble install sdl2
This example is not working with "sdl2" wrapper, but can work if "sdl2_nim" wrapper is used:
nimble install sdl2_nim
-
- Sep 2016
-
www.uco.es www.uco.es
-
ArUco: a minimal library for Augmented Reality applications based on OpenCV
Installation on Windows needs OpenCV (http://opencv.org) > 2.4.9 and freeglut (http://www.transmissionzero.co.uk/software/freeglut-devel/) (although in theory is only needed if you need OpenGL).
-
-
www.boost.org www.boost.org
-
Popular Linux and Unix distributions such as Fedora, Debian, and NetBSD include pre-built Boost packages
On installation guide, recommends downloading and installing from boost.org instead of distribution packages, as distribution packages change some things and make more difficult to follow documentation.
-