[ITK] Problem with installing ITKApplications

Sara Gh sg.ele.eng at gmail.com
Sun Mar 13 00:51:29 EST 2016


Thank you for your reply. Actually, I tried building ITK Apps Superbuild.
It also ends with some errors:

"4 errors generated.

make[5]: *** [src/CMakeFiles/fltk.dir/fl_line_style.cxx.o] Error 1

make[4]: *** [src/CMakeFiles/fltk.dir/all] Error 2

make[3]: *** [all] Error 2

make[2]: *** [FLTK-prefix/src/FLTK-stamp/FLTK-build] Error 2

make[1]: *** [CMakeFiles/FLTK.dir/all] Error 2

make: *** [all] Error 2"

Please find attached the text file including the errors I got.

Thanks,
Sara

On Fri, Mar 11, 2016 at 2:03 PM, Bill Lorensen <bill.lorensen at gmail.com>
wrote:

> Please use the ITK Apps superbuild.
> http://www.itk.org/ITK/resources/applications.html
>
> This will build all of the proper vtk,itk,fltk.
>
>
>
> On Fri, Mar 11, 2016 at 1:44 PM, Sara Gh <sg.ele.eng at gmail.com> wrote:
> > Hello ITK experts,
> >
> > I have been trying to make ITK Apps work but I have not been successful
> so
> > far. When I am building (making) ITKApps the process ends with 8 errors
> in
> > DICOMApp. I would be thankful if you could help me in this regard. I am
> on
> > Mac (El Capitan) and here is the summary of what I have done so far:
> >
> > 1- Installing CMake-3.4.1.
> > 2- Installing VTK-6.3.0
> > 3- Installing ITK-4.8.2
> > 4- Installing FLTK-1.3.3 (Initially, I had some issues with building FLTK
> > and came across to this; and using this solution: brew reinstall --devel
> >
> https://raw.githubusercontent.com/dpo/homebrew/ec46018128dde5bf466b013a6c7086d0880930a3/Library/Formula/fltk.rb
> > , I could fix the problem and fltk folder has been created at
> > \usr\local\Cellar\fltk\1.3.3-r10866_1\)
> > 5- Installing ITKApps:
> >
> > - Create a folder named "Applications"
> >
> > - In "Applications" directory run: git clone http://itk.org/ITKApps.git
> >
> > -This will make a floder named "ITKApps"
> >
> > - Then, create a folder named "build" in "Applications" directory
> >
> > - Use Cmake gui:
> >
> > * Source: PathTo/Applications/ITKApps
> > * Build: PathTo/Applications/build
> >
> > - Configure! There is a bug: Fltk resources not found, GUI application
> will
> > not respond to mouse events
> >
> > - Manually set the ITK_FLTK_RESOURCE to
> > \usr\local\Cellar\fltk\1.3.3-r10866_1\
> >
> > - Configure again! Successful!
> >
> > - Generate! Successful!
> >
> > - Go to /Applications/build directory, and make.
> >
> > This process ends with 8 errors related to DICOMApp.
> > "8 errors generated.
> > make[2]: *** [DICOMApp/CMakeFiles/DICOMApp.dir/main.cxx.o] Error
> 1make[1]:
> > *** [DICOMApp/CMakeFiles/DICOMApp.dir/all] Error 2
> > make: *** [all] Error 2"
> >
> > Please find attached the text file including the errors I got.
> >
> > Thanks,
> > Sara Gh
> >
> >
> > _______________________________________________
> > Community mailing list
> > Community at itk.org
> > http://public.kitware.com/mailman/listinfo/community
> >
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20160313/32555291/attachment-0001.html>
-------------- next part --------------
>> cmake ../ITKApps/Superbuild
-- The C compiler identification is AppleClang 7.0.2.7000181
-- The CXX compiler identification is AppleClang 7.0.2.7000181
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.5.4 (Apple Git-61)") 
-- Found Subversion: /usr/bin/svn (found version "1.7.20") 
-- Using External Project for VTK
-- Using External Project for ITK
-- Using External Project for FLTK
-- Configuring done
-- Generating done
-- Build files have been written to: /Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild
>>
>>
>>
>> make
Scanning dependencies of target FLTK
[  3%] Creating directories for 'FLTK'
[  6%] Performing download step (download, verify and extract) for 'FLTK'
-- downloading...
     src='http://midas3.kitware.com/midas/download/bitstream/452953/FLTK-1.3-r9815-patched.zip'
     dst='/Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK-prefix/src/FLTK-1.3-r9815-patched.zip'
     timeout='none'
-- [download 100% complete]
-- [download 0% complete]
-- [download 1% complete]
-- [download 2% complete]
-- [download 3% complete]
-- [download 4% complete]
-- [download 5% complete]
-- [download 6% complete]
-- [download 7% complete]
-- [download 8% complete]
-- [download 9% complete]
-- [download 10% complete]
-- [download 11% complete]
-- [download 12% complete]
-- [download 13% complete]
-- [download 14% complete]
-- [download 15% complete]
-- [download 16% complete]
-- [download 17% complete]
-- [download 18% complete]
-- [download 19% complete]
-- [download 20% complete]
-- [download 21% complete]
-- [download 22% complete]
-- [download 23% complete]
-- [download 24% complete]
-- [download 25% complete]
-- [download 26% complete]
-- [download 27% complete]
-- [download 28% complete]
-- [download 29% complete]
-- [download 30% complete]
-- [download 31% complete]
-- [download 32% complete]
-- [download 33% complete]
-- [download 34% complete]
-- [download 35% complete]
-- [download 36% complete]
-- [download 37% complete]
-- [download 38% complete]
-- [download 39% complete]
-- [download 40% complete]
-- [download 41% complete]
-- [download 42% complete]
-- [download 43% complete]
-- [download 44% complete]
-- [download 45% complete]
-- [download 46% complete]
-- [download 47% complete]
-- [download 48% complete]
-- [download 49% complete]
-- [download 50% complete]
-- [download 51% complete]
-- [download 52% complete]
-- [download 53% complete]
-- [download 54% complete]
-- [download 55% complete]
-- [download 56% complete]
-- [download 57% complete]
-- [download 58% complete]
-- [download 59% complete]
-- [download 60% complete]
-- [download 61% complete]
-- [download 62% complete]
-- [download 63% complete]
-- [download 64% complete]
-- [download 65% complete]
-- [download 66% complete]
-- [download 67% complete]
-- [download 68% complete]
-- [download 69% complete]
-- [download 70% complete]
-- [download 71% complete]
-- [download 72% complete]
-- [download 73% complete]
-- [download 74% complete]
-- [download 75% complete]
-- [download 76% complete]
-- [download 77% complete]
-- [download 78% complete]
-- [download 79% complete]
-- [download 80% complete]
-- [download 81% complete]
-- [download 82% complete]
-- [download 83% complete]
-- [download 84% complete]
-- [download 85% complete]
-- [download 86% complete]
-- [download 87% complete]
-- [download 88% complete]
-- [download 89% complete]
-- [download 90% complete]
-- [download 91% complete]
-- [download 92% complete]
-- [download 93% complete]
-- [download 94% complete]
-- [download 95% complete]
-- [download 96% complete]
-- [download 97% complete]
-- [download 98% complete]
-- [download 99% complete]
-- [download 100% complete]
-- downloading... done
-- verifying file...
     file='/Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK-prefix/src/FLTK-1.3-r9815-patched.zip'
-- verifying file... warning: did not verify file - no URL_HASH specified?
-- extracting...
     src='/Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK-prefix/src/FLTK-1.3-r9815-patched.zip'
     dst='/Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[  9%] No patch step for 'FLTK'
