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
Expected: building GDAL as Win32/x86 should find the Win32 ECW SDK .lib-s, independent of the host platform architecture
Win32
x86
.lib
Actual: FindECW.cmake always finds the x64 ECW SDK .lib-s on 64-bit host
FindECW.cmake
x64
ECW_ROOT=<path_to_ERDAS_ECW_JPEG_2000_SDK>
The output includes (with added debugging info):
-- CMAKE_SYSTEM_PROCESSOR=AMD64 -- ECW_ARCH=x64 -- Found ECW: <path_to_ERDAS_ECW_JPEG_2000_SDK>/lib/vc141/x64/NCSEcw.lib (found version "5.5")
In both cases the x64 folder is found, not the Win32.
The CMake documentation specifically warns against using CMAKE_SYSTEM_PROCESSOR.
CMAKE_SYSTEM_PROCESSOR
Windows 11 64-bit, w/ VS 2022
3.6 and later, 3.5 if building w/ CMake
The text was updated successfully, but these errors were encountered:
FindECW.cmake: make it work for Windows 32-bit builds (fixes OSGeo#9106)
0aa5b44
4e8e6fa
Merge pull request #9109 from rouault/fix_9106
fc0ec2b
FindECW.cmake: make it work for Windows 32-bit builds (fixes #9106)
cce4820
Merge pull request #9110 from OSGeo/backport-9109-to-release/3.8
be2d0da
[Backport release/3.8] FindECW.cmake: make it work for Windows 32-bit builds (fixes #9106)
9646b01
rouault
No branches or pull requests
Expected behavior and actual behavior.
Expected: building GDAL as
Win32
/x86
should find theWin32
ECW SDK.lib
-s, independent of the host platform architectureActual:
FindECW.cmake
always finds thex64
ECW SDK.lib
-s on 64-bit hostSteps to reproduce the problem.
With native x86 tools
ECW_ROOT=<path_to_ERDAS_ECW_JPEG_2000_SDK>
The output includes (with added debugging info):
With x64-to-x86 cross-compiling tools
ECW_ROOT=<path_to_ERDAS_ECW_JPEG_2000_SDK>
The output includes (with added debugging info):
In both cases the
x64
folder is found, not theWin32
.The CMake documentation specifically warns against using
CMAKE_SYSTEM_PROCESSOR
.Operating system
Windows 11 64-bit, w/ VS 2022
GDAL version and provenance
3.6 and later, 3.5 if building w/ CMake
The text was updated successfully, but these errors were encountered: