Compiling 6.1 with non-cygwin python

Post Reply
kalyan0000
Posts: 2
Joined: Sun Jun 12, 2005 3:14 am
Location: bangalore
Contact:

Post by kalyan0000 »

hi,
where can i find information how to compile NEURON using non-Cygwin build of Python under MSWin.
thanks
kalyan
ted
Site Admin
Posts: 6300
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Post 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
Post Reply