Opened 10 years ago

Closed 10 years ago

#12889 closed defect (fixed)

Rev 66727 static build on OS X fails on wxPNG

Reported by: jerryjacobs Owned by:
Priority: blocker Milestone: future
Component: wxOSX Version: stable-latest
Keywords: wxPNG Cc:
Blocked By: Blocking:
Patch: no

Description

Dear all,

A older revision number 66437 did not failed with same configure flags.

I tried to compile a static OS X build from svn with revision 66727 which failed.

I use Mac OS X Snow Leopard 10.6.6

The configure flag:

./configure --enable-unicode=yes --enable-shared=no --enable-monolithic --with-opengl --with-expat=builtin --enable-universal_binary --enable-aui --enable-debug --with-osx_cocoa --with-macosx-sdk=/Developer/SDKs/MacOSX10.5.sdk/ --prefix=/opt/wxwidgets/66727

Sorry for the long error:

(if test -f utils/wxrc/Makefile ; then cd utils/wxrc && make all ; fi)
g++ -isysroot /Developer/SDKs/MacOSX10.5.sdk/ -mmacosx-version-min=10.5 -o wxrc wxrc_wxrc.o -L/Users/jerry/Projects/wxWidgets/lib -arch ppc -arch i386 -arch x86_64 -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime -lwx_osx_cocoau-2.9 -lwxregexu-2.9 -lwxexpat-2.9 -arch ppc -arch i386 -arch x86_64 -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime -lz -lpthread -liconv -framework WebKit -lz -lpthread -liconv
Undefined symbols for architecture ppc:

"_png_set_read_fn", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_destroy_write_struct", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_compression_mem_level", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_packing", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_compression_buffer_size", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_get_header_version", referenced from:

wxPNGHandler::GetLibraryVersionInfo() in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_filler", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_filter", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_get_valid", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_create_info_struct", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_destroy_read_struct", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_get_IHDR", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_get_PLTE", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_IHDR", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_strip_16", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_expand", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_PLTE", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_compression_strategy", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_create_read_struct", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_read_image", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_pHYs", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_sBIT", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_write_info", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_tRNS", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_write_rows", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_create_write_struct", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_shift", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_compression_level", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_write_fn", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_read_info", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_write_end", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_get_io_ptr", referenced from:

_wx_PNG_stream_writer in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
_wx_PNG_stream_reader in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
_wx_png_warning in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
_wx_png_error in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_read_end", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

ld: symbol(s) not found for architecture ppc
collect2: ld returned 1 exit status
Undefined symbols for architecture i386:

"_png_set_read_fn", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_destroy_write_struct", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_compression_mem_level", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_packing", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_compression_buffer_size", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_get_header_version", referenced from:

wxPNGHandler::GetLibraryVersionInfo() in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_filler", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_filter", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_get_valid", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_create_info_struct", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_destroy_read_struct", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_get_IHDR", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_get_PLTE", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_IHDR", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_strip_16", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_expand", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_PLTE", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_compression_strategy", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_create_read_struct", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_read_image", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_pHYs", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_sBIT", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_write_info", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_tRNS", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_write_rows", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_create_write_struct", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_shift", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_compression_level", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_write_fn", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_read_info", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_write_end", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_get_io_ptr", referenced from:

_wx_PNG_stream_writer in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
_wx_PNG_stream_reader in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
_wx_png_warning in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
_wx_png_error in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_read_end", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
ld: warning: in /Developer/SDKs/MacOSX10.5.sdk/System/Library/FrameworksQuickTime.framework/QuickTime, missing required architecture x86_64 in file
Undefined symbols for architecture x86_64:

"_png_set_read_fn", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_destroy_write_struct", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_compression_mem_level", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_packing", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_compression_buffer_size", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_get_header_version", referenced from:

wxPNGHandler::GetLibraryVersionInfo() in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_filler", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_filter", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_get_valid", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_create_info_struct", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_destroy_read_struct", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_get_IHDR", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_get_PLTE", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_IHDR", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_strip_16", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_expand", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_PLTE", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_compression_strategy", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_create_read_struct", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_read_image", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_pHYs", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_sBIT", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_write_info", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_tRNS", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_write_rows", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_create_write_struct", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_shift", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_compression_level", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_set_write_fn", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_read_info", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_write_end", referenced from:

wxPNGHandler::SaveFile(wxImage*, wxOutputStream&, bool) in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_get_io_ptr", referenced from:

_wx_PNG_stream_writer in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
_wx_PNG_stream_reader in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
_wx_png_warning in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)
_wx_png_error in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

"_png_read_end", referenced from:

wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)in libwx_osx_cocoau-2.9.a(monolib_imagpng.o)

ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
lipo: can't open input file: /var/folders/a4/a4zKHYZyHeqdA7PUcPl0A++++TI/-Tmp-cczzK57X.out (No such file or directory)
make[1]: * [wxrc] Error 1
make:
* [wxrc] Error 2

Change History (2)

comment:1 Changed 10 years ago by disc

  • Status changed from new to confirmed

A solution for now is to configure with --disable-arttango if you don't have a need for the Tango icon set that wxArtProvider can give. If you do need the icons removing --enable-monolithic will also work. See http://groups.google.com/group/wx-dev/browse_frm/thread/242ebef76805bd5d/tvc=1 for further reference.

comment:2 Changed 10 years ago by VZ

  • Resolution set to fixed
  • Status changed from confirmed to closed

(In [66848]) Link console programs with PNG library in monolithic build.

PNG images are used by the main wxWidgets library itself now and so linking
with the monolithic wx library introduces dependencies on PNG as well, even
for the console applications. Link them with linpng to avoid linker errors.

Closes #12889.

Note: See TracTickets for help on using tickets.