[ 12%] No update step for 'FLTK'
[ 15%] Performing configure step for 'FLTK'
-- The C compiler identification is AppleClang 7.0.2.7000181
-- The CXX compiler identification is AppleClang 7.0.2.7000181
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Check size of short
-- Check size of short - done
-- Check size of int
-- Check size of int - done
-- Check size of long
-- Check size of long - done
-- Check size of long long
-- Check size of long long - done
-- Looking for dlsym
-- Looking for dlsym - found
-- Looking for localeconv
-- Looking for localeconv - found
-- Looking for png_get_valid
-- Looking for png_get_valid - found
-- Looking for png_set_tRNS_to_alpha
-- Looking for png_set_tRNS_to_alpha - found
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for strlcat
-- Looking for strlcat - found
-- Looking for strlcpy
-- Looking for strlcpy - found
-- Looking for vsnprintf
-- Looking for vsnprintf - found
-- Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) 
-- Found OpenGL: /System/Library/Frameworks/OpenGL.framework  
-- Looking for glXGetProcAddressARB
-- Looking for glXGetProcAddressARB - not found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE  
-- Found JPEG: /usr/local/lib/libjpeg.dylib  
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5") 
-- Found PNG: /usr/local/lib/libpng.dylib (found version "1.6.21") 
-- Configuring done
-- Generating done
-- Build files have been written to: /Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK-build
[ 18%] Performing build step for 'FLTK'
Scanning dependencies of target fltk
[  0%] Building CXX object src/CMakeFiles/fltk.dir/Fl.cxx.o
[  0%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Adjuster.cxx.o
[  1%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Bitmap.cxx.o
[  1%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Browser.cxx.o
[  2%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Browser_.cxx.o
[  2%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Browser_load.cxx.o
[  3%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Box.cxx.o
[  3%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Button.cxx.o
[  4%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Chart.cxx.o
[  4%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Check_Browser.cxx.o
[  5%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Check_Button.cxx.o
[  5%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Choice.cxx.o
[  6%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Clock.cxx.o
[  6%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Color_Chooser.cxx.o
[  7%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Counter.cxx.o
[  7%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Device.cxx.o
[  8%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Dial.cxx.o
[  8%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Double_Window.cxx.o
[  9%] Building CXX object src/CMakeFiles/fltk.dir/Fl_File_Browser.cxx.o
/Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK/src/Fl_File_Browser.cxx:352:45: warning: for loop has empty body [-Wempty-body]
        for (i = 0; i < column && columns[i]; i ++);
                                                   ^
/Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK/src/Fl_File_Browser.cxx:352:45: note: put the semicolon on a separate line to silence this warning
1 warning generated.
[  9%] Building CXX object src/CMakeFiles/fltk.dir/Fl_File_Chooser.cxx.o
[ 10%] Building CXX object src/CMakeFiles/fltk.dir/Fl_File_Chooser2.cxx.o
[ 10%] Building CXX object src/CMakeFiles/fltk.dir/Fl_File_Icon.cxx.o
[ 11%] Building CXX object src/CMakeFiles/fltk.dir/Fl_File_Input.cxx.o
[ 11%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Group.cxx.o
[ 12%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Help_View.cxx.o
[ 12%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Image.cxx.o
[ 13%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Input.cxx.o
[ 13%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Input_.cxx.o
[ 14%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Light_Button.cxx.o
[ 14%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Menu.cxx.o
[ 15%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Menu_.cxx.o
[ 15%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Menu_Bar.cxx.o
[ 16%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Sys_Menu_Bar.cxx.o
[ 16%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Menu_Button.cxx.o
[ 16%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Menu_Window.cxx.o
[ 17%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Menu_add.cxx.o
[ 17%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Menu_global.cxx.o
[ 18%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Multi_Label.cxx.o
[ 18%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Native_File_Chooser.cxx.o
[ 19%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Overlay_Window.cxx.o
[ 19%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Pack.cxx.o
[ 20%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Paged_Device.cxx.o
[ 20%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Pixmap.cxx.o
[ 21%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Positioner.cxx.o
[ 21%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Printer.cxx.o
[ 22%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Preferences.cxx.o
[ 22%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Progress.cxx.o
[ 23%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Repeat_Button.cxx.o
[ 23%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Return_Button.cxx.o
[ 24%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Roller.cxx.o
[ 24%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Round_Button.cxx.o
[ 25%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Scroll.cxx.o
[ 25%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Scrollbar.cxx.o
[ 26%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Shared_Image.cxx.o
[ 26%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Single_Window.cxx.o
[ 27%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Slider.cxx.o
[ 27%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Table.cxx.o
[ 28%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Table_Row.cxx.o
[ 28%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Tabs.cxx.o
[ 29%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Text_Buffer.cxx.o
/Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK/src/Fl_Text_Buffer.cxx:738:7: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
  if (!mNPredeleteProcs != 0) {
      ^                 ~~
/Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK/src/Fl_Text_Buffer.cxx:738:7: note: add parentheses after the '!' to evaluate the comparison first
  if (!mNPredeleteProcs != 0) {
      ^
       (                    )
/Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK/src/Fl_Text_Buffer.cxx:738:7: note: add parentheses around left hand side expression to silence this warning
  if (!mNPredeleteProcs != 0) {
      ^
      (                )
1 warning generated.
[ 29%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Text_Display.cxx.o
[ 30%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Text_Editor.cxx.o
[ 30%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Tile.cxx.o
[ 31%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Tiled_Image.cxx.o
[ 31%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Tooltip.cxx.o
[ 32%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Tree.cxx.o
[ 32%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Tree_Item_Array.cxx.o
[ 33%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Tree_Item.cxx.o
[ 33%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Tree_Prefs.cxx.o
[ 33%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Valuator.cxx.o
[ 34%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Value_Input.cxx.o
[ 34%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Value_Output.cxx.o
[ 35%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Value_Slider.cxx.o
[ 35%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Widget.cxx.o
[ 36%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Window.cxx.o
[ 36%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Window_fullscreen.cxx.o
[ 37%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Window_hotspot.cxx.o
[ 37%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Window_iconize.cxx.o
[ 38%] Building CXX object src/CMakeFiles/fltk.dir/Fl_Wizard.cxx.o
[ 38%] Building CXX object src/CMakeFiles/fltk.dir/Fl_XBM_Image.cxx.o
[ 39%] Building CXX object src/CMakeFiles/fltk.dir/Fl_XPM_Image.cxx.o
[ 39%] Building CXX object src/CMakeFiles/fltk.dir/Fl_abort.cxx.o
[ 40%] Building CXX object src/CMakeFiles/fltk.dir/Fl_add_idle.cxx.o
[ 40%] Building CXX object src/CMakeFiles/fltk.dir/Fl_arg.cxx.o
[ 41%] Building CXX object src/CMakeFiles/fltk.dir/Fl_compose.cxx.o
[ 41%] Building CXX object src/CMakeFiles/fltk.dir/Fl_display.cxx.o
[ 42%] Building CXX object src/CMakeFiles/fltk.dir/Fl_get_key.cxx.o
In file included from /Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK/src/Fl_get_key.cxx:22:
/Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK/src/Fl_get_key_mac.cxx:245:6: warning: comparison of function 'CGEventSourceKeyState' not equal to a null pointer is always true
      [-Wtautological-pointer-compare]
  if(CGEventSourceKeyState != NULL) {
     ^~~~~~~~~~~~~~~~~~~~~    ~~~~
/Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK/src/Fl_get_key_mac.cxx:245:6: note: prefix with the address-of operator to silence this warning
  if(CGEventSourceKeyState != NULL) {
     ^
     &
1 warning generated.
[ 42%] Building CXX object src/CMakeFiles/fltk.dir/Fl_get_system_colors.cxx.o
[ 43%] Building CXX object src/CMakeFiles/fltk.dir/Fl_grab.cxx.o
[ 43%] Building CXX object src/CMakeFiles/fltk.dir/Fl_lock.cxx.o
[ 44%] Building CXX object src/CMakeFiles/fltk.dir/Fl_own_colormap.cxx.o
[ 44%] Building CXX object src/CMakeFiles/fltk.dir/Fl_visual.cxx.o
[ 45%] Building CXX object src/CMakeFiles/fltk.dir/Fl_x.cxx.o
[ 45%] Building CXX object src/CMakeFiles/fltk.dir/filename_absolute.cxx.o
[ 46%] Building CXX object src/CMakeFiles/fltk.dir/filename_expand.cxx.o
[ 46%] Building CXX object src/CMakeFiles/fltk.dir/filename_ext.cxx.o
[ 47%] Building CXX object src/CMakeFiles/fltk.dir/filename_isdir.cxx.o
[ 47%] Building CXX object src/CMakeFiles/fltk.dir/filename_list.cxx.o
[ 48%] Building CXX object src/CMakeFiles/fltk.dir/filename_match.cxx.o
[ 48%] Building CXX object src/CMakeFiles/fltk.dir/filename_setext.cxx.o
[ 49%] Building CXX object src/CMakeFiles/fltk.dir/fl_arc.cxx.o
[ 49%] Building CXX object src/CMakeFiles/fltk.dir/fl_arci.cxx.o
[ 50%] Building CXX object src/CMakeFiles/fltk.dir/fl_ask.cxx.o
[ 50%] Building CXX object src/CMakeFiles/fltk.dir/fl_boxtype.cxx.o
[ 50%] Building CXX object src/CMakeFiles/fltk.dir/fl_color.cxx.o
[ 51%] Building CXX object src/CMakeFiles/fltk.dir/fl_cursor.cxx.o
[ 51%] Building CXX object src/CMakeFiles/fltk.dir/fl_curve.cxx.o
[ 52%] Building CXX object src/CMakeFiles/fltk.dir/fl_diamond_box.cxx.o
[ 52%] Building CXX object src/CMakeFiles/fltk.dir/fl_dnd.cxx.o
[ 53%] Building CXX object src/CMakeFiles/fltk.dir/fl_draw.cxx.o
[ 53%] Building CXX object src/CMakeFiles/fltk.dir/fl_draw_image.cxx.o
[ 54%] Building CXX object src/CMakeFiles/fltk.dir/fl_draw_pixmap.cxx.o
[ 54%] Building CXX object src/CMakeFiles/fltk.dir/fl_engraved_label.cxx.o
[ 55%] Building CXX object src/CMakeFiles/fltk.dir/fl_file_dir.cxx.o
[ 55%] Building CXX object src/CMakeFiles/fltk.dir/fl_font.cxx.o
In file included from /Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK/src/fl_font.cxx:51:
/Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK/src/fl_font_mac.cxx:48:39: warning: 'kCTFontHorizontalOrientation' is deprecated: first deprecated in OS X 10.11
      [-Wdeprecated-declarations]
  CTFontGetAdvancesForGlyphs(fontref, kCTFontHorizontalOrientation, glyph, advances, 2);
                                      ^
/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h:186:5: note: 'kCTFontHorizontalOrientation' has been explicitly marked deprecated here
    kCTFontHorizontalOrientation CT_ENUM_DEPRECATED(10_5, 10_11, 3_2, 9_0) = kCTFontOrientationHorizontal,
    ^
In file included from /Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK/src/fl_font.cxx:51:
/Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK/src/fl_font_mac.cxx:50:8: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
  if ( abs(advances[0].width - advances[1].width) < 1E-2 ) {//this is a fixed-width font
       ^
/Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK/src/fl_font_mac.cxx:50:8: note: use function 'std::abs' instead
  if ( abs(advances[0].width - advances[1].width) < 1E-2 ) {//this is a fixed-width font
       ^~~
       std::abs
/Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK/src/fl_font_mac.cxx:50:8: note: include the header <cmath> or explicitly provide a declaration for 'std::abs'
/Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK/src/fl_font_mac.cxx:55:45: warning: 'kCTFontHorizontalOrientation' is deprecated: first deprecated in OS X 10.11
      [-Wdeprecated-declarations]
    w = CTFontGetAdvancesForGlyphs(fontref, kCTFontHorizontalOrientation, glyph, NULL, 1);
                                            ^
/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h:186:5: note: 'kCTFontHorizontalOrientation' has been explicitly marked deprecated here
    kCTFontHorizontalOrientation CT_ENUM_DEPRECATED(10_5, 10_11, 3_2, 9_0) = kCTFontOrientationHorizontal,
    ^
In file included from /Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK/src/fl_font.cxx:51:
/Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK/src/fl_font_mac.cxx:281:44: warning: 'kCTFontHorizontalOrientation' is deprecated: first deprecated in OS X 10.11
      [-Wdeprecated-declarations]
  if (b) CTFontGetAdvancesForGlyphs(font2, kCTFontHorizontalOrientation, glyphs, &a, 1);
                                           ^
/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h:186:5: note: 'kCTFontHorizontalOrientation' has been explicitly marked deprecated here
    kCTFontHorizontalOrientation CT_ENUM_DEPRECATED(10_5, 10_11, 3_2, 9_0) = kCTFontOrientationHorizontal,
    ^
In file included from /Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK/src/fl_font.cxx:51:
/Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK/src/fl_font_mac.cxx:315:53: warning: 'kCTFontHorizontalOrientation' is deprecated: first deprecated in OS X 10.11
      [-Wdeprecated-declarations]
          CTFontGetAdvancesForGlyphs(fl_fontsize->fontref, kCTFontHorizontalOrientation, &glyph, &advance_size, 1);
                                                           ^
/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h:186:5: note: 'kCTFontHorizontalOrientation' has been explicitly marked deprecated here
    kCTFontHorizontalOrientation CT_ENUM_DEPRECATED(10_5, 10_11, 3_2, 9_0) = kCTFontOrientationHorizontal,
    ^
In file included from /Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK/src/fl_font.cxx:51:
/Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK/src/fl_font_mac.cxx:339:48: warning: 'kCTFontHorizontalOrientation' is deprecated: first deprecated in OS X 10.11
      [-Wdeprecated-declarations]
      if (b) CTFontGetAdvancesForGlyphs(font2, kCTFontHorizontalOrientation, &glyph, &advance_size, 1);
                                               ^
/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h:186:5: note: 'kCTFontHorizontalOrientation' has been explicitly marked deprecated here
    kCTFontHorizontalOrientation CT_ENUM_DEPRECATED(10_5, 10_11, 3_2, 9_0) = kCTFontOrientationHorizontal,
    ^
6 warnings generated.
[ 56%] Building CXX object src/CMakeFiles/fltk.dir/fl_gtk.cxx.o
[ 56%] Building CXX object src/CMakeFiles/fltk.dir/fl_labeltype.cxx.o
[ 57%] Building CXX object src/CMakeFiles/fltk.dir/fl_line_style.cxx.o
/Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK/src/fl_line_style.cxx:38:13: error: elaborated type refers to a typedef
static enum CGLineCap fl_quartz_line_cap_ = kCGLineCapButt;
            ^
/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:33:26: note: declared here
typedef CF_ENUM(int32_t, CGLineCap) {
                         ^
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:127:88: note: expanded from macro 'CF_ENUM'
#define CF_ENUM(...) __CF_ENUM_GET_MACRO(__VA_ARGS__, __CF_NAMED_ENUM, __CF_ANON_ENUM)(__VA_ARGS__)
                                                                                       ^
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:110:45: note: expanded from macro '__CF_NAMED_ENUM'
#define __CF_NAMED_ENUM(_type, _name) _type _name; enum
                                            ^
/Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK/src/fl_line_style.cxx:39:13: error: elaborated type refers to a typedef
static enum CGLineJoin fl_quartz_line_join_ = kCGLineJoinMiter;
            ^
/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:25:26: note: declared here
typedef CF_ENUM(int32_t, CGLineJoin) {
                         ^
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:127:88: note: expanded from macro 'CF_ENUM'
#define CF_ENUM(...) __CF_ENUM_GET_MACRO(__VA_ARGS__, __CF_NAMED_ENUM, __CF_ANON_ENUM)(__VA_ARGS__)
                                                                                       ^
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:110:45: note: expanded from macro '__CF_NAMED_ENUM'
#define __CF_NAMED_ENUM(_type, _name) _type _name; enum
                                            ^
/Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK/src/fl_line_style.cxx:113:15: error: elaborated type refers to a typedef
  static enum CGLineCap Cap[4] = { kCGLineCapButt, kCGLineCapButt, 
              ^
/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:33:26: note: declared here
typedef CF_ENUM(int32_t, CGLineCap) {
                         ^
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:127:88: note: expanded from macro 'CF_ENUM'
#define CF_ENUM(...) __CF_ENUM_GET_MACRO(__VA_ARGS__, __CF_NAMED_ENUM, __CF_ANON_ENUM)(__VA_ARGS__)
                                                                                       ^
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:110:45: note: expanded from macro '__CF_NAMED_ENUM'
#define __CF_NAMED_ENUM(_type, _name) _type _name; enum
                                            ^
/Volumes/Academic/ITKVTK/Applications/ITKApps-Superbuild/FLTK/src/fl_line_style.cxx:115:15: error: elaborated type refers to a typedef
  static enum CGLineJoin Join[4] = { kCGLineJoinMiter, kCGLineJoinMiter, 
              ^
/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:25:26: note: declared here
typedef CF_ENUM(int32_t, CGLineJoin) {
                         ^
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:127:88: note: expanded from macro 'CF_ENUM'
#define CF_ENUM(...) __CF_ENUM_GET_MACRO(__VA_ARGS__, __CF_NAMED_ENUM, __CF_ANON_ENUM)(__VA_ARGS__)
                                                                                       ^
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:110:45: note: expanded from macro '__CF_NAMED_ENUM'
#define __CF_NAMED_ENUM(_type, _name) _type _name; enum
                                            ^
4 errors generated.
make[5]: *** [src/CMakeFiles/fltk.dir/fl_line_style.cxx.o] Error 1
make[4]: *** [src/CMakeFiles/fltk.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [FLTK-prefix/src/FLTK-stamp/FLTK-build] Error 2
make[1]: *** [CMakeFiles/FLTK.dir/all] Error 2
make: *** [all] Error 2


More information about the Community mailing list