Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 318 by
tapani.s...@gmail.com: WebPEncodeRGBA not found in precompiled ios framework
https://bugs.chromium.org/p/webp/issues/detail?id=318What steps will reproduce the problem?
1. #import encode.h in the bridging header
2. Call WebPEncodeRGBA in Swift
3. Build
What is the expected output? What do you see instead?
Building succeeds
What version of the product are you using? On what operating system?
0.5.1
Please provide any additional information below.
The function is "implemented" in picture.h with ENCODE_FUNC definition. As #defined symbols don't get exported to the compiled binaries you should create a real function or export the static function Encode and WebPPictureImportRGB and copy the define things to encode.h.
#define ENCODE_FUNC(NAME, IMPORTER)...
ENCODE_FUNC(WebPEncodeRGB, WebPPictureImportRGB)
--
You received this message because:
1. The project was configured to send all issue notifications to this address
You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings