-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run time error of DTIPrep because of a missed shared library #21
Comments
The build process returns a warning about library directory: [ 98%] Building CXX object src/CMakeFiles/DTIPrep.dir/qrc_DTIPrep.cxx.o |
$ otool -L /scratch/DTIPrep/release/bin/DTIPrep.app/Contents/MacOS/DTIPrep | grep libtiff* |
I have updated some dependencies for DTIPrep. I believe it will solve this issue. Please update to the latest version. |
@juanprietob : I tried to build the latest version of DTIPrep (5f332c7) on Mac OSX 10.10.4 after your recent updates, but I got following compiler error about CMake configuration for BRAINSTools in SuperBuild. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< It fails with the following output: Change Dir: /scratch/DTIPrep/release_20160601/BRAINSTools-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_15459/fast" /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Building C object CMakeFiles/cmTC_15459.dir/testCCompiler.c.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc clang: error: invalid version number in make[4]: *** [CMakeFiles/cmTC_15459.dir/testCCompiler.c.o] Error 1 make[3]: *** [cmTC_15459/fast] Error 2 CMake will not be able to correctly generate this project. -- Configuring incomplete, errors occurred! |
Have you upgraded your OS recently? It seems you need to update XCode dev tools. |
No I have not. My Mac OS X is Yosemite version 10.10.4, and it seems that the latest version of XCode does not work with Yosemite. |
I don't know how to make CMake compatible with different versions of XCode. |
Ok, thank you so much. |
I have release a new version of DTIPrep, the version is 1.2.7 and includes the latest versions of the tools. |
I cloned the latest version of DTIPrep (975ed3d) and built it on a Mac OS X 10.10.4 using default cmake parameters except that I turned off USE_DTIProcess.
The build was successful, and DTIPrep binary was generated in:
bin/DTIPrep.app/Contents/MacOS/DTIPrep
While all other binaries were generated in the "bin/" directory.
Why is DTIPrep binary generated in a .app directory rather than the bin directory?
Also, when I run the DTIPrep on a test dataset, I get following error:
"
dyld: Library not loaded: libtiff.5.dylib
Referenced from: /scratch/DTIPrep/release-20160523/bin/DTIPrep.app/Contents/MacOS/DTIPrep
Reason: image not found
Trace/BPT trap: 5
"
Does anyone have an idea how to fix this issue?
Thank you,
Ali
The text was updated successfully, but these errors were encountered: