Araq / nimedit

NimEdit is the new upcoming slim IDE/editor for the Nim programming language. Currently it is hardly usable at all! It's been open sourced in the hope it will speed up its development process.
https://nim-lang.org/nimedit/
MIT License
108 stars 12 forks source link

Error: undeclared field: 'data1' for type sdl2.WindowEventPtr #16

Open uninhm opened 4 years ago

uninhm commented 4 years ago
   Warning: The .nimble file for this project could make use of additional features, if converted into the new NimScript format.
        ... For more details see:https://github.com/nim-lang/nimble#creating-packages
  Verifying dependencies for NimEdit@0.91
      Info: Dependency on sdl2@#head already satisfied
  Verifying dependencies for sdl2@#head
      Info: Dependency on dialogs@>= 1.0 already satisfied
  Verifying dependencies for dialogs@1.1.1
      Info: Dependency on gtk2@>= 1.0 already satisfied
  Verifying dependencies for gtk2@1.3
      Info: Dependency on cairo@any version already satisfied
  Verifying dependencies for cairo@1.1.1
   Building NimEdit/nimedit using c backend
       Tip: 9 messages have been suppressed, use --verbose to show them.
     Error: Build failed for package: NimEdit
        ... Details:
        ... Execution failed with exit code 1
        ... Command: "/usr/bin/nim" c --noNimblePath -d:NimblePkgVersion=0.91 --path:"/home/unai/.nimble/pkgs/sdl2-#head"  --path:"/home/unai/.nimble/pkgs/dialogs-1.1.1"  --path:"/home/unai/.nimble/pkgs/gtk2-1.3"  --path:"/home/unai/.nimble/pkgs/cairo-1.1.1"  -o:"/home/unai/Descargas/nimedit/nimedit" "/home/unai/Descargas/nimedit/nimedit.nim"
        ... Output: Hint: used config file '/etc/nim/nim.cfg' [Conf]
        ... Hint: used config file '/etc/nim/config.nims' [Conf]
        ... /home/unai/Descargas/nimedit/nimedit.nims(16, 8) Warning: import os.nim instead; ospaths is deprecated [Deprecated]
        ... Hint: system [Processing]
        ... Hint: widestrs [Processing]
        ... Hint: io [Processing]
        ... Hint: nimedit [Processing]
        ... Hint: strutils [Processing]
        ... Hint: parseutils [Processing]
        ... Hint: math [Processing]
        ... Hint: bitops [Processing]
        ... Hint: macros [Processing]
        ... Hint: algorithm [Processing]
        ... Hint: unicode [Processing]
        ... Hint: critbits [Processing]
        ... Hint: os [Processing]
        ... Hint: pathnorm [Processing]
        ... Hint: osseps [Processing]
        ... Hint: posix [Processing]
        ... Hint: times [Processing]
        ... Hint: options [Processing]
        ... Hint: typetraits [Processing]
        ... Hint: browsers [Processing]
        ... Hint: osproc [Processing]
        ... Hint: strtabs [Processing]
        ... Hint: hashes [Processing]
        ... Hint: streams [Processing]
        ... Hint: cpuinfo [Processing]
        ... Hint: tables [Processing]
        ... Hint: intsets [Processing]
        ... Hint: sdl2 [Processing]
        ... Hint: ttf [Processing]
        ... Hint: prims [Processing]
        ... Hint: random [Processing]
        ... /home/unai/Descargas/nimedit/prims.nim(4, 8) Warning: imported and not used: 'random' [UnusedImport]
        ... Hint: buffertype [Processing]
        ... Hint: styles [Processing]
        ... Hint: languages [Processing]
        ... Hint: common [Processing]
        ... /home/unai/Descargas/nimedit/styles.nim(6, 8) Warning: imported and not used: 'languages' [UnusedImport]
        ... Hint: ast [Processing]
        ... Hint: lineinfos [Processing]
        ... Hint: ropes [Processing]
        ... Hint: pathutils [Processing]
        ... Hint: options [Processing]
        ... Hint: sets [Processing]
        ... Hint: platform [Processing]
        ... Hint: prefixmatches [Processing]
        ... Hint: terminal [Processing]
        ... Hint: strformat [Processing]
        ... Hint: colors [Processing]
        ... Hint: termios [Processing]
        ... Hint: idents [Processing]
        ... Hint: wordrecg [Processing]
        ... Hint: idgen [Processing]
        ... Hint: int128 [Processing]
        ... /home/unai/Descargas/nimedit/buffertype.nim(2, 16) Warning: imported and not used: 'languages' [UnusedImport]
        ... Hint: buffer [Processing]
        ... Hint: highlighters [Processing]
        ... /home/unai/Descargas/nimedit/highlighters.nim(355, 6) Hint: 'isKeywordIgnoreCase' is declared but not used [XDeclaredButNotUsed]
        ... /home/unai/Descargas/nimedit/highlighters.nim(15, 33) Warning: imported and not used: 'languages' [UnusedImport]
        ... /home/unai/Descargas/nimedit/highlighters.nim(17, 6) Warning: imported and not used: 'sdl2' [UnusedImport]
        ... /home/unai/Descargas/nimedit/highlighters.nim(15, 25) Warning: imported and not used: 'styles' [UnusedImport]
        ... Hint: themes [Processing]
        ... Hint: unihelp [Processing]
        ... /home/unai/Descargas/nimedit/drawbuffer.nim(287, 7) Hint: 'broke' is declared but not used [XDeclaredButNotUsed]
        ... Hint: console [Processing]
        ... /home/unai/Descargas/nimedit/console.nim(350, 36) Warning: poDemon is deprecated [Deprecated]
        ... Hint: keydefs [Processing]
        ... Hint: nimscriptsupport [Processing]
        ... Hint: modules [Processing]
        ... Hint: astalgo [Processing]
        ... Hint: rodutils [Processing]
        ... Hint: msgs [Processing]
        ... Hint: magicsys [Processing]
        ... Hint: modulegraphs [Processing]
        ... Hint: incremental [Processing]
        ... Hint: btrees [Processing]
        ... Hint: md5 [Processing]
        ... Hint: lexer [Processing]
        ... Hint: nimlexbase [Processing]
        ... Hint: llstream [Processing]
        ... Hint: passes [Processing]
        ... Hint: syntaxes [Processing]
        ... Hint: parser [Processing]
        ... Hint: filters [Processing]
        ... Hint: renderer [Processing]
        ... Hint: filter_tmpl [Processing]
        ... Hint: reorder [Processing]
        ... Hint: modulepaths [Processing]
        ... Hint: rod [Processing]
        ... Hint: passaux [Processing]
        ... Hint: condsyms [Processing]
        ... Hint: sem [Processing]
        ... Hint: trees [Processing]
        ... Hint: types [Processing]
        ... Hint: nversion [Processing]
        ... Hint: nimsets [Processing]
        ... Hint: bitsets [Processing]
        ... Hint: semfold [Processing]
        ... Hint: commands [Processing]
        ... Hint: extccomp [Processing]
        ... Hint: sha1 [Processing]
        ... Hint: endians [Processing]
        ... Hint: sequtils [Processing]
        ... Hint: json [Processing]
        ... Hint: lexbase [Processing]
        ... Hint: parsejson [Processing]
        ... Hint: nimblecmd [Processing]
        ... Hint: parseopt [Processing]
        ... Hint: importer [Processing]
        ... Hint: lookups [Processing]
        ... Hint: semdata [Processing]
        ... Hint: vmdef [Processing]
        ... Hint: prettybase [Processing]
        ... Hint: linter [Processing]
        ... Hint: sigmatch [Processing]
        ... Hint: semtypinst [Processing]
        ... Hint: parampatterns [Processing]
        ... Hint: lowerings [Processing]
        ... Hint: procfind [Processing]
        ... Hint: pragmas [Processing]
        ... Hint: transf [Processing]
        ... Hint: cgmeth [Processing]
        ... Hint: sempass2 [Processing]
        ... Hint: guards [Processing]
        ... Hint: saturate [Processing]
        ... Hint: liftdestructors [Processing]
        ... Hint: sighashes [Processing]
        ... Hint: liftlocals [Processing]
        ... Hint: closureiters [Processing]
        ... Hint: lambdalifting [Processing]
        ... Hint: vm [Processing]
        ... Hint: vmgen [Processing]
        ... Hint: vmdeps [Processing]
        ... Hint: vmmarshal [Processing]
        ... Hint: gorgeimpl [Processing]
        ... Hint: macrocacheimpl [Processing]
        ... Hint: evaltempl [Processing]
        ... Hint: compilesettings [Processing]
        ... Hint: aliases [Processing]
        ... Hint: patterns [Processing]
        ... Hint: semmacrosanity [Processing]
        ... Hint: active [Processing]
        ... Hint: pluginsupport [Processing]
        ... Hint: locals [Processing]
        ... Hint: itersgen [Processing]
        ... Hint: spawn [Processing]
        ... Hint: scriptconfig [Processing]
        ... /home/unai/Descargas/nimedit/nimscriptsupport.nim(5, 59) Warning: imported and not used: 'commands' [UnusedImport]
        ... /home/unai/Descargas/nimedit/nimscriptsupport.nim(4, 62) Warning: imported and not used: 'semdata' [UnusedImport]
        ... /home/unai/Descargas/nimedit/nimscriptsupport.nim(6, 11) Warning: imported and not used: 'msgs' [UnusedImport]
        ... /home/unai/Descargas/nimedit/nimscriptsupport.nim(3, 60) Warning: imported and not used: 'passaux' [UnusedImport]
        ... Hint: tabbar [Processing]
        ... Hint: finder [Processing]
        ... Hint: re [Processing]
        ... Hint: pcre [Processing]
        ... Hint: rtarrays [Processing]
        ... Hint: scrollbar [Processing]
        ... /home/unai/Descargas/nimedit/scrollbar.nim(3, 28) Warning: imported and not used: 'intsets' [UnusedImport]
        ... /home/unai/Descargas/nimedit/scrollbar.nim(4, 24) Warning: imported and not used: 'prims' [UnusedImport]
        ... Hint: indexer [Processing]
        ... /home/unai/Descargas/nimedit/indexer.nim(4, 8) Warning: imported and not used: 'strutils' [UnusedImport]
        ... Hint: overviews [Processing]
        ... /home/unai/Descargas/nimedit/overviews.nim(7, 12) Warning: imported and not used: 'llstream' [UnusedImport]
        ... /home/unai/Descargas/nimedit/overviews.nim(7, 12) Warning: imported and not used: 'msgs' [UnusedImport]
        ... /home/unai/Descargas/nimedit/overviews.nim(7, 12) Warning: imported and not used: 'lookups' [UnusedImport]
        ... Hint: nimsuggestclient [Processing]
        ... Hint: net [Processing]
        ... Hint: nativesockets [Processing]
        ... Hint: monotimes [Processing]
        ... Hint: ssl_certs [Processing]
        ... Hint: ospaths [Processing]
        ... /home/unai/Descargas/nimedit/nimsuggestclient.nim(113, 64) Warning: poDemon is deprecated [Deprecated]
        ... /home/unai/Descargas/nimedit/nimsuggestclient.nim(2, 16) Warning: imported and not used: 'streams' [UnusedImport]
        ... Hint: minimap [Processing]
        ... /home/unai/Descargas/nimedit/nimedit.nim(942, 23) Error: undeclared field: 'data1' for type sdl2.WindowEventPtr [declared in /home/unai/.nimble/pkgs/sdl2-#head/sdl2.nim(70, 3)]