Hello freesurfer users!
I've got a brand new PC with Ubuntu 12.04 64-bit running and following the freesurfer developer's guide to set up a developer environment, I'm getting numerous "undeclared function / undefined type" errors during make. Seeing that the undeclared functions or variable types are actually defined in .h files that are being declared correctly, I'm suspecting there's configuration problem and was wondering has anyone had success in building freesurfer on Ubuntu 12.04 64-bit or building freesurfer on any previous Ubuntu release?
The steps I took to get as far as getting undeclared function/undefined type errors are:
- Pre-built 3rd party libraries were downloaded and put into /usr/pubsw/packages/
During configuration, I've made modification to bypass errors: - changed configure script so that script will not end when libvtkfreetype, libBLT is "not found" by the script, although, I have the .so files in the correct library - disabled -Werror flag - copied /usr/bin/libtool into ~/dev/ in order to avoid libtool version mismatch error - In Makefile for ~/utils/ commented out any rules for unwarpGradientNonLinearity since this file is no where to be seen
Thank you for any advice and pointers!
Danny Kim BC Children's Hospital
Danny Kim Children's Brain Mapping Centre BC Children's Hospital
I am running the freesufer on ubuntu and working fine without any other configuration. I followed the configuration and it is simple http://mirko.windhoff.net/how_to/install_freesurfer_on_ubuntu azeez
From: dkim-02@cw.bc.ca To: freesurfer@nmr.mgh.harvard.edu Date: Wed, 3 Oct 2012 13:03:49 -0700 Subject: [Freesurfer] Configuring freesurfer developer's environment on Ubuntu
Hello freesurfer users!
I've got a brand new PC with Ubuntu 12.04 64-bit running and following the freesurfer developer's guide to set up a developer environment, I'm getting numerous "undeclared function / undefined type" errors during make. Seeing that the undeclared functions or variable types are actually defined in .h files that are being declared correctly, I'm suspecting there's configuration problem and was wondering has anyone had success in building freesurfer on Ubuntu 12.04 64-bit or building freesurfer on any previous Ubuntu release?
The steps I took to get as far as getting undeclared function/undefined type errors are:
- Pre-built 3rd party libraries were downloaded and put into /usr/pubsw/packages/
During configuration, I've made modification to bypass errors:
- changed configure script so that script will not end when libvtkfreetype, libBLT is "not found" by the script, although, I have the .so files in the correct library
- disabled -Werror flag
- copied /usr/bin/libtool into ~/dev/ in order to avoid libtool version mismatch error
- In Makefile for ~/utils/ commented out any rules for unwarpGradientNonLinearity since this file is no where to be seen
Thank you for any advice and pointers!
Danny Kim BC Children's Hospital
Danny Kim Children's Brain Mapping Centre BC Children's Hospital _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.
freesurfer@nmr.mgh.harvard.edu