OS:
    
    
    Win11
    
    
    Run

Nim:
    
    
    Nim Compiler Version 2.0.4 [Windows: amd64]
    Compiled at 2024-03-28
    Copyright (c) 2006-2023 by Andreas Rumpf
    
    
    Run

GCC:
    
    
    
    gcc version 11.1.0 (MinGW-W64 x86_64-posix-seh, built by Brecht Sanders)
    
    
    Run

error message:
    
    
    In file included from 
C:\Users\NatsukiKarin\.nimble\pkgs2\bcrypt-0.2.1-5d8719a26c03137b6c38dbf13e9a102b985f8d18\bcrypt\blowfish.c:53:
    
C:\Users\NatsukiKarin\.nimble\pkgs2\bcrypt-0.2.1-5d8719a26c03137b6c38dbf13e9a102b985f8d18\bcrypt\blowfish.h:56:9:
 error: unknown type name 'u_int32_t'
       56 |         u_int32_t S[4][256];    /* S-Boxes */
          |         ^~~~~~~~~
    
C:\Users\NatsukiKarin\.nimble\pkgs2\bcrypt-0.2.1-5d8719a26c03137b6c38dbf13e9a102b985f8d18\bcrypt\blowfish.h:57:9:
 error: unknown type name 'u_int32_t'
       57 |         u_int32_t P[BLF_N + 2]; /* Subkeys */
          |         ^~~~~~~~~
    
C:\Users\NatsukiKarin\.nimble\pkgs2\bcrypt-0.2.1-5d8719a26c03137b6c38dbf13e9a102b985f8d18\bcrypt\blowfish.h:66:35:
 error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
       66 | void Blowfish_encipher(blf_ctx *, u_int32_t *, u_int32_t *);
          |                                   ^~~~~~~~~
          |                                   uint32_t
    compilation terminated due to -fmax-errors=3.
    
C:\Users\NatsukiKarin\.nimble\pkgs2\bcrypt-0.2.1-5d8719a26c03137b6c38dbf13e9a102b985f8d18\bcrypt\crypt-blowfish.c:74:10:
 rror: 
C:\Users\NatsukiKarin\.nimble\pkgs2\bcrypt-0.2.1-5d8719a26c03137b6c38dbf13e9a102b985f8d18\bcrypt\arc4random.c:48:9:
  xecution of an external compiler program 'gcc.exe -c  -w -fmax-errors=3 
-mno-ms-bitfields -DWIN32_LEAN_AND_MEAN -O3 -fno-stfatal error:  ri t-aliasing 
-fno-ident -fno-math-errno   
-IC:\Users\NatsukiKarin\.choosenim\toolchains\nim-2.0.4\lib 
-ID:\Dev\project\nimforum\src -o 
C:\Users\NatsukiKarin\nimcache\forum_r\@mC@c@sUsers@sNatsukiKarin@s.nimble@spkgs2@sbcrypt-0.2.1-5d8719a26c03137b6c38dbf13e9a102b985f8d18@sbcrypt@sblowfish.c.o
 
C:\Users\NatsukiKarin\.nimble\pkgs2\bcrypt-0.2.1-5d8719a26c03137b6c38dbf1pwd.h: 
No such file or directory
       74 | #include error:   9a102b985f8d18\bcrypt\blowfish.c' failed with 
exit code: 1
    
    unknown type name '<pwd.h>
    u_int8_t
          |          '
       48 |         ^~~~~~~u_int8_t
    c i;
          |         o p^~~~~~~~il
    
atiC:\Users\NatsukiKarin\.nimble\pkgs2\bcrypt-0.2.1-5d8719a26c03137b6c38dbf13e9a102b985f8d18\bcrypt\arc4random.c:49:9:on
   eerror: rmunknown type name 'i au_int8_tte'
       49 |         d
    u_int8_t j;
          |         ^~~~~~~~
    
C:\Users\NatsukiKarin\.nimble\pkgs2\bcrypt-0.2.1-5d8719a26c03137b6c38dbf13e9a102b985f8d18\bcrypt\arc4random.c:50:9:
 error: unknown type name 'u_int8_t'
       50 |         u_int8_t s[256];
          |         ^~~~~~~~
    compilation terminated due to -fmax-errors=3.
           Tip: 34 messages have been suppressed, use --verbose to show them.
    nimble.nim(229)          buildFromDir
        
        Error:  Build failed for the package: nimforum
    
    
    
    
    Run

The nimforum project throws an error when using 'nimble install' or 'nimble 
--verbose devdb' command.

How can I resolve these errors?

Reply via email to