[MacPorts] #51116: ipe @7.2.2: build fails on Yosemite, undeclared identifier 'NSLayoutGuide'.

MacPorts noreply at macports.org
Wed Apr 13 09:48:17 PDT 2016


#51116: ipe @7.2.2: build fails on Yosemite, undeclared identifier 'NSLayoutGuide'.
-----------------------+-----------------------
  Reporter:  devans@…  |      Owner:  m7.thon@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.4
Resolution:            |   Keywords:
      Port:  ipe       |
-----------------------+-----------------------

Comment (by devans@…):

 Replying to [comment:8 m7.thon@…]:
 > Ok, please give it another try. It is frustrating that I cannot test
 this myself. Thanks for your efforts!
 No problem.  But I understand it is frustrating.  Thanks for your
 patience.

 Two more problems.

 On 10.10
 {{{
 :info:build Compiling appui_cocoa.cpp...
 :info:build /usr/bin/clang++ -arch x86_64 -mmacosx-version-min=10.8
 -Wdeprecated-declarations -Wall -Wno-sign-conversion -g -Os -stdlib=libc++
 -DIPEUI_COCOA -std=c++11 -I../include -I../ipecanvas -I../ipecairo
 -I../ipelua -I../ipeui -I/opt/local/include -x objective-c++ -fobjc-arc
 -I/opt/local/include/cairo -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include/pixman-1 -I/opt/local/include
 -I/opt/local/include/freetype2 -I/opt/local/include
 -I/opt/local/include/libpng16 -I/opt/local/include
 -I/opt/local/include/freetype2 -I/opt/local/include/libpng16
 -I/opt/local/include  -DIPEBUNDLE  -c -o ../../build/obj/ipe/appui_cocoa.o
 appui_cocoa.cpp
 :info:build appui_cocoa.cpp:588:45: error: property 'frame' not found on
 object of type 'id'
 :info:build   NSRect layerFrame = iLayerBox.contentView.frame;
 :info:build                                             ^
 :info:build 1 error generated.
 :info:build make[1]: *** [../../build/obj/ipe/appui_cocoa.o] Error 1
 }}}

 On 10.9, similar to the previous error but in ipeui_cocoa.cpp
 {{{
 :info:build Compiling ipeui_cocoa.cpp...
 :info:build /usr/bin/clang++ -arch x86_64 -mmacosx-version-min=10.8
 -Wdeprecated-declarations -Wall -Wno-sign-conversion -g -Os -stdlib=libc++
 -fPIC -x objective-c++ -fobjc-arc  -DIPEUI_COCOA -std=c++11 -x
 objective-c++ -fobjc-arc  -I/opt/local/include  -c -o
 ../../build/obj/ipeui/ipeui_cocoa.o ipeui_cocoa.cpp
 :info:build ipeui_cocoa.cpp:56:48: error: no visible @interface for
 'NSGraphicsContext' declares the selector 'CGContext'
 :info:build     return [[NSGraphicsContext currentContext] CGContext];
 :info:build             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
 :info:build 1 error generated.
 :info:build make[1]: *** [../../build/obj/ipeui/ipeui_cocoa.o] Error 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/51116#comment:9>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list