Opened 11 years ago

Closed 11 years ago

#37661 closed defect (fixed)

cogl 1.12.2 +quartz -x11: build fails (Undefined symbols for architecture x86_64)

Reported by: lpsinger (Leo Singer) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: rhuelga (Roberto Huelga)
Port: cogl

Description

I am unable to build cogl 1.12.2 with the variants +quartz -x11. The relevant part of the log file (attached) is:

  CCLD   libcogl.la
/opt/local/bin/nm: no name list
Undefined symbols for architecture x86_64:
  "_CFRelease", referenced from:
      __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o
  "_CFURLCreateFromFileSystemRepresentation", referenced from:
      __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o
  "_CGBitmapContextCreate", referenced from:
      __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o
  "_CGColorSpaceCreateWithName", referenced from:
      __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o
  "_CGColorSpaceRelease", referenced from:
      __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o
  "_CGContextDrawImage", referenced from:
      __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o
  "_CGContextRelease", referenced from:
      __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o
  "_CGContextSetBlendMode", referenced from:
      __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o
  "_CGImageGetHeight", referenced from:
      __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o
  "_CGImageGetWidth", referenced from:
      __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o
  "_CGImageRelease", referenced from:
      __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o
  "_CGImageSourceCreateImageAtIndex", referenced from:
      __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o
  "_CGImageSourceCreateWithURL", referenced from:
      __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o
  "_CGImageSourceGetType", referenced from:
      __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o
  "_kCGColorSpaceGenericRGB", referenced from:
      __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [libcogl.la] Error 1
make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_cogl/cogl/work/cogl-1.12.2/cogl'

Attachments (1)

main.log (97.8 KB) - added by lpsinger (Leo Singer) 11 years ago.

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by lpsinger (Leo Singer)

Attachment: main.log added

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: devans@… removed
Owner: changed from macports-tickets@… to devans@…

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

Status: newassigned

comment:3 Changed 11 years ago by rhuelga (Roberto Huelga)

Cc: rhuelga@… added

Cc Me!

comment:4 Changed 11 years ago by rhuelga (Roberto Huelga)

I installed cogl +quartz -x11 by adding "-framework ApplicationServices -framework QuartzCore" to libcogl_la_LDFLAGS in the cogl/Makefile.am file

comment:5 Changed 11 years ago by g5pw (Aljaž Srebrnič)

Resolution: fixed
Status: assignedclosed

Should be fixed in r106655. Thanks rhuelga, your suggestion worked (at least for me!). Feel free to reopen the ticket if it's not resolved for you.

Note: See TracTickets for help on using tickets.