cygwin vs msys file path changes, Windows NEURON version
Posted: Thu Sep 05, 2019 11:40 pm
For my Windows paths I used to convert them to use the Cygwin path notation of /cygdrive/c/etc.
This worked in NEURON 7.2 ...
Now in 7.7 I tried using chdir() with Cygwin style pathing and the call fails. Now it seems paths are best represented with forward slashes => C:/Users/etc. This appears to be due to switching from Cygwin to MSYS/mingw.
To make generic code, I wanted to switch on the neuron version => nrnversion(0)
My main question is, when did this switch to MSYS occur? Neuron 7.4?
Also, are there any other file path changes to be aware of (or nuances that I'm missing)?
This worked in NEURON 7.2 ...
Now in 7.7 I tried using chdir() with Cygwin style pathing and the call fails. Now it seems paths are best represented with forward slashes => C:/Users/etc. This appears to be due to switching from Cygwin to MSYS/mingw.
To make generic code, I wanted to switch on the neuron version => nrnversion(0)
My main question is, when did this switch to MSYS occur? Neuron 7.4?
Also, are there any other file path changes to be aware of (or nuances that I'm missing)?