Page 1 of 1

Posted: Tue Nov 27, 2007 11:55 pm
by kalyan0000
hi,
where can i find information how to compile NEURON using non-Cygwin build of Python under MSWin.
thanks
kalyan

Posted: Wed Nov 28, 2007 11:14 am
by ted
Described here:
http://www.neuron.yale.edu/cgi-bin/trac ... geset/1885
For your convenience, here is the relevant info:

Code: Select all

./configure --prefix=pwd --with-nrnpython
make
./configure --prefix=pwd --with-nrnpython \
    --without-iv --without-memacs --with-readline=no --without-nmodl
    CFLAGS="-mno-cygwin" CXXFLAGS="-mno-cygwin" \
    PYLIBDIR=/cygdrive/c/Python24/libs \
    PYINCDIR=/cygdrive/c/Python24/Include \
    PYLIBLINK="-L/cygdrive/c/Python24/libs -lpython24" \
    PYLIB="-L/cygdrive/c/Python24/libs -lpython24" \

make
cd src/mswin
cp hocmodule.dll c:/Python24/hoc.dll 
If you want to browse through the list of all revisions, see
http://www.neuron.yale.edu/cgi-bin/trac.cgi/log/nrn