When installing NEURON-7.2 with the dmg I always face these error messages:
Sep 25 13:51:48 MyLaptop.local nrniv[27518] <Error>: kCGErrorInvalidConnection: CGSGetWindowTags: Invalid connection
Sep 25 13:51:48 MyLaptop.local nrniv[27518] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
This becomes a real problem when I try to use the GUI to build even small networks because after numerous error messages the interface freeze (my Mac runs OS 10.7.4 and XCode 4.4.1 is installed with the latest command line tool). Since the .dmg is very easy to use and install, my question: is how can this problem be solved ? :)
To overcome this problem I decided to compile NEURON and IV from the sources (IV: http://www.neuron.yale.edu/ftp/neuron/v ... -17.tar.gz and NEURON: http://www.neuron.yale.edu/ftp/neuron/v ... 7.2.tar.gz). I added here a minimalist installation script which seems to work perfectly at least on my laptop configuration (which is quite a common one):
Code: Select all
IDIR=/Applications/NEURON-7.2
cd iv-17
./configure --prefix=$IDIR/iv
make
make install
cd ../nrn-7.2
./configure --prefix=$IDIR/nrn --with-iv=$IDIR/iv/x86_64
make
make install
make after_install
Code: Select all
*font: *Arial*bold*--12*
Finaly in the /Users/UserName/.bash_profile hidden file add
Code: Select all
export PATH=/Applications/NEURON-7.2/nrn/x86_64/bin/:$PATH