RobotLocomotion / drake

Model-based design and verification for robotics.
https://drake.mit.edu
Other
3.19k stars 1.24k forks source link

Error Compiling Drake on Yosemite: gfortran: warning: couldn't understand kern.osversion '14.3.0 ld: -rpath can only be used when targeting Mac OS X 10.5 or later #981

Closed tarquasso closed 9 years ago

tarquasso commented 9 years ago

Problems compiling drake:

[100%] Building Fortran object src/CMakeFiles/avl.dir/second_g77.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" Linking Fortran executable ../bin/avl gfortran: warning: couldn't understand kern.osversion '14.3.0 ld: -rpath can only be used when targeting Mac OS X 10.5 or later collect2: error: ld returned 1 exit status make[4]: * [bin/avl] Error 1 make[3]: * [src/CMakeFiles/avl.dir/all] Error 2 make[2]: * [all] Error 2 make[1]: * [all] Error 2 make: *\ [all] Error 2

I am running Mac OS X Yosemite... To describe what I did: I was 53 commits behind on the drake/rigidbody repo, so I ran $ git pull

Then I made sure my prerequisites are all there, X11 was missing, so I installed that one. Also followed the steps here: https://github.com/RobotLocomotion/drake/wiki/Homebrew, and added this line: export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/X11/lib/pkgconfig to my ~/.bash_profile

I googled the make error and found http://stackoverflow.com/questions/26486163/gcc-4-9-1-in-os-x-yosemite-gcc-warning-couldn-t-understand-kern-osversion-1 My command line tools are up to date, so that does not help.

Any idea what I can do to get over this compile error? Thanks

RussTedrake commented 9 years ago

it looks like you’re only have trouble building avl (which you probably don’t actually need — it computes aerodynamics coefficients). one work-around is to skip building avl by commenting it out in drake-distro/tobuild.txt .

as far as actually resolving the problem… is it possible that you’ve upgraded the mac since you build avl last? maybe try doing make clean and then make VERBOSE=1 in the avl subdirectory?

On Apr 12, 2015, at 3:09 PM, Robert Katzschmann notifications@github.com wrote:

Problems compiling drake:

[100%] Building Fortran object src/CMakeFiles/avl.dir/second_g77.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" Linking Fortran executable ../bin/avl gfortran: warning: couldn't understand kern.osversion '14.3.0 ld: -rpath can only be used when targeting Mac OS X 10.5 or later collect2: error: ld returned 1 exit status make[4]: * [bin/avl] Error 1 make[3]: * [src/CMakeFiles/avl.dir/all] Error 2 make[2]: * [all] Error 2 make[1]: * [all] Error 2 make: *\ [all] Error 2

I am running Mac OS X Yosemite... To describe what I did: I was 53 commits behind on the drake/rigidbody repo, so I ran $ git pull Here is now my $git status output: tarqu:drake-distro rkk$ git status

On branch rigidbody

Changes not staged for commit:

(use "git add ..." to update what will be committed)

(use "git checkout -- ..." to discard changes in working directory)

(commit or discard the untracked or modified content in submodules)

#

modified: avl (new commits)

modified: bullet (new commits, untracked content)

modified: drake (new commits, modified content, untracked content)

modified: eigen (new commits, untracked content)

modified: lcm (new commits, untracked content)

modified: libbot (new commits, untracked content)

modified: spotless (new commits, modified content)

modified: xfoil (new commits)

#

Untracked files:

(use "git add ..." to include in what will be committed)

#

README

.#README

no changes added to commit (use "git add" and/or "git commit -a")

Then I made sure my prerequisites are all there, X11 was missing, so I installed that one. Also followed the steps here: https://github.com/RobotLocomotion/drake/wiki/Homebrew, and added this line: export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/X11/lib/pkgconfig to my ~/.bash_profile

I googled the make error and found http://stackoverflow.com/questions/26486163/gcc-4-9-1-in-os-x-yosemite-gcc-warning-couldn-t-understand-kern-osversion-1 My command line tools are up to date, so that does not help.

Any idea what I can do to get over this compile error? Thanks

— Reply to this email directly or view it on GitHub.

tarquasso commented 9 years ago

I commented out ‘avl'. Same problem now for running make ‘xfoil': [100%] Building Fortran object src/CMakeFiles/xfoil.dir/ntcalc.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" Linking Fortran executable ../bin/xfoil gfortran: warning: couldn't understand kern.osversion '14.3.0 ld: -rpath can only be used when targeting Mac OS X 10.5 or later collect2: error: ld returned 1 exit status make[4]: * [bin/xfoil] Error 1 make[3]: * [src/CMakeFiles/xfoil.dir/all] Error 2 make[2]: * [all] Error 2 make[1]: * [all] Error 2 make: *\ [all] Error 2

Here is the output from running the make VERBOSE=1 for 'avl':

tarqu:drake-distro rkk$ cd avl/ tarqu:avl rkk$ make clean tarqu:avl rkk$ make VERBOSE=1 /Applications/Xcode.app/Contents/Developer/usr/bin/make configure

BUILD_PREFIX: /Users/rkk/drake-distro/build

create the temporary build directory if needed

run CMake to generate and configure the build scripts

