Can I compile NEURON on Windows with Cmake and Visual Studio 2019? #2190
|
I used CMake to generate the build files for Visual Studio 2019 and I tried building the generated solution, it produces various errors. From #319 I guess that compilation on Windows is not straightforward and that VS is also not the preferred way, so maybe I shouldn't look into this further at this point? |
Replies: 5 comments
|
I foggily foresee a complete Visual Studio build but at present the bulk of the compiling requires MinGW with msys2. Only some |
|
@Helveg : I would suggest you to wait for ~ a week as I am working on instructions for neuron build on windows (see #572, got distracted because of other work). If you need latest NEURON for windows, I would suggest to grab installer from https://github.com/neuronsimulator/installers |
|
For reference, how to build on Windows (msys2 + mingw): https://nrn.readthedocs.io/en/latest/install/windows.html @matz-e has had a stab at native building during the 2022 hackathon here: https://github.com/neuronsimulator/nrn/tree/fenster-bauen And alternatively, one can use
|

For reference, how to build on Windows (msys2 + mingw): https://nrn.readthedocs.io/en/latest/install/windows.html
@matz-e has had a stab at native building during the 2022 hackathon here: https://github.com/neuronsimulator/nrn/tree/fenster-bauen
And alternatively, one can use