I have a c++ code written and compiled on Linux is there any way that I compile it on Linux and get it working on windows?
the extra library used is jsoncpp.
I have a c++ code written and compiled on Linux is there any way that I compile it on Linux and get it working on windows?
the extra library used is jsoncpp.
With recent versions of windows you also have the option of the Windows Subsystem for Linux (WSL) and may be able to simply run a native linux binary.
use mingw on linux it will install the required sdk (headers and libraries) to develop apps for windows and it will do the cross platform compilation. Another advantage is that it is a gcc port for windows so you will be familiar with as gcc is widely used on linux