Compile Error when trying to compile docx and xlsx modules

2021-07-01 Thread WhyDee86
After adding the zlib.h, the error above is changing to link error. You can try it yourself; all you need to do is install nim 1.4.8 using finish.exe or choosenim and add zlib.h to the compiler folder. After that, try to compile the xlsx module. But I didn't know how to fix the link error, so I

Compile Error when trying to compile docx and xlsx modules

2021-06-30 Thread WhyDee86
I successfully resolve the issue by installing MinGW-W64 manually with the following parameters. version:8.1.0 Arch: x86_64 Threads:win32 But I can't understand why it is not working with the Mingw from finish.exe. The MinGW from finish.exe installation includes zlib1.dll.

Compile Error when trying to compile docx and xlsx modules

2021-06-30 Thread WhyDee86
I can't compile any NIM projects which using docx and xlsx modules(or any other module which use zlib.h) I tried to change nim versions using choosenim, but it didn't work too.