You may start with
https://github.com/nim-lang/c2nim/blob/master/doc/c2nim.rst
c2nim tool can convert C header and source files, and partly even C++ files to Nim, with some restriction.
To use it you should know some C and some Nim.
There are also other tools available like nimteropt.
See also https://forum.nim-lang.org/t/8286
GuiLite.h is c++ file and says that it compiles by msvc but nim compiles by mingw compiler and also msvc is very heavy.
Private question:- Are you creator of nim?
GuiLite.h is c++ file and says that it compiles by msvc but nim compiles by mingw compiler and also msvc is very heavy.
That doesn't matter much, c2nim supports C++ via the --cpp command line option and Nim can use MSVC via --cc:vcc.
Private question:- Are you creator of nim?
Yes.