5 Matching Annotations
  1. Last 7 days
    1. 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.

    2. var rect: Rect(x: posX - 25, y: posY - 25, w: 50, h: 50)

      Colon should be changed to equal:

      var rect = Rect(....

    3. 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

  2. Sep 2016
    1. 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.