johnnovak / gridmonger

Your trusty old-school cRPG mapping companion
https://gridmonger.johnnovak.net/
Do What The F*ck You Want To Public License
61 stars 2 forks source link

Fails to build on Ubuntu/PopOS! #12

Open HellishINC opened 7 months ago

HellishINC commented 7 months ago

Initially this occurred when using Nim 2.0.4 but also occurs with 2.0.2 as per readme.

Same issue is encountered with v1.1.0 and v1.0.1 tags/releases. osdialogGtk2, 3 and Zenity all fail.

Newer commits result in a different error. See #11 Tried it just in case.

I saw some people having success on the forums with a debug build but that yielded the same end result on either of the machines I attempted to compile on.

On a side note, the readme should be updated to display: nim release -d=osdialogGtk3

helly@helly-kubuntu-22lts:~/Downloads/Build/gridmonger$ nim release -d=osdialogGtk3
Hint: used config file '/home/helly/.choosenim/toolchains/nim-2.0.2/config/nim.cfg' [Conf]
Hint: used config file '/home/helly/.choosenim/toolchains/nim-2.0.2/config/config.nims' [Conf]
Hint: used config file '/home/helly/Downloads/Build/gridmonger/config.nims' [Conf]
................................................................................................................................................................................
/home/helly/Downloads/Build/gridmonger/src/drawlevel.nim(1167, 26) Warning: isCursorActive, regionBorder all have default value 'false', this may be unintentional, either use ';' (semicolon) or explicitly write each default value [ImplicitDefaultValue]
/home/helly/Downloads/Build/gridmonger/src/drawlevel.nim(1186, 29) Warning: isCursorActive, regionBorder all have default value 'false', this may be unintentional, either use ';' (semicolon) or explicitly write each default value [ImplicitDefaultValue]
/home/helly/Downloads/Build/gridmonger/src/drawlevel.nim(1213, 30) Warning: isCursorActive, regionBorder all have default value 'false', this may be unintentional, either use ';' (semicolon) or explicitly write each default value [ImplicitDefaultValue]
/home/helly/Downloads/Build/gridmonger/src/drawlevel.nim(1243, 21) Warning: isCursorActive, regionBorder, fill all have default value 'false', this may be unintentional, either use ';' (semicolon) or explicitly write each default value [ImplicitDefaultValue]
/home/helly/Downloads/Build/gridmonger/src/drawlevel.nim(1297, 27) Warning: isCursorActive, regionBorder all have default value 'false', this may be unintentional, either use ';' (semicolon) or explicitly write each default value [ImplicitDefaultValue]
/home/helly/Downloads/Build/gridmonger/src/drawlevel.nim(1304, 27) Warning: isCursorActive, regionBorder all have default value 'false', this may be unintentional, either use ';' (semicolon) or explicitly write each default value [ImplicitDefaultValue]
/home/helly/Downloads/Build/gridmonger/src/drawlevel.nim(1339, 24) Warning: isCursorActive, regionBorder all have default value 'false', this may be unintentional, either use ';' (semicolon) or explicitly write each default value [ImplicitDefaultValue]
/home/helly/Downloads/Build/gridmonger/src/drawlevel.nim(1434, 29) Warning: isCursorActive, regionBorder all have default value 'false', this may be unintentional, either use ';' (semicolon) or explicitly write each default value [ImplicitDefaultValue]
/home/helly/Downloads/Build/gridmonger/src/drawlevel.nim(1439, 29) Warning: isCursorActive, regionBorder all have default value 'false', this may be unintentional, either use ';' (semicolon) or explicitly write each default value [ImplicitDefaultValue]
/home/helly/Downloads/Build/gridmonger/src/drawlevel.nim(1476, 24) Warning: isCursorActive, regionBorder all have default value 'false', this may be unintentional, either use ';' (semicolon) or explicitly write each default value [ImplicitDefaultValue]
/home/helly/Downloads/Build/gridmonger/src/drawlevel.nim(1481, 24) Warning: isCursorActive, regionBorder all have default value 'false', this may be unintentional, either use ';' (semicolon) or explicitly write each default value [ImplicitDefaultValue]
/home/helly/Downloads/Build/gridmonger/src/drawlevel.nim(1550, 24) Warning: isCursorActive, regionBorder all have default value 'false', this may be unintentional, either use ';' (semicolon) or explicitly write each default value [ImplicitDefaultValue]
/home/helly/Downloads/Build/gridmonger/src/drawlevel.nim(1556, 24) Warning: isCursorActive, regionBorder all have default value 'false', this may be unintentional, either use ';' (semicolon) or explicitly write each default value [ImplicitDefaultValue]
/home/helly/Downloads/Build/gridmonger/src/drawlevel.nim(1593, 25) Warning: isCursorActive, regionBorder all have default value 'false', this may be unintentional, either use ';' (semicolon) or explicitly write each default value [ImplicitDefaultValue]
/home/helly/Downloads/Build/gridmonger/src/drawlevel.nim(1598, 25) Warning: isCursorActive, regionBorder all have default value 'false', this may be unintentional, either use ';' (semicolon) or explicitly write each default value [ImplicitDefaultValue]
/home/helly/Downloads/Build/gridmonger/src/drawlevel.nim(1605, 24) Warning: isCursorActive, regionBorder all have default value 'false', this may be unintentional, either use ';' (semicolon) or explicitly write each default value [ImplicitDefaultValue]
/home/helly/Downloads/Build/gridmonger/src/drawlevel.nim(1686, 26) Warning: isCursorActive, regionBorder all have default value 'false', this may be unintentional, either use ';' (semicolon) or explicitly write each default value [ImplicitDefaultValue]
/home/helly/Downloads/Build/gridmonger/src/drawlevel.nim(1691, 26) Warning: isCursorActive, regionBorder all have default value 'false', this may be unintentional, either use ';' (semicolon) or explicitly write each default value [ImplicitDefaultValue]
/home/helly/Downloads/Build/gridmonger/src/drawlevel.nim(2510, 23) template/generic instantiation of `drawRegionBorderRows` from here
/home/helly/Downloads/Build/gridmonger/src/drawlevel.nim(2472, 8) Warning: template 'dp' is implicitly redefined; this is deprecated, add an explicit .redefine pragma [ImplicitTemplateRedefinition]
/home/helly/Downloads/Build/gridmonger/src/drawlevel.nim(2514, 23) template/generic instantiation of `drawRegionBorderCols` from here
/home/helly/Downloads/Build/gridmonger/src/drawlevel.nim(2492, 8) Warning: template 'dp' is implicitly redefined; this is deprecated, add an explicit .redefine pragma [ImplicitTemplateRedefinition]
/home/helly/Downloads/Build/gridmonger/src/drawlevel.nim(2524, 23) template/generic instantiation of `drawRegionBorderRows` from here
/home/helly/Downloads/Build/gridmonger/src/drawlevel.nim(2472, 8) Warning: template 'dp' is implicitly redefined; this is deprecated, add an explicit .redefine pragma [ImplicitTemplateRedefinition]
/home/helly/Downloads/Build/gridmonger/src/drawlevel.nim(2546, 23) template/generic instantiation of `drawRegionBorderCols` from here
/home/helly/Downloads/Build/gridmonger/src/drawlevel.nim(2492, 8) Warning: template 'dp' is implicitly redefined; this is deprecated, add an explicit .redefine pragma [ImplicitTemplateRedefinition]
.......
/home/helly/Downloads/Build/gridmonger/src/persistence.nim(1088, 3) template/generic instantiation of `writeLayer` from here
/home/helly/Downloads/Build/gridmonger/src/persistence.nim(1053, 10) Warning: template 'e' is implicitly redefined; this is deprecated, add an explicit .redefine pragma [ImplicitTemplateRedefinition]
/home/helly/Downloads/Build/gridmonger/src/persistence.nim(1089, 3) template/generic instantiation of `writeLayer` from here
/home/helly/Downloads/Build/gridmonger/src/persistence.nim(1053, 10) Warning: template 'e' is implicitly redefined; this is deprecated, add an explicit .redefine pragma [ImplicitTemplateRedefinition]
/home/helly/Downloads/Build/gridmonger/src/persistence.nim(1090, 3) template/generic instantiation of `writeLayer` from here
/home/helly/Downloads/Build/gridmonger/src/persistence.nim(1053, 10) Warning: template 'e' is implicitly redefined; this is deprecated, add an explicit .redefine pragma [ImplicitTemplateRedefinition]
/home/helly/Downloads/Build/gridmonger/src/persistence.nim(1091, 3) template/generic instantiation of `writeLayer` from here
/home/helly/Downloads/Build/gridmonger/src/persistence.nim(1053, 10) Warning: template 'e' is implicitly redefined; this is deprecated, add an explicit .redefine pragma [ImplicitTemplateRedefinition]
/home/helly/Downloads/Build/gridmonger/src/persistence.nim(1092, 3) template/generic instantiation of `writeLayer` from here
/home/helly/Downloads/Build/gridmonger/src/persistence.nim(1053, 10) Warning: template 'e' is implicitly redefined; this is deprecated, add an explicit .redefine pragma [ImplicitTemplateRedefinition]
.
/home/helly/Downloads/Build/gridmonger/src/main.nim(7248, 11) Error: ambiguous identifier: 'set' -- use one of the following:
  system.set: set
  hocon.set: proc (node: HoconNode, path: string, value: HoconNode, createPath: bool){.noSideEffect, gcsafe.}
  hocon.set: proc (node: HoconNode, path: string, str: string, createPath: bool){.noSideEffect, gcsafe.}
  hocon.set: proc [*missing parameters*](node: HoconNode, path: string, num: SomeNumber, createPath: bool)
  hocon.set: proc (node: HoconNode, path: string, flag: bool, createPath: bool){.noSideEffect, gcsafe.}
johnnovak commented 7 months ago

@HellishINC I'm not surprised as I never tried to compile it on Linux myself. At some point I'll sort it out and will provide x64 and arm binaries too.