Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » Mac OS » Undefined symbols for architecture arm64
Undefined symbols for architecture arm64 [message #60183] Sun, 24 September 2023 10:09
phi1 is currently offline  phi1
Messages: 1
Registered: September 2023
Junior Member
Hello,
I'm having the following issues while compiling on my Mac M2:

"Linking...
ld: warning: ignoring file /opt/local/lib/libz.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
Undefined symbols for architecture arm64:
"_crc32", referenced from:
_png_reset_crc in pnglib.c.o
_png_calculate_crc in pnglib.c.o
_png_read_chunk_header in pnglib.c.o
_png_handle_IHDR in pnglib.c.o
_png_handle_unknown in pnglib.c.o
_png_handle_PLTE in pnglib.c.o
_png_handle_hIST in pnglib.c.o
...
"_deflate", referenced from:
_png_write_finish_row in pnglib.c.o
_png_write_flush in pnglib.c.o
_png_text_compress in pnglib.c.o
_png_write_filtered_row in pnglib.c.o
Upp::Zlib::Pump(bool) in z.o
"_deflateEnd", referenced from:
_png_write_destroy in pnglib.c.o
Upp::Zlib::Begin() in z.o
Upp::Zlib::Free() in z.o
Upp::Zlib::Pump(bool) in z.o
Upp::Zlib::End() in z.o
Upp::Zlib::Clear() in z.o
Upp::Zlib::~Zlib() in z.o
...
"_deflateInit2_", referenced from:
_png_write_IHDR in pnglib.c.o
Upp::Zlib::Compress() in z.o
Upp::zPress(Upp::Stream&, Upp::Stream&, long long, Upp::Function<bool (long long, long long)>, bool, bool, unsigned int*, bool) in z.o
"_deflateReset", referenced from:
_png_write_finish_row in pnglib.c.o
_png_write_compressed_data_out in pnglib.c.o
"_inflate", referenced from:
_png_read_row in pnglib.c.o
_png_read_finish_row in pnglib.c.o
Upp::Zlib::Pump(bool) in z.o
"_inflateEnd", referenced from:
_png_read_destroy in pnglib.c.o
Upp::Zlib::Begin() in z.o
Upp::Zlib::Free() in z.o
Upp::Zlib::Pump(bool) in z.o
Upp::Zlib::End() in z.o
Upp::Zlib::Clear() in z.o
Upp::Zlib::~Zlib() in z.o
...
"_inflateInit2_", referenced from:
Upp::Zlib::Decompress() in z.o
Upp::zPress(Upp::Stream&, Upp::Stream&, long long, Upp::Function<bool (long long, long long)>, bool, bool, unsigned int*, bool) in z.o
"_inflateInit_", referenced from:
_png_create_read_struct_2 in pnglib.c.o
_png_read_init_3 in pnglib.c.o
"_inflateReset", referenced from:
_png_reset_zstream in pnglib.c.o
_png_read_finish_row in pnglib.c.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

There were errors. (0:12.82)
Something went wrong.
Please notify developers."
Previous Topic: MacOS update
Next Topic: Clipboard Usage
Goto Forum:
  


Current Time: Tue Jun 18 15:32:19 CEST 2024

Total time taken to generate the page: 0.02188 seconds