Re-run cmake no build system arguments -- The C compiler identification is AppleClang 6.1.0.6020049 -- The CXX compiler identification is AppleClang 6.1.0.6020049 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- The Fortran compiler identification is GNU -- Check for working Fortran compiler: /usr/local/bin/gfortran -- Check for working Fortran compiler: /usr/local/bin/gfortran -- works -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Checking whether /usr/local/bin/gfortran supports Fortran 90 -- Checking whether /usr/local/bin/gfortran supports Fortran 90 -- yes -- Looking for XOpenDisplay in /usr/X11R6/lib/libX11.dylib;/usr/X11R6/lib/libXext.dylib -- Looking for XOpenDisplay in /usr/X11R6/lib/libX11.dylib;/usr/X11R6/lib/libXext.dylib - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/X11R6/lib/libX11.dylib -- Configuring done -- Generating done -- Build files have been written to: /Users/rkk/drake-distro/avl/pod-build /Applications/Xcode.app/Contents/Developer/usr/bin/make -C pod-build all install /usr/local/Cellar/cmake/3.0.0/bin/cmake -H/Users/rkk/drake-distro/avl -B/Users/rkk/drake-distro/avl/pod-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_start /Users/rkk/drake-distro/avl/pod-build/CMakeFiles /Users/rkk/drake-distro/avl/pod-build/CMakeFiles/progress.marks /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all /Applications/Xcode.app/Contents/Developer/usr/bin/make -f plotlib/CMakeFiles/xwin.dir/build.make plotlib/CMakeFiles/xwin.dir/depend cd /Users/rkk/drake-distro/avl/pod-build && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/rkk/drake-distro/avl /Users/rkk/drake-distro/avl/plotlib /Users/rkk/drake-distro/avl/pod-build /Users/rkk/drake-distro/avl/pod-build/plotlib /Users/rkk/drake-distro/avl/pod-build/plotlib/CMakeFiles/xwin.dir/DependInfo.cmake --color= Dependee "/Users/rkk/drake-distro/avl/pod-build/plotlib/CMakeFiles/xwin.dir/DependInfo.cmake" is newer than depender "/Users/rkk/drake-distro/avl/pod-build/plotlib/CMakeFiles/xwin.dir/depend.internal". Dependee "/Users/rkk/drake-distro/avl/pod-build/plotlib/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/rkk/drake-distro/avl/pod-build/plotlib/CMakeFiles/xwin.dir/depend.internal". Scanning dependencies of target xwin /Applications/Xcode.app/Contents/Developer/usr/bin/make -f plotlib/CMakeFiles/xwin.dir/build.make plotlib/CMakeFiles/xwin.dir/build /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progressreport /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 39 [ 2%] Building C object plotlib/CMakeFiles/xwin.dir/Xwin.c.o cd /Users/rkk/drake-distro/avl/pod-build/plotlib && /usr/bin/cc -DUNDERSCORE -O3 -DNDEBUG -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -o CMakeFiles/xwin.dir/Xwin.c.o -c /Users/rkk/drake-distro/avl/plotlib/Xwin.c /Users/rkk/drake-distro/avl/plotlib/Xwin.c:598:17: warning: passing 'unsigned int ' to parameter of type 'int ' converts between pointers to integer types with different sign [-Wpointer-sign] { GWXSTATUS(&xstart, &ystart, &xsize, &ysize); ^~~ /Users/rkk/drake-distro/avl/plotlib/Xwin.c:598:26: warning: passing 'unsigned int ' to parameter of type 'int ' converts between pointers to integer types with different sign [-Wpointer-sign] { GWXSTATUS(&xstart, &ystart, &xsize, &ysize); ^~~ /Users/rkk/drake-distro/avl/plotlib/Xwin.c:598:35: warning: passing 'unsigned int ' to parameter of type 'int ' converts between pointers to integer types with different sign [-Wpointer-sign] { GWXSTATUS(&xstart, &ystart, &xsize, &ysize); ^~ /Users/rkk/drake-distro/avl/plotlib/Xwin.c:598:43: warning: passing 'unsigned int ' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] { GWXSTATUS(&xstart, &ystart, &xsize, &ysize); ^~ /Users/rkk/drake-distro/avl/plotlib/Xwin.c:1036:6: warning: expression result unused [-Wunused-value] exit; ^~~~ 5 warnings generated. Linking C static library ../lib/libxwin.a cd /Users/rkk/drake-distro/avl/pod-build/plotlib && /usr/local/Cellar/cmake/3.0.0/bin/cmake -P CMakeFiles/xwin.dir/cmake_clean_target.cmake cd /Users/rkk/drake-distro/avl/pod-build/plotlib && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_link_script CMakeFiles/xwin.dir/link.txt --verbose=1 /usr/bin/ar cr ../lib/libxwin.a CMakeFiles/xwin.dir/Xwin.c.o /usr/bin/ranlib ../lib/libxwin.a /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 39 [ 2%] Built target xwin /Applications/Xcode.app/Contents/Developer/usr/bin/make -f plotlib/CMakeFiles/plotlib.dir/build.make plotlib/CMakeFiles/plotlib.dir/depend cd /Users/rkk/drake-distro/avl/pod-build && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/rkk/drake-distro/avl /Users/rkk/drake-distro/avl/plotlib /Users/rkk/drake-distro/avl/pod-build /Users/rkk/drake-distro/avl/pod-build/plotlib /Users/rkk/drake-distro/avl/pod-build/plotlib/CMakeFiles/plotlib.dir/DependInfo.cmake --color= Dependee "/Users/rkk/drake-distro/avl/pod-build/plotlib/CMakeFiles/plotlib.dir/DependInfo.cmake" is newer than depender "/Users/rkk/drake-distro/avl/pod-build/plotlib/CMakeFiles/plotlib.dir/depend.internal". Dependee "/Users/rkk/drake-distro/avl/pod-build/plotlib/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/rkk/drake-distro/avl/pod-build/plotlib/CMakeFiles/plotlib.dir/depend.internal". Scanning dependencies of target plotlib /Applications/Xcode.app/Contents/Developer/usr/bin/make -f plotlib/CMakeFiles/plotlib.dir/build.make plotlib/CMakeFiles/plotlib.dir/requires make[3]: Nothing to be done for plotlib/CMakeFiles/plotlib.dir/requires'. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f plotlib/CMakeFiles/plotlib.dir/build.make plotlib/CMakeFiles/plotlib.dir/build /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 32 [ 5%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/plt_base.f.o cd /Users/rkk/drake-distro/avl/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/avl/plotlib/plt_base.f -o CMakeFiles/plotlib.dir/plt_base.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 33 [ 7%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/plt_font.f.o cd /Users/rkk/drake-distro/avl/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/avl/plotlib/plt_font.f -o CMakeFiles/plotlib.dir/plt_font.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 34 [ 10%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/plt_util.f.o cd /Users/rkk/drake-distro/avl/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/avl/plotlib/plt_util.f -o CMakeFiles/plotlib.dir/plt_util.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 35 [ 12%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/plt_color.f.o cd /Users/rkk/drake-distro/avl/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/avl/plotlib/plt_color.f -o CMakeFiles/plotlib.dir/plt_color.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 36 [ 15%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/set_subs.f.o cd /Users/rkk/drake-distro/avl/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/avl/plotlib/set_subs.f -o CMakeFiles/plotlib.dir/set_subs.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 37 [ 17%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/gw_subs.f.o cd /Users/rkk/drake-distro/avl/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/avl/plotlib/gw_subs.f -o CMakeFiles/plotlib.dir/gw_subs.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 38 [ 20%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/ps_subs.f.o cd /Users/rkk/drake-distro/avl/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/avl/plotlib/ps_subs.f -o CMakeFiles/plotlib.dir/ps_subs.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" Linking Fortran static library ../lib/libplotlib.a cd /Users/rkk/drake-distro/avl/pod-build/plotlib && /usr/local/Cellar/cmake/3.0.0/bin/cmake -P CMakeFiles/plotlib.dir/cmake_clean_target.cmake cd /Users/rkk/drake-distro/avl/pod-build/plotlib && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_link_script CMakeFiles/plotlib.dir/link.txt --verbose=1 /usr/bin/ar cr ../lib/libplotlib.a CMakeFiles/plotlib.dir/plt_base.f.o CMakeFiles/plotlib.dir/plt_font.f.o CMakeFiles/plotlib.dir/plt_util.f.o CMakeFiles/plotlib.dir/plt_color.f.o CMakeFiles/plotlib.dir/set_subs.f.o CMakeFiles/plotlib.dir/gw_subs.f.o CMakeFiles/plotlib.dir/ps_subs.f.o /usr/bin/ranlib ../lib/libplotlib.a /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 32 33 34 35 36 37 38 [ 20%] Built target plotlib /Applications/Xcode.app/Contents/Developer/usr/bin/make -f eispack/CMakeFiles/eispack.dir/build.make eispack/CMakeFiles/eispack.dir/depend cd /Users/rkk/drake-distro/avl/pod-build && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/rkk/drake-distro/avl /Users/rkk/drake-distro/avl/eispack /Users/rkk/drake-distro/avl/pod-build /Users/rkk/drake-distro/avl/pod-build/eispack /Users/rkk/drake-distro/avl/pod-build/eispack/CMakeFiles/eispack.dir/DependInfo.cmake --color= Dependee "/Users/rkk/drake-distro/avl/pod-build/eispack/CMakeFiles/eispack.dir/DependInfo.cmake" is newer than depender "/Users/rkk/drake-distro/avl/pod-build/eispack/CMakeFiles/eispack.dir/depend.internal". Dependee "/Users/rkk/drake-distro/avl/pod-build/eispack/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/rkk/drake-distro/avl/pod-build/eispack/CMakeFiles/eispack.dir/depend.internal". Scanning dependencies of target eispack /Applications/Xcode.app/Contents/Developer/usr/bin/make -f eispack/CMakeFiles/eispack.dir/build.make eispack/CMakeFiles/eispack.dir/requires make[3]: Nothing to be done foreispack/CMakeFiles/eispack.dir/requires'. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f eispack/CMakeFiles/eispack.dir/build.make eispack/CMakeFiles/eispack.dir/build /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 31 [ 23%] Building Fortran object eispack/CMakeFiles/eispack.dir/eispack.f.o cd /Users/rkk/drake-distro/avl/pod-build/eispack && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/eispack/eispack.f -o CMakeFiles/eispack.dir/eispack.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" Linking Fortran static library ../lib/libeispack.a cd /Users/rkk/drake-distro/avl/pod-build/eispack && /usr/local/Cellar/cmake/3.0.0/bin/cmake -P CMakeFiles/eispack.dir/cmake_clean_target.cmake cd /Users/rkk/drake-distro/avl/pod-build/eispack && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_link_script CMakeFiles/eispack.dir/link.txt --verbose=1 /usr/bin/ar cr ../lib/libeispack.a CMakeFiles/eispack.dir/eispack.f.o /usr/bin/ranlib ../lib/libeispack.a /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 31 [ 23%] Built target eispack /Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/avl.dir/build.make src/CMakeFiles/avl.dir/depend cd /Users/rkk/drake-distro/avl/pod-build && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/rkk/drake-distro/avl /Users/rkk/drake-distro/avl/src /Users/rkk/drake-distro/avl/pod-build /Users/rkk/drake-distro/avl/pod-build/src /Users/rkk/drake-distro/avl/pod-build/src/CMakeFiles/avl.dir/DependInfo.cmake --color= Dependee "/Users/rkk/drake-distro/avl/pod-build/src/CMakeFiles/avl.dir/DependInfo.cmake" is newer than depender "/Users/rkk/drake-distro/avl/pod-build/src/CMakeFiles/avl.dir/depend.internal". Dependee "/Users/rkk/drake-distro/avl/pod-build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/rkk/drake-distro/avl/pod-build/src/CMakeFiles/avl.dir/depend.internal". Scanning dependencies of target avl /Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/avl.dir/build.make src/CMakeFiles/avl.dir/requires make[3]: Nothing to be done for `src/CMakeFiles/avl.dir/requires'. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/avl.dir/build.make src/CMakeFiles/avl.dir/build /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 1 [ 25%] Building Fortran object src/CMakeFiles/avl.dir/avl.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/avl.f -o CMakeFiles/avl.dir/avl.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 2 [ 28%] Building Fortran object src/CMakeFiles/avl.dir/aoper.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/aoper.f -o CMakeFiles/avl.dir/aoper.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 3 [ 30%] Building Fortran object src/CMakeFiles/avl.dir/amode.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/amode.f -o CMakeFiles/avl.dir/amode.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 4 [ 33%] Building Fortran object src/CMakeFiles/avl.dir/amass.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/amass.f -o CMakeFiles/avl.dir/amass.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 5 [ 35%] Building Fortran object src/CMakeFiles/avl.dir/asetup.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/asetup.f -o CMakeFiles/avl.dir/asetup.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 6 [ 38%] Building Fortran object src/CMakeFiles/avl.dir/amake.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/amake.f -o CMakeFiles/avl.dir/amake.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 7 [ 41%] Building Fortran object src/CMakeFiles/avl.dir/ainput.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/ainput.f -o CMakeFiles/avl.dir/ainput.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 8 [ 43%] Building Fortran object src/CMakeFiles/avl.dir/aoutput.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/aoutput.f -o CMakeFiles/avl.dir/aoutput.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 9 [ 46%] Building Fortran object src/CMakeFiles/avl.dir/aero.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/aero.f -o CMakeFiles/avl.dir/aero.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 10 [ 48%] Building Fortran object src/CMakeFiles/avl.dir/atrim.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/atrim.f -o CMakeFiles/avl.dir/atrim.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 11 [ 51%] Building Fortran object src/CMakeFiles/avl.dir/atpforc.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/atpforc.f -o CMakeFiles/avl.dir/atpforc.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 12 [ 53%] Building Fortran object src/CMakeFiles/avl.dir/aic.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/aic.f -o CMakeFiles/avl.dir/aic.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 13 [ 56%] Building Fortran object src/CMakeFiles/avl.dir/cdcl.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/cdcl.f -o CMakeFiles/avl.dir/cdcl.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 14 [ 58%] Building Fortran object src/CMakeFiles/avl.dir/airutil.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/airutil.f -o CMakeFiles/avl.dir/airutil.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 15 [ 61%] Building Fortran object src/CMakeFiles/avl.dir/autil.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/autil.f -o CMakeFiles/avl.dir/autil.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 16 [ 64%] Building Fortran object src/CMakeFiles/avl.dir/aplotvl.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/aplotvl.f -o CMakeFiles/avl.dir/aplotvl.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 17 [ 66%] Building Fortran object src/CMakeFiles/avl.dir/aplottp.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/aplottp.f -o CMakeFiles/avl.dir/aplottp.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 18 [ 69%] Building Fortran object src/CMakeFiles/avl.dir/aplotmd.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/aplotmd.f -o CMakeFiles/avl.dir/aplotmd.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 19 [ 71%] Building Fortran object src/CMakeFiles/avl.dir/limits.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/limits.f -o CMakeFiles/avl.dir/limits.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 20 [ 74%] Building Fortran object src/CMakeFiles/avl.dir/pltops.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/pltops.f -o CMakeFiles/avl.dir/pltops.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 21 [ 76%] Building Fortran object src/CMakeFiles/avl.dir/hidden.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/hidden.f -o CMakeFiles/avl.dir/hidden.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 22 [ 79%] Building Fortran object src/CMakeFiles/avl.dir/plsubs.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/plsubs.f -o CMakeFiles/avl.dir/plsubs.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 23 [ 82%] Building Fortran object src/CMakeFiles/avl.dir/userio.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/userio.f -o CMakeFiles/avl.dir/userio.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 24 [ 84%] Building Fortran object src/CMakeFiles/avl.dir/plutil.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/plutil.f -o CMakeFiles/avl.dir/plutil.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 25 [ 87%] Building Fortran object src/CMakeFiles/avl.dir/arrow3d.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/arrow3d.f -o CMakeFiles/avl.dir/arrow3d.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 26 [ 89%] Building Fortran object src/CMakeFiles/avl.dir/getvm.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/getvm.f -o CMakeFiles/avl.dir/getvm.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 27 [ 92%] Building Fortran object src/CMakeFiles/avl.dir/matrix.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/matrix.f -o CMakeFiles/avl.dir/matrix.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 28 [ 94%] Building Fortran object src/CMakeFiles/avl.dir/spline.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/spline.f -o CMakeFiles/avl.dir/spline.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 29 [ 97%] Building Fortran object src/CMakeFiles/avl.dir/sgutil.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/sgutil.f -o CMakeFiles/avl.dir/sgutil.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 30 [100%] Building Fortran object src/CMakeFiles/avl.dir/second_g77.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/second_g77.f -o CMakeFiles/avl.dir/second_g77.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" Linking Fortran executable ../bin/avl cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_link_script CMakeFiles/avl.dir/link.txt --verbose=1 /usr/local/bin/gfortran -O3 CMakeFiles/avl.dir/avl.f.o CMakeFiles/avl.dir/aoper.f.o CMakeFiles/avl.dir/amode.f.o CMakeFiles/avl.dir/amass.f.o CMakeFiles/avl.dir/asetup.f.o CMakeFiles/avl.dir/amake.f.o CMakeFiles/avl.dir/ainput.f.o CMakeFiles/avl.dir/aoutput.f.o CMakeFiles/avl.dir/aero.f.o CMakeFiles/avl.dir/atrim.f.o CMakeFiles/avl.dir/atpforc.f.o CMakeFiles/avl.dir/aic.f.o CMakeFiles/avl.dir/cdcl.f.o CMakeFiles/avl.dir/airutil.f.o CMakeFiles/avl.dir/autil.f.o CMakeFiles/avl.dir/aplotvl.f.o CMakeFiles/avl.dir/aplottp.f.o CMakeFiles/avl.dir/aplotmd.f.o CMakeFiles/avl.dir/limits.f.o CMakeFiles/avl.dir/pltops.f.o CMakeFiles/avl.dir/hidden.f.o CMakeFiles/avl.dir/plsubs.f.o CMakeFiles/avl.dir/userio.f.o CMakeFiles/avl.dir/plutil.f.o CMakeFiles/avl.dir/arrow3d.f.o CMakeFiles/avl.dir/getvm.f.o CMakeFiles/avl.dir/matrix.f.o CMakeFiles/avl.dir/spline.f.o CMakeFiles/avl.dir/sgutil.f.o CMakeFiles/avl.dir/second_g77.f.o -o ../bin/avl -L/Users/rkk/drake-distro/avl/pod-build/lib -L/Users/rkk/drake-distro/build/lib ../lib/libplotlib.a ../lib/libeispack.a ../lib/libxwin.a /usr/X11R6/lib/libSM.dylib /usr/X11R6/lib/libICE.dylib /usr/X11R6/lib/libX11.dylib /usr/X11R6/lib/libXext.dylib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.1.0/lib/darwin/libclangrt.osx.a -Wl,-rpath,/Users/rkk/drake-distro/avl/pod-build/lib -Wl,-rpath,/Users/rkk/drake-distro/build/lib gfortran: warning: couldn't understand kern.osversion '14.3.0 ld: -rpath can only be used when targeting Mac OS X 10.5 or later collect2: error: ld returned 1 exit status make[3]: ** [bin/avl] Error 1 make[2]: * [src/CMakeFiles/avl.dir/all] Error 2 make[1]: * [all] Error 2 make: *\ [all] Error 2

and here running make verbose for xfoil:

tarqu:xfoil rkk$ make clean tarqu:xfoil rkk$ make VERBOSE=1 /Applications/Xcode.app/Contents/Developer/usr/bin/make configure

BUILD_PREFIX: /Users/rkk/drake-distro/build

create the temporary build directory if needed

run CMake to generate and configure the build scripts

Re-run cmake no build system arguments -- The C compiler identification is AppleClang 6.1.0.6020049 -- The CXX compiler identification is AppleClang 6.1.0.6020049 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- The Fortran compiler identification is GNU -- Check for working Fortran compiler: /usr/local/bin/gfortran -- Check for working Fortran compiler: /usr/local/bin/gfortran -- works -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Checking whether /usr/local/bin/gfortran supports Fortran 90 -- Checking whether /usr/local/bin/gfortran supports Fortran 90 -- yes -- Looking for XOpenDisplay in /usr/X11R6/lib/libX11.dylib;/usr/X11R6/lib/libXext.dylib -- Looking for XOpenDisplay in /usr/X11R6/lib/libX11.dylib;/usr/X11R6/lib/libXext.dylib - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/X11R6/lib/libX11.dylib -- Configuring done -- Generating done -- Build files have been written to: /Users/rkk/drake-distro/xfoil/pod-build /Applications/Xcode.app/Contents/Developer/usr/bin/make -C pod-build all install /usr/local/Cellar/cmake/3.0.0/bin/cmake -H/Users/rkk/drake-distro/xfoil -B/Users/rkk/drake-distro/xfoil/pod-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_start /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles/progress.marks /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all /Applications/Xcode.app/Contents/Developer/usr/bin/make -f orrs/src/CMakeFiles/osgen.dir/build.make orrs/src/CMakeFiles/osgen.dir/depend cd /Users/rkk/drake-distro/xfoil/pod-build && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/rkk/drake-distro/xfoil /Users/rkk/drake-distro/xfoil/orrs/src /Users/rkk/drake-distro/xfoil/pod-build /Users/rkk/drake-distro/xfoil/pod-build/orrs/src /Users/rkk/drake-distro/xfoil/pod-build/orrs/src/CMakeFiles/osgen.dir/DependInfo.cmake --color= Dependee "/Users/rkk/drake-distro/xfoil/pod-build/orrs/src/CMakeFiles/osgen.dir/DependInfo.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/orrs/src/CMakeFiles/osgen.dir/depend.internal". Dependee "/Users/rkk/drake-distro/xfoil/pod-build/orrs/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/orrs/src/CMakeFiles/osgen.dir/depend.internal". Scanning dependencies of target osgen /Applications/Xcode.app/Contents/Developer/usr/bin/make -f orrs/src/CMakeFiles/osgen.dir/build.make orrs/src/CMakeFiles/osgen.dir/requires make[3]: Nothing to be done for `orrs/src/CMakeFiles/osgen.dir/requires'. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f orrs/src/CMakeFiles/osgen.dir/build.make orrs/src/CMakeFiles/osgen.dir/build /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 2 [ 2%] Building Fortran object orrs/src/CMakeFiles/osgen.dir/osgen.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/orrs/src && /usr/local/bin/gfortran -DOSFILE_DIR=/lib/ -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/xfoil/orrs/src/osgen.f -o CMakeFiles/osgen.dir/osgen.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 3 [ 4%] Building Fortran object orrs/src/CMakeFiles/osgen.dir/io.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/orrs/src && /usr/local/bin/gfortran -DOSFILE_DIR=/lib/ -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/xfoil/orrs/src/io.f -o CMakeFiles/osgen.dir/io.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" /Users/rkk/drake-distro/xfoil/orrs/src/io.f:65.41:

 &               RTL(1,IH),WSL(1,IH),HH, AR(1,1,IH),AI(1,1,IH),     
                                     1

Warning: Rank mismatch in argument 'hh' at (1) (scalar and rank-1) /Users/rkk/drake-distro/xfoil/orrs/src/io.f:142.41:

 &               RTL(1,IH),WSL(1,IH),HH, AR(1,1,IH),AI(1,1,IH),     
                                     1

Warning: Rank mismatch in argument 'hh' at (1) (scalar and rank-1) /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 4 [ 6%] Building Fortran object orrs/src/CMakeFiles/osgen.dir/spline.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/orrs/src && /usr/local/bin/gfortran -DOSFILE_DIR=/lib/ -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/xfoil/orrs/src/spline.f -o CMakeFiles/osgen.dir/spline.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 5 [ 9%] Building Fortran object orrs/src/CMakeFiles/osgen.dir/getarg0.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/orrs/src && /usr/local/bin/gfortran -DOSFILE_DIR=/lib/ -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/xfoil/orrs/src/getarg0.f -o CMakeFiles/osgen.dir/getarg0.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" Linking Fortran executable ../../bin/osgen cd /Users/rkk/drake-distro/xfoil/pod-build/orrs/src && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_link_script CMakeFiles/osgen.dir/link.txt --verbose=1 /usr/local/bin/gfortran -O3 CMakeFiles/osgen.dir/osgen.f.o CMakeFiles/osgen.dir/io.f.o CMakeFiles/osgen.dir/spline.f.o CMakeFiles/osgen.dir/getarg0.f.o -o ../../bin/osgen -L/Users/rkk/drake-distro/xfoil/pod-build/lib -L/Users/rkk/drake-distro/build/lib
gfortran: warning: couldn't understand kern.osversion '14.3.0 /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 2 3 4 5 [ 9%] Built target osgen /Applications/Xcode.app/Contents/Developer/usr/bin/make -f orrs/src/CMakeFiles/osmap.dir/build.make orrs/src/CMakeFiles/osmap.dir/depend cd /Users/rkk/drake-distro/xfoil/pod-build && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/rkk/drake-distro/xfoil /Users/rkk/drake-distro/xfoil/orrs/src /Users/rkk/drake-distro/xfoil/pod-build /Users/rkk/drake-distro/xfoil/pod-build/orrs/src /Users/rkk/drake-distro/xfoil/pod-build/orrs/src/CMakeFiles/osmap.dir/DependInfo.cmake --color= Dependee "/Users/rkk/drake-distro/xfoil/pod-build/orrs/src/CMakeFiles/osmap.dir/DependInfo.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/orrs/src/CMakeFiles/osmap.dir/depend.internal". Dependee "/Users/rkk/drake-distro/xfoil/pod-build/orrs/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/orrs/src/CMakeFiles/osmap.dir/depend.internal". Scanning dependencies of target osmap /Applications/Xcode.app/Contents/Developer/usr/bin/make -f orrs/src/CMakeFiles/osmap.dir/build.make orrs/src/CMakeFiles/osmap.dir/requires make[3]: Nothing to be done for orrs/src/CMakeFiles/osmap.dir/requires'. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f orrs/src/CMakeFiles/osmap.dir/build.make orrs/src/CMakeFiles/osmap.dir/build /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 6 [ 11%] Building Fortran object orrs/src/CMakeFiles/osmap.dir/osmap.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/orrs/src && /usr/local/bin/gfortran -DOSFILE_DIR=/lib/ -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/xfoil/orrs/src/osmap.f -o CMakeFiles/osmap.dir/osmap.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" Linking Fortran static library ../../lib/libosmap.a cd /Users/rkk/drake-distro/xfoil/pod-build/orrs/src && /usr/local/Cellar/cmake/3.0.0/bin/cmake -P CMakeFiles/osmap.dir/cmake_clean_target.cmake cd /Users/rkk/drake-distro/xfoil/pod-build/orrs/src && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_link_script CMakeFiles/osmap.dir/link.txt --verbose=1 /usr/bin/ar cr ../../lib/libosmap.a CMakeFiles/osmap.dir/osmap.f.o /usr/bin/ranlib ../../lib/libosmap.a /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 6 [ 11%] Built target osmap /Applications/Xcode.app/Contents/Developer/usr/bin/make -f plotlib/CMakeFiles/xwin.dir/build.make plotlib/CMakeFiles/xwin.dir/depend cd /Users/rkk/drake-distro/xfoil/pod-build && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/rkk/drake-distro/xfoil /Users/rkk/drake-distro/xfoil/plotlib /Users/rkk/drake-distro/xfoil/pod-build /Users/rkk/drake-distro/xfoil/pod-build/plotlib /Users/rkk/drake-distro/xfoil/pod-build/plotlib/CMakeFiles/xwin.dir/DependInfo.cmake --color= Dependee "/Users/rkk/drake-distro/xfoil/pod-build/plotlib/CMakeFiles/xwin.dir/DependInfo.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/plotlib/CMakeFiles/xwin.dir/depend.internal". Dependee "/Users/rkk/drake-distro/xfoil/pod-build/plotlib/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/plotlib/CMakeFiles/xwin.dir/depend.internal". Scanning dependencies of target xwin /Applications/Xcode.app/Contents/Developer/usr/bin/make -f plotlib/CMakeFiles/xwin.dir/build.make plotlib/CMakeFiles/xwin.dir/build /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 44 [ 13%] Building C object plotlib/CMakeFiles/xwin.dir/Xwin.c.o cd /Users/rkk/drake-distro/xfoil/pod-build/plotlib && /usr/bin/cc -DUNDERSCORE -O3 -DNDEBUG -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -o CMakeFiles/xwin.dir/Xwin.c.o -c /Users/rkk/drake-distro/xfoil/plotlib/Xwin.c /Users/rkk/drake-distro/xfoil/plotlib/Xwin.c:598:17: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] { GWXSTATUS(&xstart, &ystart, &xsize, &ysize); ^~~~~~~ /Users/rkk/drake-distro/xfoil/plotlib/Xwin.c:598:26: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] { GWXSTATUS(&xstart, &ystart, &xsize, &ysize); ^~~~~~~ /Users/rkk/drake-distro/xfoil/plotlib/Xwin.c:598:35: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] { GWXSTATUS(&xstart, &ystart, &xsize, &ysize); ^~~~~~ /Users/rkk/drake-distro/xfoil/plotlib/Xwin.c:598:43: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] { GWXSTATUS(&xstart, &ystart, &xsize, &ysize); ^~~~~~ /Users/rkk/drake-distro/xfoil/plotlib/Xwin.c:1036:6: warning: expression result unused [-Wunused-value] exit; ^~~~ 5 warnings generated. Linking C static library ../lib/libxwin.a cd /Users/rkk/drake-distro/xfoil/pod-build/plotlib && /usr/local/Cellar/cmake/3.0.0/bin/cmake -P CMakeFiles/xwin.dir/cmake_clean_target.cmake cd /Users/rkk/drake-distro/xfoil/pod-build/plotlib && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_link_script CMakeFiles/xwin.dir/link.txt --verbose=1 /usr/bin/ar cr ../lib/libxwin.a CMakeFiles/xwin.dir/Xwin.c.o /usr/bin/ranlib ../lib/libxwin.a /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 44 [ 13%] Built target xwin /Applications/Xcode.app/Contents/Developer/usr/bin/make -f plotlib/CMakeFiles/plotlib.dir/build.make plotlib/CMakeFiles/plotlib.dir/depend cd /Users/rkk/drake-distro/xfoil/pod-build && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/rkk/drake-distro/xfoil /Users/rkk/drake-distro/xfoil/plotlib /Users/rkk/drake-distro/xfoil/pod-build /Users/rkk/drake-distro/xfoil/pod-build/plotlib /Users/rkk/drake-distro/xfoil/pod-build/plotlib/CMakeFiles/plotlib.dir/DependInfo.cmake --color= Dependee "/Users/rkk/drake-distro/xfoil/pod-build/plotlib/CMakeFiles/plotlib.dir/DependInfo.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/plotlib/CMakeFiles/plotlib.dir/depend.internal". Dependee "/Users/rkk/drake-distro/xfoil/pod-build/plotlib/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/plotlib/CMakeFiles/plotlib.dir/depend.internal". Scanning dependencies of target plotlib /Applications/Xcode.app/Contents/Developer/usr/bin/make -f plotlib/CMakeFiles/plotlib.dir/build.make plotlib/CMakeFiles/plotlib.dir/requires make[3]: Nothing to be done forplotlib/CMakeFiles/plotlib.dir/requires'. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f plotlib/CMakeFiles/plotlib.dir/build.make plotlib/CMakeFiles/plotlib.dir/build /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 7 [ 15%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/plt_base.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/xfoil/plotlib/plt_base.f -o CMakeFiles/plotlib.dir/plt_base.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 8 [ 18%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/plt_font.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/xfoil/plotlib/plt_font.f -o CMakeFiles/plotlib.dir/plt_font.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 9 [ 20%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/plt_util.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/xfoil/plotlib/plt_util.f -o CMakeFiles/plotlib.dir/plt_util.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 10 [ 22%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/plt_color.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/xfoil/plotlib/plt_color.f -o CMakeFiles/plotlib.dir/plt_color.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 11 [ 25%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/set_subs.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/xfoil/plotlib/set_subs.f -o CMakeFiles/plotlib.dir/set_subs.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 12 [ 27%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/gw_subs.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/xfoil/plotlib/gw_subs.f -o CMakeFiles/plotlib.dir/gw_subs.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 13 [ 29%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/ps_subs.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/xfoil/plotlib/ps_subs.f -o CMakeFiles/plotlib.dir/ps_subs.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" Linking Fortran static library ../lib/libplotlib.a cd /Users/rkk/drake-distro/xfoil/pod-build/plotlib && /usr/local/Cellar/cmake/3.0.0/bin/cmake -P CMakeFiles/plotlib.dir/cmake_clean_target.cmake cd /Users/rkk/drake-distro/xfoil/pod-build/plotlib && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_link_script CMakeFiles/plotlib.dir/link.txt --verbose=1 /usr/bin/ar cr ../lib/libplotlib.a CMakeFiles/plotlib.dir/plt_base.f.o CMakeFiles/plotlib.dir/plt_font.f.o CMakeFiles/plotlib.dir/plt_util.f.o CMakeFiles/plotlib.dir/plt_color.f.o CMakeFiles/plotlib.dir/set_subs.f.o CMakeFiles/plotlib.dir/gw_subs.f.o CMakeFiles/plotlib.dir/ps_subs.f.o /usr/bin/ranlib ../lib/libplotlib.a /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 7 8 9 10 11 12 13 [ 29%] Built target plotlib /Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/getosfile.dir/build.make src/CMakeFiles/getosfile.dir/depend cd /Users/rkk/drake-distro/xfoil/pod-build && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/rkk/drake-distro/xfoil /Users/rkk/drake-distro/xfoil/src /Users/rkk/drake-distro/xfoil/pod-build /Users/rkk/drake-distro/xfoil/pod-build/src /Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/getosfile.dir/DependInfo.cmake --color= Dependee "/Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/getosfile.dir/DependInfo.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/getosfile.dir/depend.internal". Dependee "/Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/getosfile.dir/depend.internal". Scanning dependencies of target getosfile /Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/getosfile.dir/build.make src/CMakeFiles/getosfile.dir/build /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 1 [ 31%] Building C object src/CMakeFiles/getosfile.dir//osrc/getosfile.c.o cd /Users/rkk/drake-distro/xfoil/pod-build/src && /usr/bin/cc -DUNDERSCORE -O3 -DNDEBUG -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -o CMakeFiles/getosfile.dir//osrc/getosfile.c.o -c /Users/rkk/drake-distro/xfoil/osrc/getosfile.c Linking C static library ../lib/libgetosfile.a cd /Users/rkk/drake-distro/xfoil/pod-build/src && /usr/local/Cellar/cmake/3.0.0/bin/cmake -P CMakeFiles/getosfile.dir/cmake_clean_target.cmake cd /Users/rkk/drake-distro/xfoil/pod-build/src && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_link_script CMakeFiles/getosfile.dir/link.txt --verbose=1 /usr/bin/ar cr ../lib/libgetosfile.a CMakeFiles/getosfile.dir/__/osrc/getosfile.c.o /usr/bin/ranlib ../lib/libgetosfile.a /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 1 [ 31%] Built target getosfile /Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/xutil.dir/build.make src/CMakeFiles/xutil.dir/depend cd /Users/rkk/drake-distro/xfoil/pod-build && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/rkk/drake-distro/xfoil /Users/rkk/drake-distro/xfoil/src /Users/rkk/drake-distro/xfoil/pod-build /Users/rkk/drake-distro/xfoil/pod-build/src /Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/xutil.dir/DependInfo.cmake --color= Dependee "/Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/xutil.dir/DependInfo.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/xutil.dir/depend.internal". Dependee "/Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/xutil.dir/depend.internal". Scanning dependencies of target xutil /Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/xutil.dir/build.make src/CMakeFiles/xutil.dir/requires make[3]: Nothing to be done for src/CMakeFiles/xutil.dir/requires'. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/xutil.dir/build.make src/CMakeFiles/xutil.dir/build /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 43 [ 34%] Building Fortran object src/CMakeFiles/xutil.dir/userio.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/src && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/xfoil/src/userio.f -o CMakeFiles/xutil.dir/userio.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" Linking Fortran static library ../lib/libxutil.a cd /Users/rkk/drake-distro/xfoil/pod-build/src && /usr/local/Cellar/cmake/3.0.0/bin/cmake -P CMakeFiles/xutil.dir/cmake_clean_target.cmake cd /Users/rkk/drake-distro/xfoil/pod-build/src && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_link_script CMakeFiles/xutil.dir/link.txt --verbose=1 /usr/bin/ar cr ../lib/libxutil.a CMakeFiles/xutil.dir/userio.f.o /usr/bin/ranlib ../lib/libxutil.a /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 43 [ 34%] Built target xutil /Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/xfoil.dir/build.make src/CMakeFiles/xfoil.dir/depend cd /Users/rkk/drake-distro/xfoil/pod-build && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/rkk/drake-distro/xfoil /Users/rkk/drake-distro/xfoil/src /Users/rkk/drake-distro/xfoil/pod-build /Users/rkk/drake-distro/xfoil/pod-build/src /Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/xfoil.dir/DependInfo.cmake --color= Dependee "/Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/xfoil.dir/DependInfo.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/xfoil.dir/depend.internal". Dependee "/Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/xfoil.dir/depend.internal". Scanning dependencies of target xfoil /Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/xfoil.dir/build.make src/CMakeFiles/xfoil.dir/requires make[3]: Nothing to be done forsrc/CMakeFiles/xfoil.dir/requires'. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/xfoil.dir/build.make src/CMakeFiles/xfoil.dir/build /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 14 [ 36%] Building Fortran object src/CMakeFiles/xfoil.dir/xfoil.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/src && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/xfoil/src/xfoil.f -o CMakeFiles/xfoil.dir/xfoil.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 15 [ 38%] Building Fortran object src/CMakeFiles/xfoil.dir/xpanel.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/src && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/xfoil/src/xpanel.f -o CMakeFiles/xfoil.dir/xpanel.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 16 [ 40%] Building Fortran object src/CMakeFiles/xfoil.dir/xoper.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/src && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/xfoil/src/xoper.f -o CMakeFiles/xfoil.dir/xoper.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 17 [ 43%] Building Fortran object src/CMakeFiles/xfoil.dir/xtcam.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/src && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/xfoil/src/xtcam.f -o CMakeFiles/xfoil.dir/xtcam.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 18 [ 45%] Building Fortran object src/CMakeFiles/xfoil.dir/xgdes.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/src && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/xfoil/src/xgdes.f -o CMakeFiles/xfoil.dir/xgdes.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 19 [ 47%] Building Fortran object src/CMakeFiles/xfoil.dir/xqdes.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/src && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/xfoil/src/xqdes.f -o CMakeFiles/xfoil.dir/xqdes.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Non

RussTedrake commented 9 years ago

based on a quick google, it looks like you probably forgot to install the updated command-line tools after update xcode.

try this on your command line:

xcode-select --install 

then try again.

(fwiw - avl and xfoil are ying and yang, i should have told you to take both out of your build.)

On Apr 12, 2015, at 4:03 PM, Robert Katzschmann notifications@github.com wrote:

I commented out ‘avl'. Same problem now for running make ‘xfoil': [100%] Building Fortran object src/CMakeFiles/xfoil.dir/ntcalc.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" Linking Fortran executable ../bin/xfoil gfortran: warning: couldn't understand kern.osversion '14.3.0 ld: -rpath can only be used when targeting Mac OS X 10.5 or later collect2: error: ld returned 1 exit status make[4]: * [bin/xfoil] Error 1 make[3]: * [src/CMakeFiles/xfoil.dir/all] Error 2 make[2]: * [all] Error 2 make[1]: * [all] Error 2 make: *\ [all] Error 2

Here is the output from running the make VERBOSE=1 for 'avl':

tarqu:drake-distro rkk$ cd avl/ tarqu:avl rkk$ make clean tarqu:avl rkk$ make VERBOSE=1 /Applications/Xcode.app/Contents/Developer/usr/bin/make configure

BUILD_PREFIX: /Users/rkk/drake-distro/build

create the temporary build directory if needed

run CMake to generate and configure the build scripts

Re-run cmake no build system arguments -- The C compiler identification is AppleClang 6.1.0.6020049 -- The CXX compiler identification is AppleClang 6.1.0.6020049 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- The Fortran compiler identification is GNU -- Check for working Fortran compiler: /usr/local/bin/gfortran -- Check for working Fortran compiler: /usr/local/bin/gfortran -- works -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Checking whether /usr/local/bin/gfortran supports Fortran 90 -- Checking whether /usr/local/bin/gfortran supports Fortran 90 -- yes -- Looking for XOpenDisplay in /usr/X11R6/lib/libX11.dylib;/usr/X11R6/lib/libXext.dylib -- Looking for XOpenDisplay in /usr/X11R6/lib/libX11.dylib;/usr/X11R6/lib/libXext.dylib - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/X11R6/lib/libX11.dylib -- Configuring done -- Generating done -- Build files have been written to: /Users/rkk/drake-distro/avl/pod-build /Applications/Xcode.app/Contents/Developer/usr/bin/make -C pod-build all install /usr/local/Cellar/cmake/3.0.0/bin/cmake -H/Users/rkk/drake-distro/avl -B/Users/rkk/drake-distro/avl/pod-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_start /Users/rkk/drake-distro/avl/pod-build/CMakeFiles /Users/rkk/drake-distro/avl/pod-build/CMakeFiles/progress.marks /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all /Applications/Xcode.app/Contents/Developer/usr/bin/make -f plotlib/CMakeFiles/xwin.dir/build.make plotlib/CMakeFiles/xwin.dir/depend cd /Users/rkk/drake-distro/avl/pod-build && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/rkk/drake-distro/avl /Users/rkk/drake-distro/avl/plotlib /Users/rkk/drake-distro/avl/pod-build /Users/rkk/drake-distro/avl/pod-build/plotlib /Users/rkk/drake-distro/avl/pod-build/plotlib/CMakeFiles/xwin.dir/DependInfo.cmake --color= Dependee "/Users/rkk/drake-distro/avl/pod-build/plotlib/CMakeFiles/xwin.dir/DependInfo.cmake" is newer than depender "/Users/rkk/drake-distro/avl/pod-build/plotlib/CMakeFiles/xwin.dir/depend.internal". Dependee "/Users/rkk/drake-distro/avl/pod-build/plotlib/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/rkk/drake-distro/avl/pod-build/plotlib/CMakeFiles/xwin.dir/depend.internal". Scanning dependencies of target xwin /Applications/Xcode.app/Contents/Developer/usr/bin/make -f plotlib/CMakeFiles/xwin.dir/build.make plotlib/CMakeFiles/xwin.dir/build /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progressreport /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 39 [ 2%] Building C object plotlib/CMakeFiles/xwin.dir/Xwin.c.o cd /Users/rkk/drake-distro/avl/pod-build/plotlib && /usr/bin/cc -DUNDERSCORE -O3 -DNDEBUG -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -o CMakeFiles/xwin.dir/Xwin.c.o -c /Users/rkk/drake-distro/avl/plotlib/Xwin.c /Users/rkk/drake-distro/avl/plotlib/Xwin.c:598:17: warning: passing 'unsigned int ' to parameter of type 'int ' converts between pointers to integer types with different sign [-Wpointer-sign] { GWXSTATUS(&xstart, &ystart, &xsize, &ysize); ^~~ /Users/rkk/drake-distro/avl/plotlib/Xwin.c:598:26: warning: passing 'unsigned int ' to parameter of type 'int ' converts between pointers to integer types with different sign [-Wpointer-sign] { GWXSTATUS(&xstart, &ystart, &xsize, &ysize); ^~~ /Users/rkk/drake-distro/avl/plotlib/Xwin.c:598:35: warning: passing 'unsigned int ' to parameter of type 'int ' converts between pointers to integer types with different sign [-Wpointer-sign] { GWXSTATUS(&xstart, &ystart, &xsize, &ysize); ^~ /Users/rkk/drake-distro/avl/plotlib/Xwin.c:598:43: warning: passing 'unsigned int ' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] { GWXSTATUS(&xstart, &ystart, &xsize, &ysize); ^~ /Users/rkk/drake-distro/avl/plotlib/Xwin.c:1036:6: warning: expression result unused [-Wunused-value] exit; ^~~~ 5 warnings generated. Linking C static library ../lib/libxwin.a cd /Users/rkk/drake-distro/avl/pod-build/plotlib && /usr/local/Cellar/cmake/3.0.0/bin/cmake -P CMakeFiles/xwin.dir/cmake_clean_target.cmake cd /Users/rkk/drake-distro/avl/pod-build/plotlib && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_link_script CMakeFiles/xwin.dir/link.txt --verbose=1 /usr/bin/ar cr ../lib/libxwin.a CMakeFiles/xwin.dir/Xwin.c.o /usr/bin/ranlib ../lib/libxwin.a /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 39 [ 2%] Built target xwin /Applications/Xcode.app/Contents/Developer/usr/bin/make -f plotlib/CMakeFiles/plotlib.dir/build.make plotlib/CMakeFiles/plotlib.dir/depend cd /Users/rkk/drake-distro/avl/pod-build && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/rkk/drake-distro/avl /Users/rkk/drake-distro/avl/plotlib /Users/rkk/drake-distro/avl/pod-build /Users/rkk/drake-distro/avl/pod-build/plotlib /Users/rkk/drake-distro/avl/pod-build/plotlib/CMakeFiles/plotlib.dir/DependInfo.cmake --color= Dependee "/Users/rkk/drake-distro/avl/pod-build/plotlib/CMakeFiles/plotlib.dir/DependInfo.cmake" is newer than depender "/Users/rkk/drake-distro/avl/pod-build/plotlib/CMakeFiles/plotlib.dir/depend.internal". Dependee "/Users/rkk/drake-distro/avl/pod-build/plotlib/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/rkk/drake-distro/avl/pod-build/plotlib/CMakeFiles/plotlib.dir/depend.internal". Scanning dependencies of target plotlib /Applications/Xcode.app/Contents/Developer/usr/bin/make -f plotlib/CMakeFiles/plotlib.dir/build.make plotlib/CMakeFiles/plotlib.dir/requires make[3]: Nothing to be done for plotlib/CMakeFiles/plotlib.dir/requires'. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f plotlib/CMakeFiles/plotlib.dir/build.make plotlib/CMakeFiles/plotlib.dir/build /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 32 [ 5%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/plt_base.f.o cd /Users/rkk/drake-distro/avl/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/avl/plotlib/plt_base.f -o CMakeFiles/plotlib.dir/plt_base.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 33 [ 7%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/plt_font.f.o cd /Users/rkk/drake-distro/avl/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/avl/plotlib/plt_font.f -o CMakeFiles/plotlib.dir/plt_font.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 34 [ 10%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/plt_util.f.o cd /Users/rkk/drake-distro/avl/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/avl/plotlib/plt_util.f -o CMakeFiles/plotlib.dir/plt_util.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 35 [ 12%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/plt_color.f.o cd /Users/rkk/drake-distro/avl/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/avl/plotlib/plt_color.f -o CMakeFiles/plotlib.dir/plt_color.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 36 [ 15%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/set_subs.f.o cd /Users/rkk/drake-distro/avl/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/avl/plotlib/set_subs.f -o CMakeFiles/plotlib.dir/set_subs.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 37 [ 17%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/gw_subs.f.o cd /Users/rkk/drake-distro/avl/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/avl/plotlib/gw_subs.f -o CMakeFiles/plotlib.dir/gw_subs.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 38 [ 20%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/ps_subs.f.o cd /Users/rkk/drake-distro/avl/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/avl/plotlib/ps_subs.f -o CMakeFiles/plotlib.dir/ps_subs.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" Linking Fortran static library ../lib/libplotlib.a cd /Users/rkk/drake-distro/avl/pod-build/plotlib && /usr/local/Cellar/cmake/3.0.0/bin/cmake -P CMakeFiles/plotlib.dir/cmake_clean_target.cmake cd /Users/rkk/drake-distro/avl/pod-build/plotlib && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_link_script CMakeFiles/plotlib.dir/link.txt --verbose=1 /usr/bin/ar cr ../lib/libplotlib.a CMakeFiles/plotlib.dir/plt_base.f.o CMakeFiles/plotlib.dir/plt_font.f.o CMakeFiles/plotlib.dir/plt_util.f.o CMakeFiles/plotlib.dir/plt_color.f.o CMakeFiles/plotlib.dir/set_subs.f.o CMakeFiles/plotlib.dir/gw_subs.f.o CMakeFiles/plotlib.dir/ps_subs.f.o /usr/bin/ranlib ../lib/libplotlib.a /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 32 33 34 35 36 37 38 [ 20%] Built target plotlib /Applications/Xcode.app/Contents/Developer/usr/bin/make -f eispack/CMakeFiles/eispack.dir/build.make eispack/CMakeFiles/eispack.dir/depend cd /Users/rkk/drake-distro/avl/pod-build && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/rkk/drake-distro/avl /Users/rkk/drake-distro/avl/eispack /Users/rkk/drake-distro/avl/pod-build /Users/rkk/drake-distro/avl/pod-build/eispack /Users/rkk/drake-distro/avl/pod-build/eispack/CMakeFiles/eispack.dir/DependInfo.cmake --color= Dependee "/Users/rkk/drake-distro/avl/pod-build/eispack/CMakeFiles/eispack.dir/DependInfo.cmake" is newer than depender "/Users/rkk/drake-distro/avl/pod-build/eispack/CMakeFiles/eispack.dir/depend.internal". Dependee "/Users/rkk/drake-distro/avl/pod-build/eispack/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/rkk/drake-distro/avl/pod-build/eispack/CMakeFiles/eispack.dir/depend.internal". Scanning dependencies of target eispack /Applications/Xcode.app/Contents/Developer/usr/bin/make -f eispack/CMakeFiles/eispack.dir/build.make eispack/CMakeFiles/eispack.dir/requires make[3]: Nothing to be done foreispack/CMakeFiles/eispack.dir/requires'. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f eispack/CMakeFiles/eispack.dir/build.make eispack/CMakeFiles/eispack.dir/build /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 31 [ 23%] Building Fortran object eispack/CMakeFiles/eispack.dir/eispack.f.o cd /Users/rkk/drake-distro/avl/pod-build/eispack && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/eispack/eispack.f -o CMakeFiles/eispack.dir/eispack.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" Linking Fortran static library ../lib/libeispack.a cd /Users/rkk/drake-distro/avl/pod-build/eispack && /usr/local/Cellar/cmake/3.0.0/bin/cmake -P CMakeFiles/eispack.dir/cmake_clean_target.cmake cd /Users/rkk/drake-distro/avl/pod-build/eispack && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_link_script CMakeFiles/eispack.dir/link.txt --verbose=1 /usr/bin/ar cr ../lib/libeispack.a CMakeFiles/eispack.dir/eispack.f.o /usr/bin/ranlib ../lib/libeispack.a /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 31 [ 23%] Built target eispack /Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/avl.dir/build.make src/CMakeFiles/avl.dir/depend cd /Users/rkk/drake-distro/avl/pod-build && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/rkk/drake-distro/avl /Users/rkk/drake-distro/avl/src /Users/rkk/drake-distro/avl/pod-build /Users/rkk/drake-distro/avl/pod-build/src /Users/rkk/drake-distro/avl/pod-build/src/CMakeFiles/avl.dir/DependInfo.cmake --color= Dependee "/Users/rkk/drake-distro/avl/pod-build/src/CMakeFiles/avl.dir/DependInfo.cmake" is newer than depender "/Users/rkk/drake-distro/avl/pod-build/src/CMakeFiles/avl.dir/depend.internal". Dependee "/Users/rkk/drake-distro/avl/pod-build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/rkk/drake-distro/avl/pod-build/src/CMakeFiles/avl.dir/depend.internal". Scanning dependencies of target avl /Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/avl.dir/build.make src/CMakeFiles/avl.dir/requires make[3]: Nothing to be done for `src/CMakeFiles/avl.dir/requires'. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/avl.dir/build.make src/CMakeFiles/avl.dir/build /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 1 [ 25%] Building Fortran object src/CMakeFiles/avl.dir/avl.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/avl.f -o CMakeFiles/avl.dir/avl.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 2 [ 28%] Building Fortran object src/CMakeFiles/avl.dir/aoper.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/aoper.f -o CMakeFiles/avl.dir/aoper.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 3 [ 30%] Building Fortran object src/CMakeFiles/avl.dir/amode.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/amode.f -o CMakeFiles/avl.dir/amode.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 4 [ 33%] Building Fortran object src/CMakeFiles/avl.dir/amass.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/amass.f -o CMakeFiles/avl.dir/amass.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 5 [ 35%] Building Fortran object src/CMakeFiles/avl.dir/asetup.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/asetup.f -o CMakeFiles/avl.dir/asetup.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 6 [ 38%] Building Fortran object src/CMakeFiles/avl.dir/amake.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/amake.f -o CMakeFiles/avl.dir/amake.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 7 [ 41%] Building Fortran object src/CMakeFiles/avl.dir/ainput.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/ainput.f -o CMakeFiles/avl.dir/ainput.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 8 [ 43%] Building Fortran object src/CMakeFiles/avl.dir/aoutput.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/aoutput.f -o CMakeFiles/avl.dir/aoutput.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 9 [ 46%] Building Fortran object src/CMakeFiles/avl.dir/aero.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/aero.f -o CMakeFiles/avl.dir/aero.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 10 [ 48%] Building Fortran object src/CMakeFiles/avl.dir/atrim.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/atrim.f -o CMakeFiles/avl.dir/atrim.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 11 [ 51%] Building Fortran object src/CMakeFiles/avl.dir/atpforc.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/atpforc.f -o CMakeFiles/avl.dir/atpforc.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 12 [ 53%] Building Fortran object src/CMakeFiles/avl.dir/aic.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/aic.f -o CMakeFiles/avl.dir/aic.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 13 [ 56%] Building Fortran object src/CMakeFiles/avl.dir/cdcl.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/cdcl.f -o CMakeFiles/avl.dir/cdcl.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 14 [ 58%] Building Fortran object src/CMakeFiles/avl.dir/airutil.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/airutil.f -o CMakeFiles/avl.dir/airutil.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 15 [ 61%] Building Fortran object src/CMakeFiles/avl.dir/autil.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/autil.f -o CMakeFiles/avl.dir/autil.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 16 [ 64%] Building Fortran object src/CMakeFiles/avl.dir/aplotvl.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/aplotvl.f -o CMakeFiles/avl.dir/aplotvl.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 17 [ 66%] Building Fortran object src/CMakeFiles/avl.dir/aplottp.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/aplottp.f -o CMakeFiles/avl.dir/aplottp.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 18 [ 69%] Building Fortran object src/CMakeFiles/avl.dir/aplotmd.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/aplotmd.f -o CMakeFiles/avl.dir/aplotmd.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 19 [ 71%] Building Fortran object src/CMakeFiles/avl.dir/limits.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/limits.f -o CMakeFiles/avl.dir/limits.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 20 [ 74%] Building Fortran object src/CMakeFiles/avl.dir/pltops.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/pltops.f -o CMakeFiles/avl.dir/pltops.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 21 [ 76%] Building Fortran object src/CMakeFiles/avl.dir/hidden.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/hidden.f -o CMakeFiles/avl.dir/hidden.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 22 [ 79%] Building Fortran object src/CMakeFiles/avl.dir/plsubs.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/plsubs.f -o CMakeFiles/avl.dir/plsubs.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 23 [ 82%] Building Fortran object src/CMakeFiles/avl.dir/userio.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/userio.f -o CMakeFiles/avl.dir/userio.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 24 [ 84%] Building Fortran object src/CMakeFiles/avl.dir/plutil.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/plutil.f -o CMakeFiles/avl.dir/plutil.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 25 [ 87%] Building Fortran object src/CMakeFiles/avl.dir/arrow3d.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/arrow3d.f -o CMakeFiles/avl.dir/arrow3d.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 26 [ 89%] Building Fortran object src/CMakeFiles/avl.dir/getvm.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/getvm.f -o CMakeFiles/avl.dir/getvm.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 27 [ 92%] Building Fortran object src/CMakeFiles/avl.dir/matrix.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/matrix.f -o CMakeFiles/avl.dir/matrix.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 28 [ 94%] Building Fortran object src/CMakeFiles/avl.dir/spline.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/spline.f -o CMakeFiles/avl.dir/spline.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 29 [ 97%] Building Fortran object src/CMakeFiles/avl.dir/sgutil.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/sgutil.f -o CMakeFiles/avl.dir/sgutil.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/avl/pod-build/CMakeFiles 30 [100%] Building Fortran object src/CMakeFiles/avl.dir/second_g77.f.o cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/bin/gfortran -O3 -I/Users/rkk/drake-distro/avl/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/avl/src/second_g77.f -o CMakeFiles/avl.dir/second_g77.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/avl/pod-build/include" Linking Fortran executable ../bin/avl cd /Users/rkk/drake-distro/avl/pod-build/src && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_link_script CMakeFiles/avl.dir/link.txt --verbose=1 /usr/local/bin/gfortran -O3 CMakeFiles/avl.dir/avl.f.o CMakeFiles/avl.dir/aoper.f.o CMakeFiles/avl.dir/amode.f.o CMakeFiles/avl.dir/amass.f.o CMakeFiles/avl.dir/asetup.f.o CMakeFiles/avl.dir/amake.f.o CMakeFiles/avl.dir/ainput.f.o CMakeFiles/avl.dir/aoutput.f.o CMakeFiles/avl.dir/aero.f.o CMakeFiles/avl.dir/atrim.f.o CMakeFiles/avl.dir/atpforc.f.o CMakeFiles/avl.dir/aic.f.o CMakeFiles/avl.dir/cdcl.f.o CMakeFiles/avl.dir/airutil.f.o CMakeFiles/avl.dir/autil.f.o CMakeFiles/avl.dir/aplotvl.f.o CMakeFiles/avl.dir/aplottp.f.o CMakeFiles/avl.dir/aplotmd.f.o CMakeFiles/avl.dir/limits.f.o CMakeFiles/avl.dir/pltops.f.o CMakeFiles/avl.dir/hidden.f.o CMakeFiles/avl.dir/plsubs.f.o CMakeFiles/avl.dir/userio.f.o CMakeFiles/avl.dir/plutil.f.o CMakeFiles/avl.dir/arrow3d.f.o CMakeFiles/avl.dir/getvm.f.o CMakeFiles/avl.dir/matrix.f.o CMakeFiles/avl.dir/spline.f.o CMakeFiles/avl.dir/sgutil.f.o CMakeFiles/avl.dir/second_g77.f.o -o ../bin/avl -L/Users/rkk/drake-distro/avl/pod-build/lib -L/Users/rkk/drake-distro/build/lib ../lib/libplotlib.a ../lib/libeispack.a ../lib/libxwin.a /usr/X11R6/lib/libSM.dylib /usr/X11R6/lib/libICE.dylib /usr/X11R6/lib/libX11.dylib /usr/X11R6/lib/libXext.dylib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.1.0/lib/darwin/libclangrt.osx.a -Wl,-rpath,/Users/rkk/drake-distro/avl/pod-build/lib -Wl,-rpath,/Users/rkk/drake-distro/build/lib gfortran: warning: couldn't understand kern.osversion '14.3.0 ld: -rpath can only be used when targeting Mac OS X 10.5 or later collect2: error: ld returned 1 exit status make[3]: ** [bin/avl] Error 1 make[2]: * [src/CMakeFiles/avl.dir/all] Error 2 make[1]: * [all] Error 2 make: *\ [all] Error 2

and here running make verbose for xfoil:

tarqu:xfoil rkk$ make clean tarqu:xfoil rkk$ make VERBOSE=1 /Applications/Xcode.app/Contents/Developer/usr/bin/make configure

BUILD_PREFIX: /Users/rkk/drake-distro/build

create the temporary build directory if needed

run CMake to generate and configure the build scripts

Re-run cmake no build system arguments -- The C compiler identification is AppleClang 6.1.0.6020049 -- The CXX compiler identification is AppleClang 6.1.0.6020049 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- The Fortran compiler identification is GNU -- Check for working Fortran compiler: /usr/local/bin/gfortran -- Check for working Fortran compiler: /usr/local/bin/gfortran -- works -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Checking whether /usr/local/bin/gfortran supports Fortran 90 -- Checking whether /usr/local/bin/gfortran supports Fortran 90 -- yes -- Looking for XOpenDisplay in /usr/X11R6/lib/libX11.dylib;/usr/X11R6/lib/libXext.dylib -- Looking for XOpenDisplay in /usr/X11R6/lib/libX11.dylib;/usr/X11R6/lib/libXext.dylib - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/X11R6/lib/libX11.dylib -- Configuring done -- Generating done -- Build files have been written to: /Users/rkk/drake-distro/xfoil/pod-build /Applications/Xcode.app/Contents/Developer/usr/bin/make -C pod-build all install /usr/local/Cellar/cmake/3.0.0/bin/cmake -H/Users/rkk/drake-distro/xfoil -B/Users/rkk/drake-distro/xfoil/pod-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_start /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles/progress.marks /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all /Applications/Xcode.app/Contents/Developer/usr/bin/make -f orrs/src/CMakeFiles/osgen.dir/build.make orrs/src/CMakeFiles/osgen.dir/depend cd /Users/rkk/drake-distro/xfoil/pod-build && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/rkk/drake-distro/xfoil /Users/rkk/drake-distro/xfoil/orrs/src /Users/rkk/drake-distro/xfoil/pod-build /Users/rkk/drake-distro/xfoil/pod-build/orrs/src /Users/rkk/drake-distro/xfoil/pod-build/orrs/src/CMakeFiles/osgen.dir/DependInfo.cmake --color= Dependee "/Users/rkk/drake-distro/xfoil/pod-build/orrs/src/CMakeFiles/osgen.dir/DependInfo.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/orrs/src/CMakeFiles/osgen.dir/depend.internal". Dependee "/Users/rkk/drake-distro/xfoil/pod-build/orrs/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/orrs/src/CMakeFiles/osgen.dir/depend.internal". Scanning dependencies of target osgen /Applications/Xcode.app/Contents/Developer/usr/bin/make -f orrs/src/CMakeFiles/osgen.dir/build.make orrs/src/CMakeFiles/osgen.dir/requires make[3]: Nothing to be done for `orrs/src/CMakeFiles/osgen.dir/requires'. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f orrs/src/CMakeFiles/osgen.dir/build.make orrs/src/CMakeFiles/osgen.dir/build /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 2 [ 2%] Building Fortran object orrs/src/CMakeFiles/osgen.dir/osgen.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/orrs/src && /usr/local/bin/gfortran -DOSFILE_DIR=/lib/ -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/xfoil/orrs/src/osgen.f -o CMakeFiles/osgen.dir/osgen.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 3 [ 4%] Building Fortran object orrs/src/CMakeFiles/osgen.dir/io.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/orrs/src && /usr/local/bin/gfortran -DOSFILE_DIR=/lib/ -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/xfoil/orrs/src/io.f -o CMakeFiles/osgen.dir/io.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" /Users/rkk/drake-distro/xfoil/orrs/src/io.f:65.41:

& RTL(1,IH),WSL(1,IH),HH, AR(1,1,IH),AI(1,1,IH), 1 Warning: Rank mismatch in argument 'hh' at (1) (scalar and rank-1) /Users/rkk/drake-distro/xfoil/orrs/src/io.f:142.41:

& RTL(1,IH),WSL(1,IH),HH, AR(1,1,IH),AI(1,1,IH), 1 Warning: Rank mismatch in argument 'hh' at (1) (scalar and rank-1) /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 4 [ 6%] Building Fortran object orrs/src/CMakeFiles/osgen.dir/spline.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/orrs/src && /usr/local/bin/gfortran -DOSFILE_DIR=/lib/ -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/xfoil/orrs/src/spline.f -o CMakeFiles/osgen.dir/spline.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 5 [ 9%] Building Fortran object orrs/src/CMakeFiles/osgen.dir/getarg0.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/orrs/src && /usr/local/bin/gfortran -DOSFILE_DIR=/lib/ -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/xfoil/orrs/src/getarg0.f -o CMakeFiles/osgen.dir/getarg0.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" Linking Fortran executable ../../bin/osgen cd /Users/rkk/drake-distro/xfoil/pod-build/orrs/src && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_link_script CMakeFiles/osgen.dir/link.txt --verbose=1 /usr/local/bin/gfortran -O3 CMakeFiles/osgen.dir/osgen.f.o CMakeFiles/osgen.dir/io.f.o CMakeFiles/osgen.dir/spline.f.o CMakeFiles/osgen.dir/getarg0.f.o -o ../../bin/osgen -L/Users/rkk/drake-distro/xfoil/pod-build/lib -L/Users/rkk/drake-distro/build/lib gfortran: warning: couldn't understand kern.osversion '14.3.0 /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 2 3 4 5 [ 9%] Built target osgen /Applications/Xcode.app/Contents/Developer/usr/bin/make -f orrs/src/CMakeFiles/osmap.dir/build.make orrs/src/CMakeFiles/osmap.dir/depend cd /Users/rkk/drake-distro/xfoil/pod-build && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/rkk/drake-distro/xfoil /Users/rkk/drake-distro/xfoil/orrs/src /Users/rkk/drake-distro/xfoil/pod-build /Users/rkk/drake-distro/xfoil/pod-build/orrs/src /Users/rkk/drake-distro/xfoil/pod-build/orrs/src/CMakeFiles/osmap.dir/DependInfo.cmake --color= Dependee "/Users/rkk/drake-distro/xfoil/pod-build/orrs/src/CMakeFiles/osmap.dir/DependInfo.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/orrs/src/CMakeFiles/osmap.dir/depend.internal". Dependee "/Users/rkk/drake-distro/xfoil/pod-build/orrs/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/orrs/src/CMakeFiles/osmap.dir/depend.internal". Scanning dependencies of target osmap /Applications/Xcode.app/Contents/Developer/usr/bin/make -f orrs/src/CMakeFiles/osmap.dir/build.make orrs/src/CMakeFiles/osmap.dir/requires make[3]: Nothing to be done for orrs/src/CMakeFiles/osmap.dir/requires'. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f orrs/src/CMakeFiles/osmap.dir/build.make orrs/src/CMakeFiles/osmap.dir/build /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 6 [ 11%] Building Fortran object orrs/src/CMakeFiles/osmap.dir/osmap.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/orrs/src && /usr/local/bin/gfortran -DOSFILE_DIR=/lib/ -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/xfoil/orrs/src/osmap.f -o CMakeFiles/osmap.dir/osmap.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" Linking Fortran static library ../../lib/libosmap.a cd /Users/rkk/drake-distro/xfoil/pod-build/orrs/src && /usr/local/Cellar/cmake/3.0.0/bin/cmake -P CMakeFiles/osmap.dir/cmake_clean_target.cmake cd /Users/rkk/drake-distro/xfoil/pod-build/orrs/src && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_link_script CMakeFiles/osmap.dir/link.txt --verbose=1 /usr/bin/ar cr ../../lib/libosmap.a CMakeFiles/osmap.dir/osmap.f.o /usr/bin/ranlib ../../lib/libosmap.a /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 6 [ 11%] Built target osmap /Applications/Xcode.app/Contents/Developer/usr/bin/make -f plotlib/CMakeFiles/xwin.dir/build.make plotlib/CMakeFiles/xwin.dir/depend cd /Users/rkk/drake-distro/xfoil/pod-build && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/rkk/drake-distro/xfoil /Users/rkk/drake-distro/xfoil/plotlib /Users/rkk/drake-distro/xfoil/pod-build /Users/rkk/drake-distro/xfoil/pod-build/plotlib /Users/rkk/drake-distro/xfoil/pod-build/plotlib/CMakeFiles/xwin.dir/DependInfo.cmake --color= Dependee "/Users/rkk/drake-distro/xfoil/pod-build/plotlib/CMakeFiles/xwin.dir/DependInfo.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/plotlib/CMakeFiles/xwin.dir/depend.internal". Dependee "/Users/rkk/drake-distro/xfoil/pod-build/plotlib/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/plotlib/CMakeFiles/xwin.dir/depend.internal". Scanning dependencies of target xwin /Applications/Xcode.app/Contents/Developer/usr/bin/make -f plotlib/CMakeFiles/xwin.dir/build.make plotlib/CMakeFiles/xwin.dir/build /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 44 [ 13%] Building C object plotlib/CMakeFiles/xwin.dir/Xwin.c.o cd /Users/rkk/drake-distro/xfoil/pod-build/plotlib && /usr/bin/cc -DUNDERSCORE -O3 -DNDEBUG -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -o CMakeFiles/xwin.dir/Xwin.c.o -c /Users/rkk/drake-distro/xfoil/plotlib/Xwin.c /Users/rkk/drake-distro/xfoil/plotlib/Xwin.c:598:17: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] { GWXSTATUS(&xstart, &ystart, &xsize, &ysize); ^~~~~~~ /Users/rkk/drake-distro/xfoil/plotlib/Xwin.c:598:26: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] { GWXSTATUS(&xstart, &ystart, &xsize, &ysize); ^~~~~~~ /Users/rkk/drake-distro/xfoil/plotlib/Xwin.c:598:35: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] { GWXSTATUS(&xstart, &ystart, &xsize, &ysize); ^~~~~~ /Users/rkk/drake-distro/xfoil/plotlib/Xwin.c:598:43: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] { GWXSTATUS(&xstart, &ystart, &xsize, &ysize); ^~~~~~ /Users/rkk/drake-distro/xfoil/plotlib/Xwin.c:1036:6: warning: expression result unused [-Wunused-value] exit; ^~~~ 5 warnings generated. Linking C static library ../lib/libxwin.a cd /Users/rkk/drake-distro/xfoil/pod-build/plotlib && /usr/local/Cellar/cmake/3.0.0/bin/cmake -P CMakeFiles/xwin.dir/cmake_clean_target.cmake cd /Users/rkk/drake-distro/xfoil/pod-build/plotlib && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_link_script CMakeFiles/xwin.dir/link.txt --verbose=1 /usr/bin/ar cr ../lib/libxwin.a CMakeFiles/xwin.dir/Xwin.c.o /usr/bin/ranlib ../lib/libxwin.a /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 44 [ 13%] Built target xwin /Applications/Xcode.app/Contents/Developer/usr/bin/make -f plotlib/CMakeFiles/plotlib.dir/build.make plotlib/CMakeFiles/plotlib.dir/depend cd /Users/rkk/drake-distro/xfoil/pod-build && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/rkk/drake-distro/xfoil /Users/rkk/drake-distro/xfoil/plotlib /Users/rkk/drake-distro/xfoil/pod-build /Users/rkk/drake-distro/xfoil/pod-build/plotlib /Users/rkk/drake-distro/xfoil/pod-build/plotlib/CMakeFiles/plotlib.dir/DependInfo.cmake --color= Dependee "/Users/rkk/drake-distro/xfoil/pod-build/plotlib/CMakeFiles/plotlib.dir/DependInfo.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/plotlib/CMakeFiles/plotlib.dir/depend.internal". Dependee "/Users/rkk/drake-distro/xfoil/pod-build/plotlib/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/plotlib/CMakeFiles/plotlib.dir/depend.internal". Scanning dependencies of target plotlib /Applications/Xcode.app/Contents/Developer/usr/bin/make -f plotlib/CMakeFiles/plotlib.dir/build.make plotlib/CMakeFiles/plotlib.dir/requires make[3]: Nothing to be done forplotlib/CMakeFiles/plotlib.dir/requires'. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f plotlib/CMakeFiles/plotlib.dir/build.make plotlib/CMakeFiles/plotlib.dir/build /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 7 [ 15%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/plt_base.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/xfoil/plotlib/plt_base.f -o CMakeFiles/plotlib.dir/plt_base.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 8 [ 18%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/plt_font.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/xfoil/plotlib/plt_font.f -o CMakeFiles/plotlib.dir/plt_font.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 9 [ 20%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/plt_util.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/xfoil/plotlib/plt_util.f -o CMakeFiles/plotlib.dir/plt_util.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 10 [ 22%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/plt_color.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/xfoil/plotlib/plt_color.f -o CMakeFiles/plotlib.dir/plt_color.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 11 [ 25%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/set_subs.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/xfoil/plotlib/set_subs.f -o CMakeFiles/plotlib.dir/set_subs.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 12 [ 27%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/gw_subs.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/xfoil/plotlib/gw_subs.f -o CMakeFiles/plotlib.dir/gw_subs.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 13 [ 29%] Building Fortran object plotlib/CMakeFiles/plotlib.dir/ps_subs.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/plotlib && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -I/usr/X11R6/include -c /Users/rkk/drake-distro/xfoil/plotlib/ps_subs.f -o CMakeFiles/plotlib.dir/ps_subs.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" Linking Fortran static library ../lib/libplotlib.a cd /Users/rkk/drake-distro/xfoil/pod-build/plotlib && /usr/local/Cellar/cmake/3.0.0/bin/cmake -P CMakeFiles/plotlib.dir/cmake_clean_target.cmake cd /Users/rkk/drake-distro/xfoil/pod-build/plotlib && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_link_script CMakeFiles/plotlib.dir/link.txt --verbose=1 /usr/bin/ar cr ../lib/libplotlib.a CMakeFiles/plotlib.dir/plt_base.f.o CMakeFiles/plotlib.dir/plt_font.f.o CMakeFiles/plotlib.dir/plt_util.f.o CMakeFiles/plotlib.dir/plt_color.f.o CMakeFiles/plotlib.dir/set_subs.f.o CMakeFiles/plotlib.dir/gw_subs.f.o CMakeFiles/plotlib.dir/ps_subs.f.o /usr/bin/ranlib ../lib/libplotlib.a /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 7 8 9 10 11 12 13 [ 29%] Built target plotlib /Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/getosfile.dir/build.make src/CMakeFiles/getosfile.dir/depend cd /Users/rkk/drake-distro/xfoil/pod-build && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/rkk/drake-distro/xfoil /Users/rkk/drake-distro/xfoil/src /Users/rkk/drake-distro/xfoil/pod-build /Users/rkk/drake-distro/xfoil/pod-build/src /Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/getosfile.dir/DependInfo.cmake --color= Dependee "/Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/getosfile.dir/DependInfo.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/getosfile.dir/depend.internal". Dependee "/Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/getosfile.dir/depend.internal". Scanning dependencies of target getosfile /Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/getosfile.dir/build.make src/CMakeFiles/getosfile.dir/build /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 1 [ 31%] Building C object src/CMakeFiles/getosfile.dir//osrc/getosfile.c.o cd /Users/rkk/drake-distro/xfoil/pod-build/src && /usr/bin/cc -DUNDERSCORE -O3 -DNDEBUG -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -o CMakeFiles/getosfile.dir//osrc/getosfile.c.o -c /Users/rkk/drake-distro/xfoil/osrc/getosfile.c Linking C static library ../lib/libgetosfile.a cd /Users/rkk/drake-distro/xfoil/pod-build/src && /usr/local/Cellar/cmake/3.0.0/bin/cmake -P CMakeFiles/getosfile.dir/cmake_clean_target.cmake cd /Users/rkk/drake-distro/xfoil/pod-build/src && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_link_script CMakeFiles/getosfile.dir/link.txt --verbose=1 /usr/bin/ar cr ../lib/libgetosfile.a CMakeFiles/getosfile.dir/__/osrc/getosfile.c.o /usr/bin/ranlib ../lib/libgetosfile.a /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 1 [ 31%] Built target getosfile /Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/xutil.dir/build.make src/CMakeFiles/xutil.dir/depend cd /Users/rkk/drake-distro/xfoil/pod-build && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/rkk/drake-distro/xfoil /Users/rkk/drake-distro/xfoil/src /Users/rkk/drake-distro/xfoil/pod-build /Users/rkk/drake-distro/xfoil/pod-build/src /Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/xutil.dir/DependInfo.cmake --color= Dependee "/Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/xutil.dir/DependInfo.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/xutil.dir/depend.internal". Dependee "/Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/xutil.dir/depend.internal". Scanning dependencies of target xutil /Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/xutil.dir/build.make src/CMakeFiles/xutil.dir/requires make[3]: Nothing to be done for src/CMakeFiles/xutil.dir/requires'. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/xutil.dir/build.make src/CMakeFiles/xutil.dir/build /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 43 [ 34%] Building Fortran object src/CMakeFiles/xutil.dir/userio.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/src && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/xfoil/src/userio.f -o CMakeFiles/xutil.dir/userio.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" Linking Fortran static library ../lib/libxutil.a cd /Users/rkk/drake-distro/xfoil/pod-build/src && /usr/local/Cellar/cmake/3.0.0/bin/cmake -P CMakeFiles/xutil.dir/cmake_clean_target.cmake cd /Users/rkk/drake-distro/xfoil/pod-build/src && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_link_script CMakeFiles/xutil.dir/link.txt --verbose=1 /usr/bin/ar cr ../lib/libxutil.a CMakeFiles/xutil.dir/userio.f.o /usr/bin/ranlib ../lib/libxutil.a /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 43 [ 34%] Built target xutil /Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/xfoil.dir/build.make src/CMakeFiles/xfoil.dir/depend cd /Users/rkk/drake-distro/xfoil/pod-build && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/rkk/drake-distro/xfoil /Users/rkk/drake-distro/xfoil/src /Users/rkk/drake-distro/xfoil/pod-build /Users/rkk/drake-distro/xfoil/pod-build/src /Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/xfoil.dir/DependInfo.cmake --color= Dependee "/Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/xfoil.dir/DependInfo.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/xfoil.dir/depend.internal". Dependee "/Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/rkk/drake-distro/xfoil/pod-build/src/CMakeFiles/xfoil.dir/depend.internal". Scanning dependencies of target xfoil /Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/xfoil.dir/build.make src/CMakeFiles/xfoil.dir/requires make[3]: Nothing to be done forsrc/CMakeFiles/xfoil.dir/requires'. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/xfoil.dir/build.make src/CMakeFiles/xfoil.dir/build /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 14 [ 36%] Building Fortran object src/CMakeFiles/xfoil.dir/xfoil.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/src && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/xfoil/src/xfoil.f -o CMakeFiles/xfoil.dir/xfoil.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 15 [ 38%] Building Fortran object src/CMakeFiles/xfoil.dir/xpanel.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/src && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/xfoil/src/xpanel.f -o CMakeFiles/xfoil.dir/xpanel.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 16 [ 40%] Building Fortran object src/CMakeFiles/xfoil.dir/xoper.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/src && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/xfoil/src/xoper.f -o CMakeFiles/xfoil.dir/xoper.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 17 [ 43%] Building Fortran object src/CMakeFiles/xfoil.dir/xtcam.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/src && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-distro/build/include -c /Users/rkk/drake-distro/xfoil/src/xtcam.f -o CMakeFiles/xfoil.dir/xtcam.f.o gfortran: warning: couldn't understand kern.osversion '14.3.0 Warning: Nonexistent include directory "/Users/rkk/drake-distro/xfoil/pod-build/include" /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /Users/rkk/drake-distro/xfoil/pod-build/CMakeFiles 18 [ 45%] Building Fortran object src/CMakeFiles/xfoil.dir/xgdes.f.o cd /Users/rkk/drake-distro/xfoil/pod-build/src && /usr/local/bin/gfortran -DUNDERSCORE -O3 -I/Users/rkk/drake-distro/xfoil/pod-build/include -I/Users/rkk/drake-dis

RussTedrake commented 9 years ago

i will close this assuming it is resolved. if you can confirm, that would be much appreciated. reopen the issue if it is not resolved.

tarquasso commented 9 years ago

Commenting out xfoil and rerunning the make of drake gives me this error:

CMake Error at cmake/mex.cmake:274 (message): Your cmake C compiler is: "/usr/bin/cc" but your mex options use: "". You must use the same compilers. You can either:

a) reconfigure the mex compiler by running 'mex -setup' in  MATLAB, or
b) Set the default compiler for cmake by setting the CC environment variable in your terminal.

Call Stack (most recent call first): CMakeLists.txt:41 (include)

Matlab tells me this:

mex -setup C MEX configured to use 'Xcode with Clang' for C language compilation. Warning: The MATLAB C and Fortran API has changed to support MATLAB variables with more than 2^32-1 elements. In the near future you will be required to update your code to utilize the new API. You can find more information about this at: http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html.

What can I do to get the mex options adjusted? Where in CMakeLists shall i make an adjustment?

I regards to avl and xfoil: I ran: $ xcode-select --install xcode-select: error: command line tools are already installed, use "Software Update" to install updates I made sure xcode software updates are all installed, still it does not compile and ends with the same error. Any ideas?

On Apr 14, 2015, at 02:30, Russ Tedrake notifications@github.com wrote:

i will close this assuming it is resolved. if you can confirm, that would be much appreciated. reopen the issue if it is not resolved.

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92546081.

RussTedrake commented 9 years ago

the mex -setup line output looks good. but if you have changed it, you will have to rerun make configure in the offending directory.

not sure about the gfortran issue. we have other machine running yosemite and compiling it aok. it would definitely be good to figure this one out.

On Apr 14, 2015, at 4:08 AM, Robert Katzschmann notifications@github.com wrote:

Commenting out xfoil and rerunning the make of drake gives me this error:

CMake Error at cmake/mex.cmake:274 (message): Your cmake C compiler is: "/usr/bin/cc" but your mex options use: "". You must use the same compilers. You can either:

a) reconfigure the mex compiler by running 'mex -setup' in MATLAB, or b) Set the default compiler for cmake by setting the CC environment variable in your terminal.

Call Stack (most recent call first): CMakeLists.txt:41 (include)

Matlab tells me this:

mex -setup C MEX configured to use 'Xcode with Clang' for C language compilation. Warning: The MATLAB C and Fortran API has changed to support MATLAB variables with more than 2^32-1 elements. In the near future you will be required to update your code to utilize the new API. You can find more information about this at: http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html.

What can I do to get the mex options adjusted? Where in CMakeLists shall i make an adjustment?

I regards to avl and xfoil: I ran: $ xcode-select --install xcode-select: error: command line tools are already installed, use "Software Update" to install updates I made sure xcode software updates are all installed, still it does not compile and ends with the same error. Any ideas?

On Apr 14, 2015, at 02:30, Russ Tedrake notifications@github.com wrote:

i will close this assuming it is resolved. if you can confirm, that would be much appreciated. reopen the issue if it is not resolved.

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92546081.

— Reply to this email directly or view it on GitHub.

tarquasso commented 9 years ago

I haven’t changed the setup of the mex, I just ran mex -setup and got the output I pasted into my previous email. It still gives me that error. running $make configure in the drake subdirectory gives me still errors:

-- found mex: /Applications/MATLAB_R2014b.app/bin/mex CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CC using mex -v Call Stack (most recent call first): cmake/mex.cmake:97 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:99 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CDEBUGFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:100 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_COPTIMFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:101 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CLIBS using mex -v Call Stack (most recent call first): cmake/mex.cmake:102 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXX using mex -v Call Stack (most recent call first): cmake/mex.cmake:105 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXXDEBUGFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:106 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXXOPTIMFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:107 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXXLIBS using mex -v Call Stack (most recent call first): cmake/mex.cmake:108 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LD using mex -v Call Stack (most recent call first): cmake/mex.cmake:119 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:120 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDDEBUGFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:121 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDOPTIMFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:122 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDEXTENSION using mex -v Call Stack (most recent call first): cmake/mex.cmake:123 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Error at cmake/mex.cmake:257 (get_compiler_version): get_compiler_version Function invoked with incorrect arguments for function named: get_compiler_version Call Stack (most recent call first): cmake/mex.cmake:272 (compare_compilers) CMakeLists.txt:41 (include)

CMake Error at cmake/mex.cmake:274 (message): Your cmake C compiler is: "/usr/bin/cc" but your mex options use: "". You must use the same compilers. You can either:

a) reconfigure the mex compiler by running 'mex -setup' in  MATLAB, or
b) Set the default compiler for cmake by setting the CC environment variable in your terminal.

Call Stack (most recent call first): CMakeLists.txt:41 (include)

-- Configuring incomplete, errors occurred! See also "/Users/rkk/drake-distro/drake/pod-build/CMakeFiles/CMakeOutput.log". make: *\ [configure] Error 1 tarqu:drake rkk$

I am not sure how I should do this here to fix the problem:

Your cmake C compiler is: "/usr/bin/cc" but your mex options use: "". You must use the same compilers. You can either:

a) reconfigure the mex compiler by running 'mex -setup' in MATLAB, or b) Set the default compiler for cmake by setting the CC environment variable in your terminal.

On Apr 14, 2015, at 12:08, Russ Tedrake notifications@github.com wrote:

the mex -setup line output looks good. but if you have changed it, you will have to rerun make configure in the offending directory.

not sure about the gfortran issue. we have other machine running yosemite and compiling it aok. it would definitely be good to figure this one out.

On Apr 14, 2015, at 4:08 AM, Robert Katzschmann notifications@github.com wrote:

Commenting out xfoil and rerunning the make of drake gives me this error:

CMake Error at cmake/mex.cmake:274 (message): Your cmake C compiler is: "/usr/bin/cc" but your mex options use: "". You must use the same compilers. You can either:

a) reconfigure the mex compiler by running 'mex -setup' in MATLAB, or b) Set the default compiler for cmake by setting the CC environment variable in your terminal.

Call Stack (most recent call first): CMakeLists.txt:41 (include)

Matlab tells me this:

mex -setup C MEX configured to use 'Xcode with Clang' for C language compilation. Warning: The MATLAB C and Fortran API has changed to support MATLAB variables with more than 2^32-1 elements. In the near future you will be required to update your code to utilize the new API. You can find more information about this at: http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html.

What can I do to get the mex options adjusted? Where in CMakeLists shall i make an adjustment?

I regards to avl and xfoil: I ran: $ xcode-select --install xcode-select: error: command line tools are already installed, use "Software Update" to install updates I made sure xcode software updates are all installed, still it does not compile and ends with the same error. Any ideas?

On Apr 14, 2015, at 02:30, Russ Tedrake notifications@github.com wrote:

i will close this assuming it is resolved. if you can confirm, that would be much appreciated. reopen the issue if it is not resolved.

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92546081.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92738740.

RussTedrake commented 9 years ago

can you run /Applications/MATLAB_R2014b.app/bin/mex -v pod-build/dummy.c at the command line and paste the output?

On Apr 14, 2015, at 6:21 AM, Robert Katzschmann notifications@github.com wrote:

I haven’t changed the setup of the mex, I just ran mex -setup and got the output I pasted into my previous email. It still gives me that error. running $make configure in the drake subdirectory gives me still errors:

-- found mex: /Applications/MATLAB_R2014b.app/bin/mex CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CC using mex -v Call Stack (most recent call first): cmake/mex.cmake:97 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:99 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CDEBUGFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:100 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_COPTIMFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:101 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CLIBS using mex -v Call Stack (most recent call first): cmake/mex.cmake:102 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXX using mex -v Call Stack (most recent call first): cmake/mex.cmake:105 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXXDEBUGFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:106 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXXOPTIMFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:107 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXXLIBS using mex -v Call Stack (most recent call first): cmake/mex.cmake:108 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LD using mex -v Call Stack (most recent call first): cmake/mex.cmake:119 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:120 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDDEBUGFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:121 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDOPTIMFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:122 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDEXTENSION using mex -v Call Stack (most recent call first): cmake/mex.cmake:123 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Error at cmake/mex.cmake:257 (get_compiler_version): get_compiler_version Function invoked with incorrect arguments for function named: get_compiler_version Call Stack (most recent call first): cmake/mex.cmake:272 (compare_compilers) CMakeLists.txt:41 (include)

CMake Error at cmake/mex.cmake:274 (message): Your cmake C compiler is: "/usr/bin/cc" but your mex options use: "". You must use the same compilers. You can either:

a) reconfigure the mex compiler by running 'mex -setup' in MATLAB, or b) Set the default compiler for cmake by setting the CC environment variable in your terminal.

Call Stack (most recent call first): CMakeLists.txt:41 (include)

-- Configuring incomplete, errors occurred! See also "/Users/rkk/drake-distro/drake/pod-build/CMakeFiles/CMakeOutput.log". make: *\ [configure] Error 1 tarqu:drake rkk$

I am not sure how I should do this here to fix the problem:

Your cmake C compiler is: "/usr/bin/cc" but your mex options use: "". You must use the same compilers. You can either:

a) reconfigure the mex compiler by running 'mex -setup' in MATLAB, or b) Set the default compiler for cmake by setting the CC environment variable in your terminal.

On Apr 14, 2015, at 12:08, Russ Tedrake notifications@github.com wrote:

the mex -setup line output looks good. but if you have changed it, you will have to rerun make configure in the offending directory.

not sure about the gfortran issue. we have other machine running yosemite and compiling it aok. it would definitely be good to figure this one out.

On Apr 14, 2015, at 4:08 AM, Robert Katzschmann notifications@github.com wrote:

Commenting out xfoil and rerunning the make of drake gives me this error:

CMake Error at cmake/mex.cmake:274 (message): Your cmake C compiler is: "/usr/bin/cc" but your mex options use: "". You must use the same compilers. You can either:

a) reconfigure the mex compiler by running 'mex -setup' in MATLAB, or b) Set the default compiler for cmake by setting the CC environment variable in your terminal.

Call Stack (most recent call first): CMakeLists.txt:41 (include)

Matlab tells me this:

mex -setup C MEX configured to use 'Xcode with Clang' for C language compilation. Warning: The MATLAB C and Fortran API has changed to support MATLAB variables with more than 2^32-1 elements. In the near future you will be required to update your code to utilize the new API. You can find more information about this at: http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html.

What can I do to get the mex options adjusted? Where in CMakeLists shall i make an adjustment?

I regards to avl and xfoil: I ran: $ xcode-select --install xcode-select: error: command line tools are already installed, use "Software Update" to install updates I made sure xcode software updates are all installed, still it does not compile and ends with the same error. Any ideas?

On Apr 14, 2015, at 02:30, Russ Tedrake notifications@github.com wrote:

i will close this assuming it is resolved. if you can confirm, that would be much appreciated. reopen the issue if it is not resolved.

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92546081.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92738740.

— Reply to this email directly or view it on GitHub.

tarquasso commented 9 years ago

tarqu:drake rkk$ /Applications/MATLAB_R2014b.app/bin/mex -v pod-build/dummy.c Verbose mode is on. /Users/rkk/drake-distro/drake/pod-build/dummy.c not found; check that you are in the correct current folder, and check the spelling of '/Users/rkk/drake-distro/drake/pod-build/dummy.c'. tarqu:drake rkk$ cd pod-build tarqu:pod-build rkk$ ls CMakeCache.txt CMakeFiles CTestCustom.cmake

dont have dummy.c…

On Apr 14, 2015, at 12:24, Russ Tedrake notifications@github.com wrote:

can you run /Applications/MATLAB_R2014b.app/bin/mex -v pod-build/dummy.c at the command line and paste the output?

On Apr 14, 2015, at 6:21 AM, Robert Katzschmann notifications@github.com wrote:

I haven’t changed the setup of the mex, I just ran mex -setup and got the output I pasted into my previous email. It still gives me that error. running $make configure in the drake subdirectory gives me still errors:

-- found mex: /Applications/MATLAB_R2014b.app/bin/mex CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CC using mex -v Call Stack (most recent call first): cmake/mex.cmake:97 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:99 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CDEBUGFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:100 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_COPTIMFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:101 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CLIBS using mex -v Call Stack (most recent call first): cmake/mex.cmake:102 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXX using mex -v Call Stack (most recent call first): cmake/mex.cmake:105 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXXDEBUGFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:106 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXXOPTIMFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:107 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXXLIBS using mex -v Call Stack (most recent call first): cmake/mex.cmake:108 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LD using mex -v Call Stack (most recent call first): cmake/mex.cmake:119 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:120 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDDEBUGFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:121 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDOPTIMFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:122 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDEXTENSION using mex -v Call Stack (most recent call first): cmake/mex.cmake:123 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Error at cmake/mex.cmake:257 (get_compiler_version): get_compiler_version Function invoked with incorrect arguments for function named: get_compiler_version Call Stack (most recent call first): cmake/mex.cmake:272 (compare_compilers) CMakeLists.txt:41 (include)

CMake Error at cmake/mex.cmake:274 (message): Your cmake C compiler is: "/usr/bin/cc" but your mex options use: "". You must use the same compilers. You can either:

a) reconfigure the mex compiler by running 'mex -setup' in MATLAB, or b) Set the default compiler for cmake by setting the CC environment variable in your terminal.

Call Stack (most recent call first): CMakeLists.txt:41 (include)

-- Configuring incomplete, errors occurred! See also "/Users/rkk/drake-distro/drake/pod-build/CMakeFiles/CMakeOutput.log". make: *\ [configure] Error 1 tarqu:drake rkk$

I am not sure how I should do this here to fix the problem:

Your cmake C compiler is: "/usr/bin/cc" but your mex options use: "". You must use the same compilers. You can either:

a) reconfigure the mex compiler by running 'mex -setup' in MATLAB, or b) Set the default compiler for cmake by setting the CC environment variable in your terminal.

On Apr 14, 2015, at 12:08, Russ Tedrake notifications@github.com wrote:

the mex -setup line output looks good. but if you have changed it, you will have to rerun make configure in the offending directory.

not sure about the gfortran issue. we have other machine running yosemite and compiling it aok. it would definitely be good to figure this one out.

On Apr 14, 2015, at 4:08 AM, Robert Katzschmann notifications@github.com wrote:

Commenting out xfoil and rerunning the make of drake gives me this error:

CMake Error at cmake/mex.cmake:274 (message): Your cmake C compiler is: "/usr/bin/cc" but your mex options use: "". You must use the same compilers. You can either:

a) reconfigure the mex compiler by running 'mex -setup' in MATLAB, or b) Set the default compiler for cmake by setting the CC environment variable in your terminal.

Call Stack (most recent call first): CMakeLists.txt:41 (include)

Matlab tells me this:

mex -setup C MEX configured to use 'Xcode with Clang' for C language compilation. Warning: The MATLAB C and Fortran API has changed to support MATLAB variables with more than 2^32-1 elements. In the near future you will be required to update your code to utilize the new API. You can find more information about this at: http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html.

What can I do to get the mex options adjusted? Where in CMakeLists shall i make an adjustment?

I regards to avl and xfoil: I ran: $ xcode-select --install xcode-select: error: command line tools are already installed, use "Software Update" to install updates I made sure xcode software updates are all installed, still it does not compile and ends with the same error. Any ideas?

On Apr 14, 2015, at 02:30, Russ Tedrake notifications@github.com wrote:

i will close this assuming it is resolved. if you can confirm, that would be much appreciated. reopen the issue if it is not resolved.

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92546081.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92738740.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92754540.

RussTedrake commented 9 years ago

it gets created during the build with a simple touch pod-build/dummy.c . you can do it manually On Apr 14, 2015, at 6:27 AM, Robert Katzschmann notifications@github.com wrote:

tarqu:drake rkk$ /Applications/MATLAB_R2014b.app/bin/mex -v pod-build/dummy.c Verbose mode is on. /Users/rkk/drake-distro/drake/pod-build/dummy.c not found; check that you are in the correct current folder, and check the spelling of '/Users/rkk/drake-distro/drake/pod-build/dummy.c'. tarqu:drake rkk$ cd pod-build tarqu:pod-build rkk$ ls CMakeCache.txt CMakeFiles CTestCustom.cmake

dont have dummy.c…

On Apr 14, 2015, at 12:24, Russ Tedrake notifications@github.com wrote:

can you run /Applications/MATLAB_R2014b.app/bin/mex -v pod-build/dummy.c at the command line and paste the output?

On Apr 14, 2015, at 6:21 AM, Robert Katzschmann notifications@github.com wrote:

I haven’t changed the setup of the mex, I just ran mex -setup and got the output I pasted into my previous email. It still gives me that error. running $make configure in the drake subdirectory gives me still errors:

-- found mex: /Applications/MATLAB_R2014b.app/bin/mex CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CC using mex -v Call Stack (most recent call first): cmake/mex.cmake:97 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:99 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CDEBUGFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:100 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_COPTIMFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:101 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CLIBS using mex -v Call Stack (most recent call first): cmake/mex.cmake:102 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXX using mex -v Call Stack (most recent call first): cmake/mex.cmake:105 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXXDEBUGFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:106 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXXOPTIMFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:107 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXXLIBS using mex -v Call Stack (most recent call first): cmake/mex.cmake:108 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LD using mex -v Call Stack (most recent call first): cmake/mex.cmake:119 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:120 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDDEBUGFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:121 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDOPTIMFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:122 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDEXTENSION using mex -v Call Stack (most recent call first): cmake/mex.cmake:123 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Error at cmake/mex.cmake:257 (get_compiler_version): get_compiler_version Function invoked with incorrect arguments for function named: get_compiler_version Call Stack (most recent call first): cmake/mex.cmake:272 (compare_compilers) CMakeLists.txt:41 (include)

CMake Error at cmake/mex.cmake:274 (message): Your cmake C compiler is: "/usr/bin/cc" but your mex options use: "". You must use the same compilers. You can either:

a) reconfigure the mex compiler by running 'mex -setup' in MATLAB, or b) Set the default compiler for cmake by setting the CC environment variable in your terminal.

Call Stack (most recent call first): CMakeLists.txt:41 (include)

-- Configuring incomplete, errors occurred! See also "/Users/rkk/drake-distro/drake/pod-build/CMakeFiles/CMakeOutput.log". make: *\ [configure] Error 1 tarqu:drake rkk$

I am not sure how I should do this here to fix the problem:

Your cmake C compiler is: "/usr/bin/cc" but your mex options use: "". You must use the same compilers. You can either:

a) reconfigure the mex compiler by running 'mex -setup' in MATLAB, or b) Set the default compiler for cmake by setting the CC environment variable in your terminal.

On Apr 14, 2015, at 12:08, Russ Tedrake notifications@github.com wrote:

the mex -setup line output looks good. but if you have changed it, you will have to rerun make configure in the offending directory.

not sure about the gfortran issue. we have other machine running yosemite and compiling it aok. it would definitely be good to figure this one out.

On Apr 14, 2015, at 4:08 AM, Robert Katzschmann notifications@github.com wrote:

Commenting out xfoil and rerunning the make of drake gives me this error:

CMake Error at cmake/mex.cmake:274 (message): Your cmake C compiler is: "/usr/bin/cc" but your mex options use: "". You must use the same compilers. You can either:

a) reconfigure the mex compiler by running 'mex -setup' in MATLAB, or b) Set the default compiler for cmake by setting the CC environment variable in your terminal.

Call Stack (most recent call first): CMakeLists.txt:41 (include)

Matlab tells me this:

mex -setup C MEX configured to use 'Xcode with Clang' for C language compilation. Warning: The MATLAB C and Fortran API has changed to support MATLAB variables with more than 2^32-1 elements. In the near future you will be required to update your code to utilize the new API. You can find more information about this at: http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html.

What can I do to get the mex options adjusted? Where in CMakeLists shall i make an adjustment?

I regards to avl and xfoil: I ran: $ xcode-select --install xcode-select: error: command line tools are already installed, use "Software Update" to install updates I made sure xcode software updates are all installed, still it does not compile and ends with the same error. Any ideas?

On Apr 14, 2015, at 02:30, Russ Tedrake notifications@github.com wrote:

i will close this assuming it is resolved. if you can confirm, that would be much appreciated. reopen the issue if it is not resolved.

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92546081.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92738740.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92754540.

— Reply to this email directly or view it on GitHub.

tarquasso commented 9 years ago

tarqu:drake rkk$ /Applications/MATLAB_R2014b.app/bin/mex -v pod-build/dummy.c Verbose mode is on. Neither -compatibleArrayDims nor -largeArrayDims is selected. Using -compatibleArrayDims. In the future, MATLAB will require the use of -largeArrayDims and remove the -compatibleArrayDims option. For more information: http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html. ... Looking for compiler 'Xcode with Clang' ... ... Looking for environment variable 'DEVELOPER_DIR' ...No. ... Executing command 'xcode-select -print-path' ...Yes ('/Applications/Xcode.app/Contents/Developer'). ... Looking for folder '/Applications/Xcode.app/Contents/Developer' ...Yes. ... Executing command 'which xcrun' ...Yes ('/usr/bin/xcrun'). ... Looking for folder '/usr/bin' ...Yes. ... Executing command 'defaults read com.apple.dt.Xcode IDEXcodeVersionForAgreedToGMLicense' ...No. ... Executing command 'defaults read /Library/Preferences/com.apple.dt.Xcode IDEXcodeVersionForAgreedToGMLicense' ...Yes ('6.1'). ... Executing command ' agreed=6.1 if echo $agreed | grep -E '[.\"]' >/dev/null; then lhs=expr "$agreed" : '\([0-9]*\)[\.].*' rhs=expr "$agreed" : '[0-9]*[\.]\(.*\)$' if echo $rhs | grep -E '[."]' >/dev/null; then rhs=expr "$rhs" : '\([0-9]*\)[\.].*' fi if [ $lhs -gt 4 ] || ( [ $lhs -eq 4 ] && [ $rhs -ge 3 ] ); then echo $agreed else exit 1 fi fi' ...Yes ('6.1'). ... Executing command 'xcode-select -print-path' ...Yes ('/Applications/Xcode.app/Contents/Developer'). ... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk' ...No. ... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk' ...No. ... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk' ...Yes. ... Executing command 'xcode-select -print-path' ...Yes ('/Applications/Xcode.app/Contents/Developer'). ... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk' ...No. ... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk' ...No. ... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk' ...Yes. ... Executing command 'echo /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk | rev | cut -c1-10 | rev | egrep -oh '[0-9]+.[0-9]+'' ...Yes ('10.9'). Found installed compiler 'Xcode with Clang'.

Options file details

Compiler location: /Applications/Xcode.app/Contents/Developer
Options file: /Users/rkk/.matlab/R2014b/mex_C_maci64.xml
CMDLINE100 : /usr/bin/xcrun -sdk macosx10.9 clang -c -DMX_COMPAT_32   -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2014b.app/extern/include" -I"/Applications/MATLAB_R2014b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -O2 -DNDEBUG /Users/rkk/drake-distro/drake/pod-build/dummy.c -o /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o
CMDLINE200 : /usr/bin/xcrun -sdk macosx10.9 clang -Wl,-twolevel_namespace -undefined error -arch x86_64 -mmacosx-version-min=10.9 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -bundle  -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map" /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o  -O -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map"  -L"/Applications/MATLAB_R2014b.app/bin/maci64" -lmx -lmex -lmat -lstdc++ -o dummy.mexmaci64
CMDLINE300 : rm -f /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o
CC : /usr/bin/xcrun -sdk macosx10.9 clang
DEFINES : -DMX_COMPAT_32   -DMATLAB_MEX_FILE
MATLABMEX : -DMATLAB_MEX_FILE
CFLAGS : -fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
INCLUDE : -I"/Applications/MATLAB_R2014b.app/extern/include" -I"/Applications/MATLAB_R2014b.app/simulink/include"
COPTIMFLAGS : -O2 -DNDEBUG
CDEBUGFLAGS : -g
LD : /usr/bin/xcrun -sdk macosx10.9 clang
LDFLAGS : -Wl,-twolevel_namespace -undefined error -arch x86_64 -mmacosx-version-min=10.9 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -bundle  -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map"
LDBUNDLE : -bundle 
LINKEXPORT : -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map"
LINKLIBS : -L"/Applications/MATLAB_R2014b.app/bin/maci64" -lmx -lmex -lmat -lstdc++
LDOPTIMFLAGS : -O
LDDEBUGFLAGS : -g
OBJEXT : .o
LDEXT : .mexmaci64
SETENV : CC="/usr/bin/xcrun -sdk macosx10.9 clang"

CXX="/usr/bin/xcrun -sdk macosx10.9 clang" CFLAGS="-fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -DMX_COMPAT_32 -DMATLAB_MEX_FILE" CXXFLAGS="-fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -DMX_COMPAT_32 -DMATLAB_MEX_FILE" COPTIMFLAGS="-O2 -DNDEBUG" CXXOPTIMFLAGS="-O2 -DNDEBUG" CDEBUGFLAGS="-g" CXXDEBUGFLAGS="-g" LD="/usr/bin/xcrun -sdk macosx10.9 clang" LDXX="/usr/bin/xcrun -sdk macosx10.9 clang" LDFLAGS="-Wl,-twolevel_namespace -undefined error -arch x86_64 -mmacosx-version-min=10.9 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -bundle -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map" -L"/Applications/MATLAB_R2014b.app/bin/maci64" -lmx -lmex -lmat -lstdc++ -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map"" LDDEBUGFLAGS="-g" DEVELOPER_DIR_CHECK : XCODE_DIR : /Applications/Xcode.app/Contents/Developer XCRUN_DIR : /usr/bin XCODE_AGREED_VERSION : 6.1 ISYSROOT : /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk SDKVER : 10.9 MATLABROOT : /Applications/MATLAB_R2014b.app ARCH : maci64 SRC : /Users/rkk/drake-distro/drake/pod-build/dummy.c OBJ : /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o OBJS : /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o SRCROOT : /Users/rkk/drake-distro/drake/pod-build/dummy DEF : /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.def EXP : dummy.exp LIB : dummy.lib EXE : dummy.mexmaci64 ILK : dummy.ilk MANIFEST : dummy.mexmaci64.manifest TEMPNAME : dummy EXEDIR : EXENAME : dummy OPTIM : -O2 -DNDEBUG

LINKOPTIM : -O

Building with 'Xcode with Clang'. /usr/bin/xcrun -sdk macosx10.9 clang -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2014b.app/extern/include" -I"/Applications/MATLAB_R2014b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -O2 -DNDEBUG /Users/rkk/drake-distro/drake/pod-build/dummy.c -o /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o /usr/bin/xcrun -sdk macosx10.9 clang -Wl,-twolevel_namespace -undefined error -arch x86_64 -mmacosx-version-min=10.9 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -bundle -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map" /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o -O -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map" -L"/Applications/MATLAB_R2014b.app/bin/maci64" -lmx -lmex -lmat -lstdc++ -o dummy.mexmaci64 Undefined symbols for architecture x86_64: "_mexFunction", referenced from: -exported_symbol[s_list] command line option ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

On Apr 14, 2015, at 12:29, Russ Tedrake notifications@github.com wrote:

it gets created during the build with a simple touch pod-build/dummy.c . you can do it manually On Apr 14, 2015, at 6:27 AM, Robert Katzschmann notifications@github.com wrote:

tarqu:drake rkk$ /Applications/MATLAB_R2014b.app/bin/mex -v pod-build/dummy.c Verbose mode is on. /Users/rkk/drake-distro/drake/pod-build/dummy.c not found; check that you are in the correct current folder, and check the spelling of '/Users/rkk/drake-distro/drake/pod-build/dummy.c'. tarqu:drake rkk$ cd pod-build tarqu:pod-build rkk$ ls CMakeCache.txt CMakeFiles CTestCustom.cmake

dont have dummy.c…

On Apr 14, 2015, at 12:24, Russ Tedrake notifications@github.com wrote:

can you run /Applications/MATLAB_R2014b.app/bin/mex -v pod-build/dummy.c at the command line and paste the output?

On Apr 14, 2015, at 6:21 AM, Robert Katzschmann notifications@github.com wrote:

I haven’t changed the setup of the mex, I just ran mex -setup and got the output I pasted into my previous email. It still gives me that error. running $make configure in the drake subdirectory gives me still errors:

-- found mex: /Applications/MATLAB_R2014b.app/bin/mex CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CC using mex -v Call Stack (most recent call first): cmake/mex.cmake:97 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:99 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CDEBUGFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:100 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_COPTIMFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:101 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CLIBS using mex -v Call Stack (most recent call first): cmake/mex.cmake:102 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXX using mex -v Call Stack (most recent call first): cmake/mex.cmake:105 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXXDEBUGFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:106 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXXOPTIMFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:107 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXXLIBS using mex -v Call Stack (most recent call first): cmake/mex.cmake:108 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LD using mex -v Call Stack (most recent call first): cmake/mex.cmake:119 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:120 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDDEBUGFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:121 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDOPTIMFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:122 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDEXTENSION using mex -v Call Stack (most recent call first): cmake/mex.cmake:123 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Error at cmake/mex.cmake:257 (get_compiler_version): get_compiler_version Function invoked with incorrect arguments for function named: get_compiler_version Call Stack (most recent call first): cmake/mex.cmake:272 (compare_compilers) CMakeLists.txt:41 (include)

CMake Error at cmake/mex.cmake:274 (message): Your cmake C compiler is: "/usr/bin/cc" but your mex options use: "". You must use the same compilers. You can either:

a) reconfigure the mex compiler by running 'mex -setup' in MATLAB, or b) Set the default compiler for cmake by setting the CC environment variable in your terminal.

Call Stack (most recent call first): CMakeLists.txt:41 (include)

-- Configuring incomplete, errors occurred! See also "/Users/rkk/drake-distro/drake/pod-build/CMakeFiles/CMakeOutput.log". make: *\ [configure] Error 1 tarqu:drake rkk$

I am not sure how I should do this here to fix the problem:

Your cmake C compiler is: "/usr/bin/cc" but your mex options use: "". You must use the same compilers. You can either:

a) reconfigure the mex compiler by running 'mex -setup' in MATLAB, or b) Set the default compiler for cmake by setting the CC environment variable in your terminal.

On Apr 14, 2015, at 12:08, Russ Tedrake notifications@github.com wrote:

the mex -setup line output looks good. but if you have changed it, you will have to rerun make configure in the offending directory.

not sure about the gfortran issue. we have other machine running yosemite and compiling it aok. it would definitely be good to figure this one out.

On Apr 14, 2015, at 4:08 AM, Robert Katzschmann notifications@github.com wrote:

Commenting out xfoil and rerunning the make of drake gives me this error:

CMake Error at cmake/mex.cmake:274 (message): Your cmake C compiler is: "/usr/bin/cc" but your mex options use: "". You must use the same compilers. You can either:

a) reconfigure the mex compiler by running 'mex -setup' in MATLAB, or b) Set the default compiler for cmake by setting the CC environment variable in your terminal.

Call Stack (most recent call first): CMakeLists.txt:41 (include)

Matlab tells me this:

mex -setup C MEX configured to use 'Xcode with Clang' for C language compilation. Warning: The MATLAB C and Fortran API has changed to support MATLAB variables with more than 2^32-1 elements. In the near future you will be required to update your code to utilize the new API. You can find more information about this at: http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html.

What can I do to get the mex options adjusted? Where in CMakeLists shall i make an adjustment?

I regards to avl and xfoil: I ran: $ xcode-select --install xcode-select: error: command line tools are already installed, use "Software Update" to install updates I made sure xcode software updates are all installed, still it does not compile and ends with the same error. Any ideas?

On Apr 14, 2015, at 02:30, Russ Tedrake notifications@github.com wrote:

i will close this assuming it is resolved. if you can confirm, that would be much appreciated. reopen the issue if it is not resolved.

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92546081.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92738740.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92754540.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92758463.

RussTedrake commented 9 years ago

that all looks fine to me.

we'd have to step in and figure out why this line is failing:

-- found mex: /Applications/MATLAB_R2014b.app/bin/mex CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CC using mex -v Call Stack (most recent call first): cmake/mex.cmake:97 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

On Apr 14, 2015, at 6:43 AM, Robert Katzschmann notifications@github.com wrote:

tarqu:drake rkk$ /Applications/MATLAB_R2014b.app/bin/mex -v pod-build/dummy.c Verbose mode is on. Neither -compatibleArrayDims nor -largeArrayDims is selected. Using -compatibleArrayDims. In the future, MATLAB will require the use of -largeArrayDims and remove the -compatibleArrayDims option. For more information: http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html. ... Looking for compiler 'Xcode with Clang' ... ... Looking for environment variable 'DEVELOPER_DIR' ...No. ... Executing command 'xcode-select -print-path' ...Yes ('/Applications/Xcode.app/Contents/Developer'). ... Looking for folder '/Applications/Xcode.app/Contents/Developer' ...Yes. ... Executing command 'which xcrun' ...Yes ('/usr/bin/xcrun'). ... Looking for folder '/usr/bin' ...Yes. ... Executing command 'defaults read com.apple.dt.Xcode IDEXcodeVersionForAgreedToGMLicense' ...No. ... Executing command 'defaults read /Library/Preferences/com.apple.dt.Xcode IDEXcodeVersionForAgreedToGMLicense' ...Yes ('6.1'). ... Executing command ' agreed=6.1 if echo $agreed | grep -E '[.\"]' >/dev/null; then lhs=expr "$agreed" : '\([0-9]*\)[\.].*' rhs=expr "$agreed" : '[0-9]*[\.]\(.*\)$' if echo $rhs | grep -E '[."]' >/dev/null; then rhs=expr "$rhs" : '\([0-9]*\)[\.].*' fi if [ $lhs -gt 4 ] || ( [ $lhs -eq 4 ] && [ $rhs -ge 3 ] ); then echo $agreed else exit 1 fi fi' ...Yes ('6.1'). ... Executing command 'xcode-select -print-path' ...Yes ('/Applications/Xcode.app/Contents/Developer'). ... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk' ...No. ... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk' ...No. ... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk' ...Yes. ... Executing command 'xcode-select -print-path' ...Yes ('/Applications/Xcode.app/Contents/Developer'). ... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk' ...No. ... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk' ...No. ... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk' ...Yes. ... Executing command 'echo /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk | rev | cut -c1-10 | rev | egrep -oh '[0-9]+.[0-9]+'' ...Yes ('10.9'). Found installed compiler 'Xcode with Clang'.

Options file details

Compiler location: /Applications/Xcode.app/Contents/Developer Options file: /Users/rkk/.matlab/R2014b/mex_C_maci64.xml CMDLINE100 : /usr/bin/xcrun -sdk macosx10.9 clang -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2014b.app/extern/include" -I"/Applications/MATLAB_R2014b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -O2 -DNDEBUG /Users/rkk/drake-distro/drake/pod-build/dummy.c -o /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o CMDLINE200 : /usr/bin/xcrun -sdk macosx10.9 clang -Wl,-twolevel_namespace -undefined error -arch x86_64 -mmacosx-version-min=10.9 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -bundle -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map" /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o -O -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map" -L"/Applications/MATLAB_R2014b.app/bin/maci64" -lmx -lmex -lmat -lstdc++ -o dummy.mexmaci64 CMDLINE300 : rm -f /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o CC : /usr/bin/xcrun -sdk macosx10.9 clang DEFINES : -DMX_COMPAT_32 -DMATLAB_MEX_FILE MATLABMEX : -DMATLAB_MEX_FILE CFLAGS : -fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk INCLUDE : -I"/Applications/MATLAB_R2014b.app/extern/include" -I"/Applications/MATLAB_R2014b.app/simulink/include" COPTIMFLAGS : -O2 -DNDEBUG CDEBUGFLAGS : -g LD : /usr/bin/xcrun -sdk macosx10.9 clang LDFLAGS : -Wl,-twolevel_namespace -undefined error -arch x86_64 -mmacosx-version-min=10.9 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -bundle -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map" LDBUNDLE : -bundle LINKEXPORT : -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map" LINKLIBS : -L"/Applications/MATLAB_R2014b.app/bin/maci64" -lmx -lmex -lmat -lstdc++ LDOPTIMFLAGS : -O LDDEBUGFLAGS : -g OBJEXT : .o LDEXT : .mexmaci64 SETENV : CC="/usr/bin/xcrun -sdk macosx10.9 clang" CXX="/usr/bin/xcrun -sdk macosx10.9 clang" CFLAGS="-fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -DMX_COMPAT_32 -DMATLAB_MEX_FILE" CXXFLAGS="-fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -DMX_COMPAT_32 -DMATLAB_MEX_FILE" COPTIMFLAGS="-O2 -DNDEBUG" CXXOPTIMFLAGS="-O2 -DNDEBUG" CDEBUGFLAGS="-g" CXXDEBUGFLAGS="-g" LD="/usr/bin/xcrun -sdk macosx10.9 clang" LDXX="/usr/bin/xcrun -sdk macosx10.9 clang" LDFLAGS="-Wl,-twolevel_namespace -undefined error -arch x86_64 -mmacosx-version-min=10.9 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -bundle -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map" -L"/Applications/MATLAB_R2014b.app/bin/maci64" -lmx -lmex -lmat -lstdc++ -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map"" LDDEBUGFLAGS="-g" DEVELOPER_DIR_CHECK : XCODE_DIR : /Applications/Xcode.app/Contents/Developer XCRUN_DIR : /usr/bin XCODE_AGREED_VERSION : 6.1 ISYSROOT : /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk SDKVER : 10.9 MATLABROOT : /Applications/MATLAB_R2014b.app ARCH : maci64 SRC : /Users/rkk/drake-distro/drake/pod-build/dummy.c OBJ : /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o OBJS : /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o SRCROOT : /Users/rkk/drake-distro/drake/pod-build/dummy DEF : /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.def EXP : dummy.exp LIB : dummy.lib EXE : dummy.mexmaci64 ILK : dummy.ilk MANIFEST : dummy.mexmaci64.manifest TEMPNAME : dummy EXEDIR : EXENAME : dummy OPTIM : -O2 -DNDEBUG

LINKOPTIM : -O

Building with 'Xcode with Clang'. /usr/bin/xcrun -sdk macosx10.9 clang -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2014b.app/extern/include" -I"/Applications/MATLAB_R2014b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -O2 -DNDEBUG /Users/rkk/drake-distro/drake/pod-build/dummy.c -o /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o /usr/bin/xcrun -sdk macosx10.9 clang -Wl,-twolevel_namespace -undefined error -arch x86_64 -mmacosx-version-min=10.9 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -bundle -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map" /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o -O -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map" -L"/Applications/MATLAB_R2014b.app/bin/maci64" -lmx -lmex -lmat -lstdc++ -o dummy.mexmaci64 Undefined symbols for architecture x86_64: "_mexFunction", referenced from: -exported_symbol[s_list] command line option ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

On Apr 14, 2015, at 12:29, Russ Tedrake notifications@github.com wrote:

it gets created during the build with a simple touch pod-build/dummy.c . you can do it manually On Apr 14, 2015, at 6:27 AM, Robert Katzschmann notifications@github.com wrote:

tarqu:drake rkk$ /Applications/MATLAB_R2014b.app/bin/mex -v pod-build/dummy.c Verbose mode is on. /Users/rkk/drake-distro/drake/pod-build/dummy.c not found; check that you are in the correct current folder, and check the spelling of '/Users/rkk/drake-distro/drake/pod-build/dummy.c'. tarqu:drake rkk$ cd pod-build tarqu:pod-build rkk$ ls CMakeCache.txt CMakeFiles CTestCustom.cmake

dont have dummy.c…

On Apr 14, 2015, at 12:24, Russ Tedrake notifications@github.com wrote:

can you run /Applications/MATLAB_R2014b.app/bin/mex -v pod-build/dummy.c at the command line and paste the output?

On Apr 14, 2015, at 6:21 AM, Robert Katzschmann notifications@github.com wrote:

I haven’t changed the setup of the mex, I just ran mex -setup and got the output I pasted into my previous email. It still gives me that error. running $make configure in the drake subdirectory gives me still errors:

-- found mex: /Applications/MATLAB_R2014b.app/bin/mex CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CC using mex -v Call Stack (most recent call first): cmake/mex.cmake:97 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:99 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CDEBUGFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:100 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_COPTIMFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:101 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CLIBS using mex -v Call Stack (most recent call first): cmake/mex.cmake:102 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXX using mex -v Call Stack (most recent call first): cmake/mex.cmake:105 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXXDEBUGFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:106 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXXOPTIMFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:107 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXXLIBS using mex -v Call Stack (most recent call first): cmake/mex.cmake:108 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LD using mex -v Call Stack (most recent call first): cmake/mex.cmake:119 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:120 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDDEBUGFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:121 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDOPTIMFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:122 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDEXTENSION using mex -v Call Stack (most recent call first): cmake/mex.cmake:123 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Error at cmake/mex.cmake:257 (get_compiler_version): get_compiler_version Function invoked with incorrect arguments for function named: get_compiler_version Call Stack (most recent call first): cmake/mex.cmake:272 (compare_compilers) CMakeLists.txt:41 (include)

CMake Error at cmake/mex.cmake:274 (message): Your cmake C compiler is: "/usr/bin/cc" but your mex options use: "". You must use the same compilers. You can either:

a) reconfigure the mex compiler by running 'mex -setup' in MATLAB, or b) Set the default compiler for cmake by setting the CC environment variable in your terminal.

Call Stack (most recent call first): CMakeLists.txt:41 (include)

-- Configuring incomplete, errors occurred! See also "/Users/rkk/drake-distro/drake/pod-build/CMakeFiles/CMakeOutput.log". make: *\ [configure] Error 1 tarqu:drake rkk$

I am not sure how I should do this here to fix the problem:

Your cmake C compiler is: "/usr/bin/cc" but your mex options use: "". You must use the same compilers. You can either:

a) reconfigure the mex compiler by running 'mex -setup' in MATLAB, or b) Set the default compiler for cmake by setting the CC environment variable in your terminal.

On Apr 14, 2015, at 12:08, Russ Tedrake notifications@github.com wrote:

the mex -setup line output looks good. but if you have changed it, you will have to rerun make configure in the offending directory.

not sure about the gfortran issue. we have other machine running yosemite and compiling it aok. it would definitely be good to figure this one out.

On Apr 14, 2015, at 4:08 AM, Robert Katzschmann notifications@github.com wrote:

Commenting out xfoil and rerunning the make of drake gives me this error:

CMake Error at cmake/mex.cmake:274 (message): Your cmake C compiler is: "/usr/bin/cc" but your mex options use: "". You must use the same compilers. You can either:

a) reconfigure the mex compiler by running 'mex -setup' in MATLAB, or b) Set the default compiler for cmake by setting the CC environment variable in your terminal.

Call Stack (most recent call first): CMakeLists.txt:41 (include)

Matlab tells me this:

mex -setup C MEX configured to use 'Xcode with Clang' for C language compilation. Warning: The MATLAB C and Fortran API has changed to support MATLAB variables with more than 2^32-1 elements. In the near future you will be required to update your code to utilize the new API. You can find more information about this at: http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html.

What can I do to get the mex options adjusted? Where in CMakeLists shall i make an adjustment?

I regards to avl and xfoil: I ran: $ xcode-select --install xcode-select: error: command line tools are already installed, use "Software Update" to install updates I made sure xcode software updates are all installed, still it does not compile and ends with the same error. Any ideas?

On Apr 14, 2015, at 02:30, Russ Tedrake notifications@github.com wrote:

i will close this assuming it is resolved. if you can confirm, that would be much appreciated. reopen the issue if it is not resolved.

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92546081.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92738740.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92754540.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92758463.

— Reply to this email directly or view it on GitHub.

tarquasso commented 9 years ago

I am in Italy, back on Monday at MIT, lets do it then in person or can I do any more debugging from here?

On Apr 14, 2015, at 1:33 PM, Russ Tedrake notifications@github.com wrote:

that all looks fine to me.

we'd have to step in and figure out why this line is failing:

-- found mex: /Applications/MATLAB_R2014b.app/bin/mex CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CC using mex -v Call Stack (most recent call first): cmake/mex.cmake:97 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

On Apr 14, 2015, at 6:43 AM, Robert Katzschmann notifications@github.com wrote:

tarqu:drake rkk$ /Applications/MATLAB_R2014b.app/bin/mex -v pod-build/dummy.c Verbose mode is on. Neither -compatibleArrayDims nor -largeArrayDims is selected. Using -compatibleArrayDims. In the future, MATLAB will require the use of -largeArrayDims and remove the -compatibleArrayDims option. For more information: http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html. ... Looking for compiler 'Xcode with Clang' ... ... Looking for environment variable 'DEVELOPER_DIR' ...No. ... Executing command 'xcode-select -print-path' ...Yes ('/Applications/Xcode.app/Contents/Developer'). ... Looking for folder '/Applications/Xcode.app/Contents/Developer' ...Yes. ... Executing command 'which xcrun' ...Yes ('/usr/bin/xcrun'). ... Looking for folder '/usr/bin' ...Yes. ... Executing command 'defaults read com.apple.dt.Xcode IDEXcodeVersionForAgreedToGMLicense' ...No. ... Executing command 'defaults read /Library/Preferences/com.apple.dt.Xcode IDEXcodeVersionForAgreedToGMLicense' ...Yes ('6.1'). ... Executing command ' agreed=6.1 if echo $agreed | grep -E '[.\"]' >/dev/null; then lhs=expr "$agreed" : '\([0-9]*\)[\.].*' rhs=expr "$agreed" : '[0-9]*[\.]\(.*\)$' if echo $rhs | grep -E '[."]' >/dev/null; then rhs=expr "$rhs" : '\([0-9]*\)[\.].*' fi if [ $lhs -gt 4 ] || ( [ $lhs -eq 4 ] && [ $rhs -ge 3 ] ); then echo $agreed else exit 1 fi fi' ...Yes ('6.1'). ... Executing command 'xcode-select -print-path' ...Yes ('/Applications/Xcode.app/Contents/Developer'). ... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk' ...No. ... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk' ...No. ... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk' ...Yes. ... Executing command 'xcode-select -print-path' ...Yes ('/Applications/Xcode.app/Contents/Developer'). ... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk' ...No. ... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk' ...No. ... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk' ...Yes. ... Executing command 'echo /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk | rev | cut -c1-10 | rev | egrep -oh '[0-9]+.[0-9]+'' ...Yes ('10.9'). Found installed compiler 'Xcode with Clang'.

Options file details

Compiler location: /Applications/Xcode.app/Contents/Developer Options file: /Users/rkk/.matlab/R2014b/mex_C_maci64.xml CMDLINE100 : /usr/bin/xcrun -sdk macosx10.9 clang -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2014b.app/extern/include" -I"/Applications/MATLAB_R2014b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -O2 -DNDEBUG /Users/rkk/drake-distro/drake/pod-build/dummy.c -o /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o CMDLINE200 : /usr/bin/xcrun -sdk macosx10.9 clang -Wl,-twolevel_namespace -undefined error -arch x86_64 -mmacosx-version-min=10.9 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -bundle -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map" /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o -O -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map" -L"/Applications/MATLAB_R2014b.app/bin/maci64" -lmx -lmex -lmat -lstdc++ -o dummy.mexmaci64 CMDLINE300 : rm -f /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o CC : /usr/bin/xcrun -sdk macosx10.9 clang DEFINES : -DMX_COMPAT_32 -DMATLAB_MEX_FILE MATLABMEX : -DMATLAB_MEX_FILE CFLAGS : -fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk INCLUDE : -I"/Applications/MATLAB_R2014b.app/extern/include" -I"/Applications/MATLAB_R2014b.app/simulink/include" COPTIMFLAGS : -O2 -DNDEBUG CDEBUGFLAGS : -g LD : /usr/bin/xcrun -sdk macosx10.9 clang LDFLAGS : -Wl,-twolevel_namespace -undefined error -arch x86_64 -mmacosx-version-min=10.9 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -bundle -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map" LDBUNDLE : -bundle LINKEXPORT : -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map" LINKLIBS : -L"/Applications/MATLAB_R2014b.app/bin/maci64" -lmx -lmex -lmat -lstdc++ LDOPTIMFLAGS : -O LDDEBUGFLAGS : -g OBJEXT : .o LDEXT : .mexmaci64 SETENV : CC="/usr/bin/xcrun -sdk macosx10.9 clang" CXX="/usr/bin/xcrun -sdk macosx10.9 clang" CFLAGS="-fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -DMX_COMPAT_32 -DMATLAB_MEX_FILE" CXXFLAGS="-fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -DMX_COMPAT_32 -DMATLAB_MEX_FILE" COPTIMFLAGS="-O2 -DNDEBUG" CXXOPTIMFLAGS="-O2 -DNDEBUG" CDEBUGFLAGS="-g" CXXDEBUGFLAGS="-g" LD="/usr/bin/xcrun -sdk macosx10.9 clang" LDXX="/usr/bin/xcrun -sdk macosx10.9 clang" LDFLAGS="-Wl,-twolevel_namespace -undefined error -arch x86_64 -mmacosx-version-min=10.9 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -bundle -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map" -L"/Applications/MATLAB_R2014b.app/bin/maci64" -lmx -lmex -lmat -lstdc++ -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map"" LDDEBUGFLAGS="-g" DEVELOPER_DIR_CHECK : XCODE_DIR : /Applications/Xcode.app/Contents/Developer XCRUN_DIR : /usr/bin XCODE_AGREED_VERSION : 6.1 ISYSROOT : /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk SDKVER : 10.9 MATLABROOT : /Applications/MATLAB_R2014b.app ARCH : maci64 SRC : /Users/rkk/drake-distro/drake/pod-build/dummy.c OBJ : /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o OBJS : /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o SRCROOT : /Users/rkk/drake-distro/drake/pod-build/dummy DEF : /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.def EXP : dummy.exp LIB : dummy.lib EXE : dummy.mexmaci64 ILK : dummy.ilk MANIFEST : dummy.mexmaci64.manifest TEMPNAME : dummy EXEDIR : EXENAME : dummy OPTIM : -O2 -DNDEBUG

LINKOPTIM : -O

Building with 'Xcode with Clang'. /usr/bin/xcrun -sdk macosx10.9 clang -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2014b.app/extern/include" -I"/Applications/MATLAB_R2014b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -O2 -DNDEBUG /Users/rkk/drake-distro/drake/pod-build/dummy.c -o /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o /usr/bin/xcrun -sdk macosx10.9 clang -Wl,-twolevel_namespace -undefined error -arch x86_64 -mmacosx-version-min=10.9 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -bundle -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map" /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o -O -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map" -L"/Applications/MATLAB_R2014b.app/bin/maci64" -lmx -lmex -lmat -lstdc++ -o dummy.mexmaci64 Undefined symbols for architecture x86_64: "_mexFunction", referenced from: -exported_symbol[s_list] command line option ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

On Apr 14, 2015, at 12:29, Russ Tedrake notifications@github.com wrote:

it gets created during the build with a simple touch pod-build/dummy.c . you can do it manually On Apr 14, 2015, at 6:27 AM, Robert Katzschmann notifications@github.com wrote:

tarqu:drake rkk$ /Applications/MATLAB_R2014b.app/bin/mex -v pod-build/dummy.c Verbose mode is on. /Users/rkk/drake-distro/drake/pod-build/dummy.c not found; check that you are in the correct current folder, and check the spelling of '/Users/rkk/drake-distro/drake/pod-build/dummy.c'. tarqu:drake rkk$ cd pod-build tarqu:pod-build rkk$ ls CMakeCache.txt CMakeFiles CTestCustom.cmake

dont have dummy.c…

On Apr 14, 2015, at 12:24, Russ Tedrake notifications@github.com wrote:

can you run /Applications/MATLAB_R2014b.app/bin/mex -v pod-build/dummy.c at the command line and paste the output?

On Apr 14, 2015, at 6:21 AM, Robert Katzschmann notifications@github.com wrote:

I haven’t changed the setup of the mex, I just ran mex -setup and got the output I pasted into my previous email. It still gives me that error. running $make configure in the drake subdirectory gives me still errors:

-- found mex: /Applications/MATLAB_R2014b.app/bin/mex CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CC using mex -v Call Stack (most recent call first): cmake/mex.cmake:97 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:99 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CDEBUGFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:100 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_COPTIMFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:101 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CLIBS using mex -v Call Stack (most recent call first): cmake/mex.cmake:102 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXX using mex -v Call Stack (most recent call first): cmake/mex.cmake:105 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXXDEBUGFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:106 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXXOPTIMFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:107 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXXLIBS using mex -v Call Stack (most recent call first): cmake/mex.cmake:108 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LD using mex -v Call Stack (most recent call first): cmake/mex.cmake:119 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:120 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDDEBUGFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:121 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDOPTIMFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:122 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDEXTENSION using mex -v Call Stack (most recent call first): cmake/mex.cmake:123 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Error at cmake/mex.cmake:257 (get_compiler_version): get_compiler_version Function invoked with incorrect arguments for function named: get_compiler_version Call Stack (most recent call first): cmake/mex.cmake:272 (compare_compilers) CMakeLists.txt:41 (include)

CMake Error at cmake/mex.cmake:274 (message): Your cmake C compiler is: "/usr/bin/cc" but your mex options use: "". You must use the same compilers. You can either:

a) reconfigure the mex compiler by running 'mex -setup' in MATLAB, or b) Set the default compiler for cmake by setting the CC environment variable in your terminal.

Call Stack (most recent call first): CMakeLists.txt:41 (include)

-- Configuring incomplete, errors occurred! See also "/Users/rkk/drake-distro/drake/pod-build/CMakeFiles/CMakeOutput.log". make: *\ [configure] Error 1 tarqu:drake rkk$

I am not sure how I should do this here to fix the problem:

Your cmake C compiler is: "/usr/bin/cc" but your mex options use: "". You must use the same compilers. You can either:

a) reconfigure the mex compiler by running 'mex -setup' in MATLAB, or b) Set the default compiler for cmake by setting the CC environment variable in your terminal.

On Apr 14, 2015, at 12:08, Russ Tedrake notifications@github.com wrote:

the mex -setup line output looks good. but if you have changed it, you will have to rerun make configure in the offending directory.

not sure about the gfortran issue. we have other machine running yosemite and compiling it aok. it would definitely be good to figure this one out.

On Apr 14, 2015, at 4:08 AM, Robert Katzschmann notifications@github.com wrote:

Commenting out xfoil and rerunning the make of drake gives me this error:

CMake Error at cmake/mex.cmake:274 (message): Your cmake C compiler is: "/usr/bin/cc" but your mex options use: "". You must use the same compilers. You can either:

a) reconfigure the mex compiler by running 'mex -setup' in MATLAB, or b) Set the default compiler for cmake by setting the CC environment variable in your terminal.

Call Stack (most recent call first): CMakeLists.txt:41 (include)

Matlab tells me this:

mex -setup C MEX configured to use 'Xcode with Clang' for C language compilation. Warning: The MATLAB C and Fortran API has changed to support MATLAB variables with more than 2^32-1 elements. In the near future you will be required to update your code to utilize the new API. You can find more information about this at: http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html.

What can I do to get the mex options adjusted? Where in CMakeLists shall i make an adjustment?

I regards to avl and xfoil: I ran: $ xcode-select --install xcode-select: error: command line tools are already installed, use "Software Update" to install updates I made sure xcode software updates are all installed, still it does not compile and ends with the same error. Any ideas?

On Apr 14, 2015, at 02:30, Russ Tedrake notifications@github.com wrote:

i will close this assuming it is resolved. if you can confirm, that would be much appreciated. reopen the issue if it is not resolved.

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92546081.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92738740.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92754540.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92758463.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub.

tarquasso commented 9 years ago

Good News: I started off from scratch by cloning drake [rigidbody] again into a new folder, running all of the steps in the installation guide and got it all to compile without commenting out any of the submodules.

I think the problem might have been that the gcc dependency for avl was not correcty installed and also not correctly linked (because of gcc49 being linked). $brew unlink gcc49 $brew unlink gfortran

and the rerun $brew link gcc

fixed that. See details below:

UPDATING HOMEBREW PREREQUESITES: drake-distro rkk$ brew update (…) installing prereqs for avl ==> Installing dependencies for gcc: gmp, mpfr, libmpc, isl ==> Installing gcc dependency: gmp ==> Downloading https://homebrew.bintray.com/bottles/gmp-6.0.0a.yosemite.bottle.tar.gz ######################################################################## 100.0% ==> Pouring gmp-6.0.0a.yosemite.bottle.tar.gz 🍺 /usr/local/Cellar/gmp/6.0.0a: 15 files, 3.2M ==> Installing gcc dependency: mpfr ==> Downloading https://homebrew.bintray.com/bottles/mpfr-3.1.2-p11.yosemite.bottle.tar.gz ######################################################################## 100.0% ==> Pouring mpfr-3.1.2-p11.yosemite.bottle.tar.gz 🍺 /usr/local/Cellar/mpfr/3.1.2-p11: 24 files, 3.5M ==> Installing gcc dependency: libmpc ==> Downloading https://homebrew.bintray.com/bottles/libmpc-1.0.3.yosemite.bottle.tar.gz ######################################################################## 100.0% ==> Pouring libmpc-1.0.3.yosemite.bottle.tar.gz 🍺 /usr/local/Cellar/libmpc/1.0.3: 10 files, 380K ==> Installing gcc dependency: isl ==> Downloading https://homebrew.bintray.com/bottles/isl-0.12.2.yosemite.bottle.2.tar.gz ######################################################################## 100.0% ==> Pouring isl-0.12.2.yosemite.bottle.2.tar.gz 🍺 /usr/local/Cellar/isl/0.12.2: 55 files, 3.1M ==> Installing gcc ==> Downloading https://homebrew.bintray.com/bottles/gcc-4.9.2_1.yosemite.bottle.1.tar.gz ######################################################################## 100.0% ==> Pouring gcc-4.9.2_1.yosemite.bottle.1.tar.gz ==> Caveats GCC has been built with multilib support. Notably, OpenMP may not work: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60670 If you need OpenMP support you may want to brew reinstall gcc --without-multilib Error: The brew link step did not complete successfully The formula built, but is not symlinked into /usr/local Could not symlink bin/c++-4.9 Target /usr/local/bin/c++-4.9 is a symlink belonging to gcc49. You can unlink it: brew unlink gcc49

To force the link and overwrite all conflicting files: brew link --overwrite gcc

To list all files that would be deleted: brew link --overwrite --dry-run gcc

Possible conflicting files are: (…) ==> Summary 🍺 /usr/local/Cellar/gcc/4.9.2_1: 1156 files, 203M installing prereqs for xfoil Warning: gcc-4.9.2_1 already installed, it's just not linked installing prereqs for drake java version >= 1.6: YES Error: boost-1.55.0 already installed To install this version, first brew unlink boost' Error: graphviz-2.36.0 already installed To install this version, firstbrew unlink graphviz' tarqu:drake-distro rkk$ ma

FIX BREW LINK OF GCC:

tarqu:drake-distro rkk$ brew unlink gcc49 Unlinking /usr/local/Cellar/gcc49/4.9.2_1... 25 symlinks removed tarqu:drake-distro rkk$ brew link gcc Linking /usr/local/Cellar/gcc/4.9.2_1... Error: Could not symlink bin/gfortran Target /usr/local/bin/gfortran is a symlink belonging to gfortran. You can unlink it: brew unlink gfortran

To force the link and overwrite all conflicting files: brew link --overwrite gcc

To list all files that would be deleted: brew link --overwrite --dry-run gcc tarqu:drake-distro rkk$ brew unlink gfortran Unlinking /usr/local/Cellar/gfortran/4.8.2... 3 symlinks removed tarqu:drake-distro rkk$ brew link gcc Linking /usr/local/Cellar/gcc/4.9.2_1... 29 symlinks created tarqu:drake-distro rkk$

RERUNNING HOMEBREW PREREQS INSTALL: tarqu:drake-distro rkk$ ./install_prereqs.sh homebrew Warning: pkg-config-0.28 already installed Error: cmake-3.0.0 already installed To install this version, first brew unlink cmake' Error: gtk+-2.24.24 already installed To install this version, firstbrew unlink gtk+' installing prereqs for lcm Error: wget-1.15 already installed To install this version, first brew unlink wget' Error: xz-5.0.5 already installed To install this version, firstbrew unlink xz' Error: glib-2.40.0_1 already installed To install this version, first brew unlink glib' Error: coreutils-8.22 already installed To install this version, firstbrew unlink coreutils' installing prereqs for libbot Warning: jpeg-8d already installed Error: cmake-3.0.0 already installed To install this version, first brew unlink cmake' Error: gtk+-2.24.24 already installed To install this version, firstbrew unlink gtk+' Error: libpng-1.6.12 already installed To install this version, first brew unlink libpng' installing prereqs for eigen installing prereqs for bullet Warning: gnu-sed-4.2.2 already installed installing prereqs for avl Warning: gcc-4.9.2_1 already installed installing prereqs for xfoil Warning: gcc-4.9.2_1 already installed installing prereqs for drake java version >= 1.6: YES Error: boost-1.55.0 already installed To install this version, firstbrew unlink boost' Error: graphviz-2.36.0 already installed To install this version, first `brew unlink graphviz'

I am now running $make test in the drake-distro folder, that seems to be outputting some errors, but will open another issue ticket for that.

On Apr 14, 2015, at 20:25, Robert Katzschmann robert@katzschmann.de wrote:

I am in Italy, back on Monday at MIT, lets do it then in person or can I do any more debugging from here?

On Apr 14, 2015, at 1:33 PM, Russ Tedrake <notifications@github.com mailto:notifications@github.com> wrote:

that all looks fine to me.

we'd have to step in and figure out why this line is failing:

-- found mex: /Applications/MATLAB_R2014b.app/bin/mex CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CC using mex -v Call Stack (most recent call first): cmake/mex.cmake:97 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

On Apr 14, 2015, at 6:43 AM, Robert Katzschmann <notifications@github.com mailto:notifications@github.com> wrote:

tarqu:drake rkk$ /Applications/MATLAB_R2014b.app/bin/mex -v pod-build/dummy.c Verbose mode is on. Neither -compatibleArrayDims nor -largeArrayDims is selected. Using -compatibleArrayDims. In the future, MATLAB will require the use of -largeArrayDims and remove the -compatibleArrayDims option. For more information: http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html. ... Looking for compiler 'Xcode with Clang' ... ... Looking for environment variable 'DEVELOPER_DIR' ...No. ... Executing command 'xcode-select -print-path' ...Yes ('/Applications/Xcode.app/Contents/Developer'). ... Looking for folder '/Applications/Xcode.app/Contents/Developer' ...Yes. ... Executing command 'which xcrun' ...Yes ('/usr/bin/xcrun'). ... Looking for folder '/usr/bin' ...Yes. ... Executing command 'defaults read com.apple.dt.Xcode IDEXcodeVersionForAgreedToGMLicense' ...No. ... Executing command 'defaults read /Library/Preferences/com.apple.dt.Xcode IDEXcodeVersionForAgreedToGMLicense' ...Yes ('6.1'). ... Executing command ' agreed=6.1 if echo $agreed | grep -E '[.\"]' >/dev/null; then lhs=expr "$agreed" : '\([0-9]*\)[\.].*' rhs=expr "$agreed" : '[0-9]*[\.]\(.*\)$' if echo $rhs | grep -E '[."]' >/dev/null; then rhs=expr "$rhs" : '\([0-9]*\)[\.].*' fi if [ $lhs -gt 4 ] || ( [ $lhs -eq 4 ] && [ $rhs -ge 3 ] ); then echo $agreed else exit 1 fi fi' ...Yes ('6.1'). ... Executing command 'xcode-select -print-path' ...Yes ('/Applications/Xcode.app/Contents/Developer'). ... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk' ...No. ... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk' ...No. ... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk' ...Yes. ... Executing command 'xcode-select -print-path' ...Yes ('/Applications/Xcode.app/Contents/Developer'). ... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk' ...No. ... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk' ...No. ... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk' ...Yes. ... Executing command 'echo /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk | rev | cut -c1-10 | rev | egrep -oh '[0-9]+.[0-9]+'' ...Yes ('10.9'). Found installed compiler 'Xcode with Clang'.

Options file details

Compiler location: /Applications/Xcode.app/Contents/Developer Options file: /Users/rkk/.matlab/R2014b/mex_C_maci64.xml CMDLINE100 : /usr/bin/xcrun -sdk macosx10.9 clang -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2014b.app/extern/include" -I"/Applications/MATLAB_R2014b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -O2 -DNDEBUG /Users/rkk/drake-distro/drake/pod-build/dummy.c -o /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o CMDLINE200 : /usr/bin/xcrun -sdk macosx10.9 clang -Wl,-twolevel_namespace -undefined error -arch x86_64 -mmacosx-version-min=10.9 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -bundle -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map" /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o -O -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map" -L"/Applications/MATLAB_R2014b.app/bin/maci64" -lmx -lmex -lmat -lstdc++ -o dummy.mexmaci64 CMDLINE300 : rm -f /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o CC : /usr/bin/xcrun -sdk macosx10.9 clang DEFINES : -DMX_COMPAT_32 -DMATLAB_MEX_FILE MATLABMEX : -DMATLAB_MEX_FILE CFLAGS : -fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk INCLUDE : -I"/Applications/MATLAB_R2014b.app/extern/include" -I"/Applications/MATLAB_R2014b.app/simulink/include" COPTIMFLAGS : -O2 -DNDEBUG CDEBUGFLAGS : -g LD : /usr/bin/xcrun -sdk macosx10.9 clang LDFLAGS : -Wl,-twolevel_namespace -undefined error -arch x86_64 -mmacosx-version-min=10.9 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -bundle -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map" LDBUNDLE : -bundle LINKEXPORT : -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map" LINKLIBS : -L"/Applications/MATLAB_R2014b.app/bin/maci64" -lmx -lmex -lmat -lstdc++ LDOPTIMFLAGS : -O LDDEBUGFLAGS : -g OBJEXT : .o LDEXT : .mexmaci64 SETENV : CC="/usr/bin/xcrun -sdk macosx10.9 clang" CXX="/usr/bin/xcrun -sdk macosx10.9 clang" CFLAGS="-fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -DMX_COMPAT_32 -DMATLAB_MEX_FILE" CXXFLAGS="-fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -DMX_COMPAT_32 -DMATLAB_MEX_FILE" COPTIMFLAGS="-O2 -DNDEBUG" CXXOPTIMFLAGS="-O2 -DNDEBUG" CDEBUGFLAGS="-g" CXXDEBUGFLAGS="-g" LD="/usr/bin/xcrun -sdk macosx10.9 clang" LDXX="/usr/bin/xcrun -sdk macosx10.9 clang" LDFLAGS="-Wl,-twolevel_namespace -undefined error -arch x86_64 -mmacosx-version-min=10.9 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -bundle -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map" -L"/Applications/MATLAB_R2014b.app/bin/maci64" -lmx -lmex -lmat -lstdc++ -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map"" LDDEBUGFLAGS="-g" DEVELOPER_DIR_CHECK : XCODE_DIR : /Applications/Xcode.app/Contents/Developer XCRUN_DIR : /usr/bin XCODE_AGREED_VERSION : 6.1 ISYSROOT : /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk SDKVER : 10.9 MATLABROOT : /Applications/MATLAB_R2014b.app ARCH : maci64 SRC : /Users/rkk/drake-distro/drake/pod-build/dummy.c OBJ : /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o OBJS : /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o SRCROOT : /Users/rkk/drake-distro/drake/pod-build/dummy DEF : /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.def EXP : dummy.exp LIB : dummy.lib EXE : dummy.mexmaci64 ILK : dummy.ilk MANIFEST : dummy.mexmaci64.manifest TEMPNAME : dummy EXEDIR : EXENAME : dummy OPTIM : -O2 -DNDEBUG

LINKOPTIM : -O

Building with 'Xcode with Clang'. /usr/bin/xcrun -sdk macosx10.9 clang -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2014b.app/extern/include" -I"/Applications/MATLAB_R2014b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -O2 -DNDEBUG /Users/rkk/drake-distro/drake/pod-build/dummy.c -o /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o /usr/bin/xcrun -sdk macosx10.9 clang -Wl,-twolevel_namespace -undefined error -arch x86_64 -mmacosx-version-min=10.9 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -bundle -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map" /var/folders/hp/42hp13353gs4cv4hl78gj4zw0000gn/T//mex_1096130455862_20487/dummy.o -O -Wl,-exported_symbols_list,"/Applications/MATLAB_R2014b.app/extern/lib/maci64/mexFunction.map" -L"/Applications/MATLAB_R2014b.app/bin/maci64" -lmx -lmex -lmat -lstdc++ -o dummy.mexmaci64 Undefined symbols for architecture x86_64: "_mexFunction", referenced from: -exported_symbol[s_list] command line option ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

On Apr 14, 2015, at 12:29, Russ Tedrake <notifications@github.com mailto:notifications@github.com> wrote:

it gets created during the build with a simple touch pod-build/dummy.c . you can do it manually On Apr 14, 2015, at 6:27 AM, Robert Katzschmann <notifications@github.com mailto:notifications@github.com> wrote:

tarqu:drake rkk$ /Applications/MATLAB_R2014b.app/bin/mex -v pod-build/dummy.c Verbose mode is on. /Users/rkk/drake-distro/drake/pod-build/dummy.c not found; check that you are in the correct current folder, and check the spelling of '/Users/rkk/drake-distro/drake/pod-build/dummy.c'. tarqu:drake rkk$ cd pod-build tarqu:pod-build rkk$ ls CMakeCache.txt CMakeFiles CTestCustom.cmake

dont have dummy.c…

On Apr 14, 2015, at 12:24, Russ Tedrake <notifications@github.com mailto:notifications@github.com> wrote:

can you run /Applications/MATLAB_R2014b.app/bin/mex -v pod-build/dummy.c at the command line and paste the output?

On Apr 14, 2015, at 6:21 AM, Robert Katzschmann <notifications@github.com mailto:notifications@github.com> wrote:

I haven’t changed the setup of the mex, I just ran mex -setup and got the output I pasted into my previous email. It still gives me that error. running $make configure in the drake subdirectory gives me still errors:

-- found mex: /Applications/MATLAB_R2014b.app/bin/mex CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CC using mex -v Call Stack (most recent call first): cmake/mex.cmake:97 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:99 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CDEBUGFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:100 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_COPTIMFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:101 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CLIBS using mex -v Call Stack (most recent call first): cmake/mex.cmake:102 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXX using mex -v Call Stack (most recent call first): cmake/mex.cmake:105 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXXDEBUGFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:106 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXXOPTIMFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:107 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_CXXLIBS using mex -v Call Stack (most recent call first): cmake/mex.cmake:108 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LD using mex -v Call Stack (most recent call first): cmake/mex.cmake:119 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:120 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDDEBUGFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:121 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDOPTIMFLAGS using mex -v Call Stack (most recent call first): cmake/mex.cmake:122 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Warning at cmake/mex.cmake:18 (message): Could not find MEX_LDEXTENSION using mex -v Call Stack (most recent call first): cmake/mex.cmake:123 (get_mex_option) cmake/mex.cmake:270 (mex_setup) CMakeLists.txt:41 (include)

CMake Error at cmake/mex.cmake:257 (get_compiler_version): get_compiler_version Function invoked with incorrect arguments for function named: get_compiler_version Call Stack (most recent call first): cmake/mex.cmake:272 (compare_compilers) CMakeLists.txt:41 (include)

CMake Error at cmake/mex.cmake:274 (message): Your cmake C compiler is: "/usr/bin/cc" but your mex options use: "". You must use the same compilers. You can either:

a) reconfigure the mex compiler by running 'mex -setup' in MATLAB, or b) Set the default compiler for cmake by setting the CC environment variable in your terminal.

Call Stack (most recent call first): CMakeLists.txt:41 (include)

-- Configuring incomplete, errors occurred! See also "/Users/rkk/drake-distro/drake/pod-build/CMakeFiles/CMakeOutput.log". make: *\ [configure] Error 1 tarqu:drake rkk$

I am not sure how I should do this here to fix the problem:

Your cmake C compiler is: "/usr/bin/cc" but your mex options use: "". You must use the same compilers. You can either:

a) reconfigure the mex compiler by running 'mex -setup' in MATLAB, or b) Set the default compiler for cmake by setting the CC environment variable in your terminal.

On Apr 14, 2015, at 12:08, Russ Tedrake <notifications@github.com mailto:notifications@github.com> wrote:

the mex -setup line output looks good. but if you have changed it, you will have to rerun make configure in the offending directory.

not sure about the gfortran issue. we have other machine running yosemite and compiling it aok. it would definitely be good to figure this one out.

On Apr 14, 2015, at 4:08 AM, Robert Katzschmann <notifications@github.com mailto:notifications@github.com> wrote:

Commenting out xfoil and rerunning the make of drake gives me this error:

CMake Error at cmake/mex.cmake:274 (message): Your cmake C compiler is: "/usr/bin/cc" but your mex options use: "". You must use the same compilers. You can either:

a) reconfigure the mex compiler by running 'mex -setup' in MATLAB, or b) Set the default compiler for cmake by setting the CC environment variable in your terminal.

Call Stack (most recent call first): CMakeLists.txt:41 (include)

Matlab tells me this:

mex -setup C MEX configured to use 'Xcode with Clang' for C language compilation. Warning: The MATLAB C and Fortran API has changed to support MATLAB variables with more than 2^32-1 elements. In the near future you will be required to update your code to utilize the new API. You can find more information about this at: http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html <http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html>.

What can I do to get the mex options adjusted? Where in CMakeLists shall i make an adjustment?

I regards to avl and xfoil: I ran: $ xcode-select --install xcode-select: error: command line tools are already installed, use "Software Update" to install updates I made sure xcode software updates are all installed, still it does not compile and ends with the same error. Any ideas?

On Apr 14, 2015, at 02:30, Russ Tedrake <notifications@github.com mailto:notifications@github.com> wrote:

i will close this assuming it is resolved. if you can confirm, that would be much appreciated. reopen the issue if it is not resolved.

— Reply to this email directly or view it on GitHub <https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92546081 https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92546081>.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub <https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92738740 https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92738740>.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub <https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92754540 https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92754540>.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub <https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92758463 https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92758463>.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/981#issuecomment-92777252.

RussTedrake commented 9 years ago

Excellent. Thanks for posting the resolution

tkoolen commented 8 years ago

I had similar errors (in xfoil, but also in avl). For me, removing drake-distro/pod-build/avl-prefix and drake-distro/pod-build/download-avl-prefix and rerunning make avl fixed avl. xfoil got fixed after doing the unlink/link thing for gcc, but I'm betting that I could have also just deleted the prefix folders for xfoil.