import i18n
Causes problem.
import "i18n"
./postep.nimble
Package
version = "0.0.1"
author = "Sławomir Lach"
description = "Nimble version of postęp - game based on Freeciv"
license = "GPL-2.0"
srcDir = "src"
installExt = @["nim"]
bin = @["posteppkg/common/libcommon.so", "executables/client/progressclient", "executables/server/progressserver"]
# Dependencies
requires "nim >= 1.0.0"
In ./ I type nimble build .
I thnik I must add dependency. I don't remember what install ext is.
Thanks. Currently I have following error:
/tmp/nimble_15/githubcom_Parashuramanimi18n/i18n.nim(198, 41) Error: usage of 'isNil' is a user-defined error
Well it seems that the i18n module you're using is quite old. This line https://github.com/Parashurama/nim-i18n/blob/master/i18n.nim#L198 is not valid anymore since isNil is deprecated since Nim version 0.20. You'd have to rewrite it to something like:
while not self.entries[index].value == ""