External Email - Use Caution Dear,
I'm attempting to create a *docker version of the FreeSurfer Development version* following the steps shown in https://secure-web.cisco.com/1zahxQetlgW4KiuOIq4HdcILTBQvomXB-frywITaD7T90rs7giRF9-Tfxmy_kA_4Ekt-H97g9uMgKfdZfS6RhRqRd2614hwPPVRBULa4Cae2RV1Y2CkUfhPxjnSr6gTlvpC8IaBWMrKbUec3m6Nmn_jkljltQ9iA5rgCYTY1SRISsjc6676O9uoFGt46YYPfE1vMncP4McMMB7fnKSYW6OOZmEzEjWdKLxgujOPCiHflLp5T9CBm1WR37lQaTIZVTMnpSqJ5-ye1YDscJlaJ22e4ur3Xgj4HP7N-YgV06CuarVy9890OFTNodDsOIt9XdBmB4uBdtzjsnHRsYP6gTMg/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2FBuildGuide Nevertheless, I'm encountering some issues, probably related to how I set up the docker, but they are blocking me. I attach the Dockerfile I'm trying to make (up to the step where it fails). The error raised by the make command is: *[ 57%] Building CXX object mris_convert/CMakeFiles/mris_convert.dir/mris_convert.cpp.oIn file included from /usr/include/ITK-5.2/gifti_io.h:4, from /root/freesurfer/include/gifti.h:26, from /root/freesurfer/mris_convert/mris_convert.cpp:40:/usr/include/ITK-5.2/itk_zlib.h:33: error: "ITK_USE_SYSTEM_ZLIB" redefined [-Werror] 33 | #define ITK_USE_SYSTEM_ZLIB | <command-line>: note: this is the location of the previous definitioncc1plus: all warnings being treated as errorsmake[2]: *** [mris_convert/CMakeFiles/mris_convert.dir/build.make:80: mris_convert/CMakeFiles/mris_convert.dir/mris_convert.cpp.o] Error 1make[1]: *** [CMakeFiles/Makefile2:10396: mris_convert/CMakeFiles/mris_convert.dir/all] Error 2make: *** [Makefile:146: all] Error 2* Last, see I'm interested in making the docker base image in Ubuntu 22.04. Thanks in advance, Óscar
Dockerfile
Description: Binary data
_______________________________________________ Freesurfer mailing list -- freesurfer@nmr.mgh.harvard.edu To unsubscribe send an email to freesurfer-le...@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman3/lists/freesurfer@nmr.mgh.harvard.edu/ 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 Mass General Brigham Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline <https://www.massgeneralbrigham.org/complianceline> . Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.