KeepCoolWithCoolidge / nimlibxlsxwriter

Nim bindings for libxlsxwriter
26 stars 4 forks source link

Installation issues #10

Open willcrutchley opened 5 years ago

willcrutchley commented 5 years ago

Not sure why, but I had to manually add nimgen and c2nim to my path after installing them with nimble in order to install nimlibxlsxwriter. Maybe this is a nimble issue? But I thought it could help to have this as a tip in the installation instructions in case anyone else has this problem too. Thanks.

bitnom commented 5 years ago

For me I just had to nimble install nimgen first.

C-NERD commented 2 years ago

Hi, i am trying to install this package but any time i try i get

Resetting nimlibxlsxwriter
File doesn't exist: include/xlsxwriter.h
stack trace: (most recent call last)
/tmp/nimblecache-1860451227/nimscriptapi_860834137.nim(199, 29)
/home/cnerd/Public/nimlibxlsxwriter/nimlibxlsxwriter.nimble(22, 14) installBefore
/home/cnerd/Public/nimlibxlsxwriter/nimlibxlsxwriter.nimble(19, 10) setupTask
/home/cnerd/.choosenim/toolchains/nim-1.6.2/lib/system/nimscript.nim(273, 7) exec
/home/cnerd/.choosenim/toolchains/nim-1.6.2/lib/system/nimscript.nim(273, 7) Error: unhandled exception: FAILED: nimgen nimlibxlsxwriter.cfg [OSError]
       Tip: 1 messages have been suppressed, use --verbose to show them.
     Error: Exception raised during nimble script execution

I have installed nimgen and i have cloned and sudo make install libxlsxwriter the original project but i still get this error. Is there something i am missing ?

ThomasTJdev commented 2 years ago

Hi @C-NERD Maybe my fork will work for you: https://github.com/ThomasTJdev/nimlibxlsxwriter

1) Ensure that you have latest version of nimgen: https://github.com/genotrance/nimgen 2) Now use the current master of my fork (uses nimgen). or 1) Use my PR https://github.com/ThomasTJdev/nimlibxlsxwriter/pull/5 which has compiled nim-files. It avoids the use of nimgen.