Hello, few day, I notice it is impossible to install naylib on windows.
(Maybe since raylib 5)
I have this message :
C:\Users\Ryback08>nimble install naylib
Downloading https://github.com/planetis-m/naylib using git
Warning: Package 'naylib' has an incorrect structure. The top level of the package source directory should contain at most one module, named 'naylib.nim', but a file named 'raylib.nim' was found. This will be an error in the future.
Hint: If this is the primary source file in the package, rename it to 'naylib.nim'. If it's a source file required by the main module, or if it is one of several modules exposed by 'naylib', then move it into a 'naylib\' subdirectory. If it's a test file or otherwise not required to build the the package 'naylib.nim', prevent its installation by adding `skipFiles = @["raylib.nim"]` to the .nimble file. See https://github.com/nim-lang/nimble#libraries for more info.
error: patch failed: src/platforms/rcore_web.c:699
error: src/platforms/rcore_web.c: patch does not apply
error: patch failed: src/rtextures.c:3794
error: src/rtextures.c: patch does not apply
stack trace: (most recent call last)
C:\Users\Ryback08\AppData\Local\Temp\nimblecache-0\nimscriptapi_1596059259.nim(222, 29)
C:\Users\Ryback08\AppData\Local\Temp\nimble_12512\githubcom_planetismnaylib\naylib.nimble(27, 7) installBefore
C:\nim\nim-2.0.0\lib\system\nimscript.nim(265, 7) exec
C:\nim\nim-2.0.0\lib\system\nimscript.nim(265, 7) Error: unhandled exception: FAILED: git apply C:\Users\Ryback08\AppData\Local\Temp\nimble_12512\githubcom_planetismnaylib\mangle_names.patch [OSError]
Tip: 5 messages have been suppressed, use --verbose to show them.
nimscriptwrapper.nim(160) execScript
Error: Exception raised during nimble script execution
[edit]
i egaly try to install naylib on raspberry pi 4 (arm64)
nimble fail to instal, i have this failure (console is in french)
Downloading https://github.com/planetis-m/naylib using git
Tip: 3 messages have been suppressed, use --verbose to show them.
tools.nim(62) tryDoCmdEx
Error: Execution of 'git clone --config core.autocrlf=false --config core.eol=lf --recursive --depth 1 -b v5.0.1 https://github.com/planetis-m/naylib /tmp/nimble_2332/githubcom_planetismnaylib' failed with an exit code 128.
... Details: Clonage dans '/tmp/nimble_2332/githubcom_planetismnaylib'...
... Note : basculement sur 'aa01e460e02281f6125a6f683158b05a8c4164d4'.
... Vous êtes dans l'état « HEAD détachée ». Vous pouvez visiter, faire des modifications
... expérimentales et les valider. Il vous suffit de faire un autre basculement pour
... abandonner les commits que vous faites dans cet état sans impacter les autres branches
... Si vous voulez créer une nouvelle branche pour conserver les commits que vous créez,
... il vous suffit d'utiliser l'option -c de la commande switch comme ceci :
... git switch -c <nom-de-la-nouvelle-branche>
... Ou annuler cette opération avec :
... git switch -
... Désactivez ce conseil en renseignant la variable de configuration advice.detachedHead à false
... Sous-module 'src/raylib' (https://github.com/raysan5/raylib.git) enregistré pour le chemin 'src/raylib'
... Clonage dans '/tmp/nimble_2332/githubcom_planetismnaylib/src/raylib'...
... erreur : 3374 octets de corps sont encore attendus
... fetch-pack: unexpected disconnect while reading sideband packet
... fatal : fin de fichier prématurée
... fatal : fetch-pack : sortie d'index de pack invalide
... fatal : Chemin de sous-module 'src/raylib' récupéré, mais il ne contenait pas 7ca95512d876c47864f066aa5e90151a48290892. La récupération directe de ce commit a échoué.
Hello, few day, I notice it is impossible to install naylib on windows. (Maybe since raylib 5)
I have this message :
[edit] i egaly try to install naylib on raspberry pi 4 (arm64) nimble fail to instal, i have this failure (console is in french)