Comments (9)
The build process returns a warning about library directory:
[ 98%] Building CXX object src/CMakeFiles/DTIPrep.dir/qrc_DTIPrep.cxx.o
[100%] Linking CXX executable /scratch/DTIPrep/release/bin/DTIPrep.app/Contents/MacOS/DTIPrep
ld: warning: directory not found for option '-L/scratch/DTIPrep/DTIPrep/lib'
[100%] Built target DTIPrep
[ 98%] No install step for 'DTIPrepTools'
[100%] Completed 'DTIPrepTools'
[100%] Built target DTIPrepTools
from dtiprep.
$ otool -L /scratch/DTIPrep/release/bin/DTIPrep.app/Contents/MacOS/DTIPrep | grep libtiff*
libtiff.5.dylib (compatibility version 8.0.0, current version 8.4.0)
from dtiprep.
I have updated some dependencies for DTIPrep. I believe it will solve this issue. Please update to the latest version.
from dtiprep.
@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.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
CMake Error at /usr/local/Cellar/cmake/3.4.3/share/cmake/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc"
is not able to compile a simple test program.
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
CMakeFiles/cmTC_15459.dir/build.make CMakeFiles/cmTC_15459.dir/build
Building C object CMakeFiles/cmTC_15459.dir/testCCompiler.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-Wno-uninitialized -Wno-unused-parameter -Wall -Wcast-align
-Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch
-Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings
-funit-at-a-time -Wno-strict-overflow -fPIC -arch x86_64 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
-mmacosx-version-min=/scratch/DTIPrep/release_20160601/BRAINSTools-build/10.10
-o CMakeFiles/cmTC_15459.dir/testCCompiler.c.o -c
/scratch/DTIPrep/release_20160601/BRAINSTools-build/CMakeFiles/CMakeTmp/testCCompiler.c
clang: error: invalid version number in
'-mmacosx-version-min=/scratch/DTIPrep/release_20160601/BRAINSTools-build/10.10'
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.
Call Stack (most recent call first):
CMakeLists.txt:64 (project)
-- Configuring incomplete, errors occurred!
See also "/scratch/DTIPrep/release_20160601/BRAINSTools-build/CMakeFiles/CMakeOutput.log".
See also "/scratch/DTIPrep/release_20160601/BRAINSTools-build/CMakeFiles/CMakeError.log".
make[2]: *** [BRAINSTools-prefix/src/BRAINSTools-stamp/BRAINSTools-configure] Error 1
make[1]: *** [CMakeFiles/BRAINSTools.dir/all] Error 2
make: *** [all] Error 2
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
from dtiprep.
Have you upgraded your OS recently? It seems you need to update XCode dev tools.
from dtiprep.
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.
However, the latest version of Xcode for Yosemite should be still good enough for building the BRAINSTools, since I can successfully build the BRAINSTools standalone on my system.
Is there any way to change the CMake configurations, so the DTIPrep build will be consistent with older versions of XCode?
from dtiprep.
I don't know how to make CMake compatible with different versions of XCode.
What I will try to do is to create a '.app' for DTIPrep, It will probably work on your system.
I will let you know when it is ready.
from dtiprep.
Ok, thank you so much.
from dtiprep.
I have release a new version of DTIPrep, the version is 1.2.7 and includes the latest versions of the tools.
However, if you plan to contribute to DTIPrep you should update XCode and compile it.
from dtiprep.
Related Issues (20)
- Feature request: Adding command line mode for creating protocol and setting options of protocol
- Errant DWICount, BaselineCount values in InterlaceChecker
- please clarify license on included components HOT 3
- Build Slicer Extension
- FAILED execution of DTIPrep with cryptic error code HOT 5
- Gradient is not excluded in the final report _XMLQCResult.xml
- Gradients excluded during Interlace Check though thresholds not exceeded HOT 1
- Additional minimal threshold on slice wise check
- Image_origin_check FAILED
- bug in contrast adjustment in DTIPrep1.2.6
- Test data
- command line mode does not replace gradient info
- precision reporting wrong HOT 3
- IntensityMotionCheckPanel: Most likely incorrect test in ResultUpdate() function HOT 5
- Baseline averaging information wrong in result xml
- Baseline detection needs a tolerance that should be adjustable in protocol HOT 1
- DTIPrep data type output HOT 1
- Baseline averaging file writeout error
- Associate 3d-slicer-extension topic with the repository HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dtiprep.