Comments (10)
C:/root_v6.26.10/cmake/ROOTConfig.cmake(120): if(MSVC )
C:/root_v6.26.10/cmake/ROOTConfig.cmake(121): set(CMAKE_FIND_LIBRARY_PREFIXES lib )
C:/root_v6.26.10/cmake/ROOTConfig.cmake(122): set(CMAKE_FIND_LIBRARY_SUFFIXES .lib .dll )
from vcpkg.
A quick update: I confirmed that the following variables are configured to empty strings (as they should be on Windows) at the time when find_package(zlib)
is called:
CMAKE_IMPORT_LIBRARY_PREFIX
CMAKE_SHARED_LIBRARY_PREFIX
CMAKE_STATIC_LIBRARY_PREFIX
from vcpkg.
IT IS: find_package(ZLIB REQUIRED)
This seems to me like the 'lib' prefix is incorrectly applied inside vcpkg cmake module for zlib.
give a --trace-expand log if that doesn't fix it
from vcpkg.
IT IS: find_package(ZLIB REQUIRED)
My bad, I typed too fast. Yes, I am aware of that. Just for context: my project does not depend on zlib directly, instead it includes another package (QuaZip) that depends on zlib. I can confirm that QuaZip uses the correct capitalization.
I will provide a --trace-expand
log in a moment.
from vcpkg.
@Neumann-A Here you go: 41835.log (11 MB)
from vcpkg.
Lol, you beat me to it by a second!
from vcpkg.
It seems that simply having a dependency on the ROOT framework seems to mess up CMAKE_FIND_LIBRARY_PREFIXES
, and zlib is an innocent casualty.
from vcpkg.
Since I am using a little bit outdated version of ROOT (6.26), I will confirm that this behavior is present in the latest version (6.32) as well, and file a bug report upstream if need be. I suppose that this is not a vcpkg problem after all.
Thanks for a quick exchange, I am closing this as resolved.
from vcpkg.
Feel free to use/update https://github.com/Neumann-A/my-vcpkg-ports/tree/master/root
However debug builds of root are buggy / not working on windows.
from vcpkg.
@Neumann-A Thanks, I will check it out!
In the meantime, I have confirmed that this behavior is indeed present in ROOT 6.32. I will file a bug upstream in a moment.
from vcpkg.
Related Issues (20)
- [New Port Request] libzimg HOT 1
- [openvino] build failure HOT 5
- [New Port Request] Tessil ordered map HOT 3
- [icu] Build failure on Windows GitHub runners HOT 15
- [vulkan*] update to 1.3.283
- [libunwind] Build error on arm64-linux HOT 2
- [utf8proc] CMake package version support
- [upb] Build failure on x64-windows HOT 7
- [<port name>] build failure HOT 4
- [json-c] vcpkg install json-c build failure HOT 14
- [abseil] Build error on x64-windows (insufficient resource) ? HOT 6
- [boost] error: File does not have the expected hash: HOT 4
- [skia] Unresolved external symbol SkSVGDOM::Builder::make HOT 4
- [libmysql] build failure in libedit because warnings as errors HOT 6
- [libiconv] build error HOT 3
- [bzip2] Build failure on arm64-osx HOT 1
- [libiconv] build failure HOT 3
- [ffmpeg] Build error on x64-osx HOT 1
- [libcap] Build error on x64-linux HOT 2
- [New Port Request] rapidhash
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vcpkg.