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? |
Beta Was this translation helpful? Give feedback.
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 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@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 |
Beta Was this translation helpful? Give feedback.
-
Sounds good @pramodk ! |
Beta Was this translation helpful? Give feedback.
-
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
|
Beta Was this translation helpful? Give feedback.
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