Code Monkey home page Code Monkey logo

Comments (9)

aghayoor avatar aghayoor commented on September 24, 2024

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.

aghayoor avatar aghayoor commented on September 24, 2024

$ 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.

juanprietob avatar juanprietob commented on September 24, 2024

I have updated some dependencies for DTIPrep. I believe it will solve this issue. Please update to the latest version.

from dtiprep.

aghayoor avatar aghayoor commented on September 24, 2024

@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.

juanprietob avatar juanprietob commented on September 24, 2024

Have you upgraded your OS recently? It seems you need to update XCode dev tools.

from dtiprep.

aghayoor avatar aghayoor commented on September 24, 2024

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.

juanprietob avatar juanprietob commented on September 24, 2024

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.

aghayoor avatar aghayoor commented on September 24, 2024

Ok, thank you so much.

from dtiprep.

juanprietob avatar juanprietob commented on September 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.