Opened 9 years ago

Closed 9 years ago

#50704 closed defect (fixed)

ipe @7.2.2: build failure, error: property 'frame' not found on object of type 'id'

Reported by: dbevans (David B. Evans) Owned by: m7.thon@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: ipe

Description

Building on Yosemite 10.10.5 Xcode 7.2.1. Build log attached.

Compiling ipeselector_cocoa.cpp...
/usr/bin/clang++ -arch x86_64 -mmacosx-version-min=10.8 -Wdeprecated-declarations -Wall -Wno-sign-conversion -g -Os -stdlib=libc++ -fPIC -DIPEUI_COCOA -std=c++11 -I../include -I../ipecairo -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  -x objective-c++ -fobjc-arc   -c -o ../../build/obj/ipecanvas/ipeselector_cocoa.o ipeselector_cocoa.cpp
ipeselector_cocoa.cpp:244:59: error: property 'frame' not found on object of type 'id'
    [[NSScrollView alloc] initWithFrame:panel.contentView.frame];
                                                          ^
1 error generated.
make[1]: *** [../../build/obj/ipecanvas/ipeselector_cocoa.o] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_macports_trunk_dports_graphics_ipe/ipe/work/ipe-7.2.2/src/ipecanvas'
make: *** [ipecanvas] Error 2

Attachments (1)

main.log (81.7 KB) - added by dbevans (David B. Evans) 9 years ago.
Build log showing build failure

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by dbevans (David B. Evans)

Attachment: main.log added

Build log showing build failure

comment:1 Changed 9 years ago by m7.thon@…

I forwarded this error report upstream to the ipe developer. For now, you should be able to compile ipe with the Qt interface instead:

sudo port install ipe +qt4

The fix is simple, though: panel.contentView.frame just needs to be replaced by [panel.contentView frame].

comment:2 Changed 9 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

Suggested fix committed in r147650. This version of ipe now builds on 10.11 but fails on 10.10 (#51116) and 10.9 (#51116, #51110).

Note: See TracTickets for help on using tickets.