New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linker does not find libwebp functions #1
Comments
You are building the DLL version of LuxCore. This happen because of a bug in a condition checking. If you retry with the latest version and sources, it should work. |
Thanks for your help. By the way, it says that it's doing an OpenCL build even though I don't have "opencl" in the LuxCore source directory name - maybe that condition check is wrong, too? I did a
Edit: seems someone else had this problem before: |
I fixed the OpenCL problem. The Webp problem happens because you have installed the "libwebp-dev" (it is not installed by default, as far as I know). OpenImageIO will include Webp support if the dev headers/library is available. However OpenImageIO seems to not statically links to the Webp library even if explicitly asked for. It looks like an OIIO makefile bug. As solution/workaround, just remove the "libwebp-dev" package and retry (it is a good idea to start with a fresh git clone anyway). I can patch the OIIO CMakeFile to include the support only for a specific list of file format in order to be sure to not have a problem like your. |
Now it should work even if "libwebp-dev" package is installed. |
Cool, thanks. |
Build fails with this error message:
I guess there's a
-lwebp
or some similar linker flag missing - but where do I have to insert it? I guess it's in one of the many CMakeLists.txt files?I have libwebp-dev and libwebp5 installed (I'm on Ubuntu 14.04).
The text was updated successfully, but these errors were encountered: