Description of the bug
Build break on MacOS Ventura 13.2
Project file & How to reproduce
Undefined symbols for architecture x86_64:
"_prusaslicer_png_create_info_struct", referenced from:
Slic3r::png::decode_png(Slic3r::png::IStream&, Slic3r::png::Image&) in liblibslic3r.a(PNGReadWrite.cpp.o)
Slic3r::png::write_rgb_or_gray_to_file(char const*, unsigned long, unsigned long, int, unsigned char const*) in liblibslic3r.a(PNGReadWrite.cpp.o)
"_prusaslicer_png_create_read_struct", referenced from:
Slic3r::png::decode_png(Slic3r::png::IStream&, Slic3r::png::Image&) in liblibslic3r.a(PNGReadWrite.cpp.o)
"_prusaslicer_png_create_write_struct", referenced from:
Slic3r::png::write_rgb_or_gray_to_file(char const*, unsigned long, unsigned long, int, unsigned char const*) in liblibslic3r.a(PNGReadWrite.cpp.o)
"_prusaslicer_png_destroy_info_struct", referenced from:
Slic3r::png::decode_png(Slic3r::png::IStream&, Slic3r::png::Image&) in liblibslic3r.a(PNGReadWrite.cpp.o)
"_prusaslicer_png_destroy_read_struct", referenced from:
Slic3r::png::decode_png(Slic3r::png::IStream&, Slic3r::png::Image&) in liblibslic3r.a(PNGReadWrite.cpp.o)
"_prusaslicer_png_destroy_write_struct", referenced from:
Slic3r::png::write_rgb_or_gray_to_file(char const*, unsigned long, unsigned long, int, unsigned char const*) in liblibslic3r.a(PNGReadWrite.cpp.o)
"_prusaslicer_png_free", referenced from:
Slic3r::png::write_rgb_or_gray_to_file(char const*, unsigned long, unsigned long, int, unsigned char const*) in liblibslic3r.a(PNGReadWrite.cpp.o)
"_prusaslicer_png_get_bit_depth", referenced from:
Slic3r::png::decode_png(Slic3r::png::IStream&, Slic3r::png::Image&) in liblibslic3r.a(PNGReadWrite.cpp.o)
"_prusaslicer_png_get_color_type", referenced from:
Slic3r::png::decode_png(Slic3r::png::IStream&, Slic3r::png::Image&) in liblibslic3r.a(PNGReadWrite.cpp.o)
"_prusaslicer_png_get_image_height", referenced from:
Slic3r::png::decode_png(Slic3r::png::IStream&, Slic3r::png::Image&) in liblibslic3r.a(PNGReadWrite.cpp.o)
"_prusaslicer_png_get_image_width", referenced from:
Slic3r::png::decode_png(Slic3r::png::IStream&, Slic3r::png::Image&) in liblibslic3r.a(PNGReadWrite.cpp.o)
"_prusaslicer_png_get_io_ptr", referenced from:
Slic3r::png::png_read_callback(png_struct_def*, unsigned char*, unsigned long) in liblibslic3r.a(PNGReadWrite.cpp.o)
"_prusaslicer_png_init_io", referenced from:
Slic3r::png::write_rgb_or_gray_to_file(char const*, unsigned long, unsigned long, int, unsigned char const*) in liblibslic3r.a(PNGReadWrite.cpp.o)
"_prusaslicer_png_malloc", referenced from:
Slic3r::png::write_rgb_or_gray_to_file(char const*, unsigned long, unsigned long, int, unsigned char const*) in liblibslic3r.a(PNGReadWrite.cpp.o)
"_prusaslicer_png_read_info", referenced from:
Slic3r::png::decode_png(Slic3r::png::IStream&, Slic3r::png::Image&) in liblibslic3r.a(PNGReadWrite.cpp.o)
"_prusaslicer_png_read_row", referenced from:
Slic3r::png::decode_png(Slic3r::png::IStream&, Slic3r::png::Image&) in liblibslic3r.a(PNGReadWrite.cpp.o)
"_prusaslicer_png_set_IHDR", referenced from:
Slic3r::png::write_rgb_or_gray_to_file(char const*, unsigned long, unsigned long, int, unsigned char const*) in liblibslic3r.a(PNGReadWrite.cpp.o)
"_prusaslicer_png_set_longjmp_fn", referenced from:
Slic3r::png::write_rgb_or_gray_to_file(char const*, unsigned long, unsigned long, int, unsigned char const*) in liblibslic3r.a(PNGReadWrite.cpp.o)
"_prusaslicer_png_set_read_fn", referenced from:
Slic3r::png::decode_png(Slic3r::png::IStream&, Slic3r::png::Image&) in liblibslic3r.a(PNGReadWrite.cpp.o)
"_prusaslicer_png_set_rows", referenced from:
Slic3r::png::write_rgb_or_gray_to_file(char const*, unsigned long, unsigned long, int, unsigned char const*) in liblibslic3r.a(PNGReadWrite.cpp.o)
"_prusaslicer_png_set_sig_bytes", referenced from:
Slic3r::png::decode_png(Slic3r::png::IStream&, Slic3r::png::Image&) in liblibslic3r.a(PNGReadWrite.cpp.o)
"_prusaslicer_png_sig_cmp", referenced from:
Slic3r::png::is_png(Slic3r::png::ReadBuf const&) in liblibslic3r.a(PNGReadWrite.cpp.o)
Slic3r::png::decode_png(Slic3r::png::IStream&, Slic3r::png::Image&) in liblibslic3r.a(PNGReadWrite.cpp.o)
"_prusaslicer_png_write_png", referenced from:
Slic3r::png::write_rgb_or_gray_to_file(char const*, unsigned long, unsigned long, int, unsigned char const*) in liblibslic3r.a(PNGReadWrite.cpp.o)
ld: symbol(s) not found for architecture x86_64
Checklist of files included above
- [ ] Project file
- [ ] Screenshot
Version of PrusaSlicer
master
Operating system
MacOS Ventura 13.2
Printer model
none
FYI ... MacOS 13.2 on ARM (M1) works fine to compile the current master