niminst
niminst copied to clipboard
niminst not adding nimbase.h
When using niminst nimbase.h is always missing and therefore compilation later fails.
What exact niminst subcommand are you using?
I was in a hurry and totally forgot: niminst csources foo.ini
You have to manuall add a lib directory and put the nimbase.h in there. In other directories it doesn't seem to work. My complete ini looks like this now:
[Project]
Platforms: """
windows: i386;amd64
linux: i386;amd64;powerpc64;arm;sparc;mips;powerpc
macosx: i386;amd64;powerpc64
solaris: i386;amd64;sparc
freebsd: i386;amd64
netbsd: i386;amd64
openbsd: i386;amd64
haiku: i386;amd64
"""
[Lib]
Files: "lib/nimbase.h"
[Windows]
binPath: "bin"
I'd like to leave out the [Lib] part and think niminst should pull in the nimbase.h automatically.
It's also strange that you need to set binPath in [Windows], even though that setting is used for all platforms.
Since niminst did get its own repo, should this issue be moved?
I would be happy to take a stab at this issue, assuming it's still reproducible.
when niminst has been moved, this issue should be migrated.
@krux02 The niminst Nim itself uses is not the one in the Nimble package. Sometimes outsourcing to nimble package doesn't work.