We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
package.install_locally
v2.9.6+HEAD.abd15c255
Windows 11 23H2
when enabling package.install_locally, the freeimage package fails to be built.
freeimage
the freeimage package to be built.
add_rules("mode.debug") set_policy("package.install_locally", true) add_requires("freeimage", {configs = {shared = true, rgb = true}}) -- add target target("sample") set_kind("binary") add_packages("freeimage") add_files("*.cpp")
freeimage.txt
The text was updated successfully, but these errors were encountered:
I can't reproduce it. Maybe a bug caused by windows MAX_PATH. Try this code in freeimage package.
if is_host("windows") then set_policy("platform.longpaths", true) end
Sorry, something went wrong.
Another way, we can unbundle the package dep (libwebp) to fix it. A lot of work, but conan is done. We can "steal" this patch. https://github.com/conan-io/conan-center-index/tree/f6c9cffc94ab4251d6c61cc20bc64115b381854c/recipes/freeimage/all/patches
I can't reproduce it. Maybe a bug caused by windows MAX_PATH. Try this code in freeimage package. if is_host("windows") then set_policy("platform.longpaths", true) end
Unfortunately, this didn't fix the issue
No branches or pull requests
Xmake Version
v2.9.6+HEAD.abd15c255
Operating System Version and Architecture
Windows 11 23H2
Describe Bug
when enabling
package.install_locally
, thefreeimage
package fails to be built.Expected Behavior
the
freeimage
package to be built.Project Configuration
Additional Information and Error Logs
freeimage.txt
The text was updated successfully, but these errors were encountered: