Description
I cannot seem to compile LibModSecurity for windows 32-bit i have tried to no avail, i did manage to compile x64 with no problems through conan, but my application requires 32-bit libs
When i try doing "vcbuild.bat Release x86" I run into these errors:
It mentions something about not being able to find VC Build tools v14.3 even though i have the latest installed and the x64 bit version works fine and compiles without problems
======== Installing packages ========
bzip2/1.0.8: Already installed! (1 of 21)
dirent/1.24: Already installed! (2 of 21)
expat/2.6.3: Already installed! (3 of 21)
libmaxminddb/1.9.1: Already installed! (4 of 21)
lmdb/0.9.31: Already installed! (5 of 21)
lmdb/0.9.31: Appending PATH environment variable: C:\Users\Elevations.conan2\p\b\lmdbfe02eaf431446\p\bin
lua/5.4.6: Already installed! (6 of 21)
lz4/1.9.4: Already installed! (7 of 21)
msys2/cci.latest: Already installed! (8 of 21)
sqlite3/3.45.0: Already installed! (9 of 21)
strawberryperl/5.32.1.1: Already installed! (10 of 21)
zlib/1.3.1: Already installed! (11 of 21)
zstd/1.5.5: Already installed! (12 of 21)
nasm/2.16.01: Already installed! (13 of 21)
-------- Installing package libiconv/1.17 (14 of 21) --------
libiconv/1.17: Building from source
libiconv/1.17: Package libiconv/1.17:8419bdd2579514d415d70db8caf4318ede661647
libiconv/1.17: Copying sources to build folder
libiconv/1.17: Building your package in C:\Users\Elevations.conan2\p\b\libic21f5ed995160d\b
libiconv/1.17: Calling generate()
libiconv/1.17: Generators folder: C:\Users\Elevations.conan2\p\b\libic21f5ed995160d\b\build-release\conan
libiconv/1.17: Generating aggregated env files
libiconv/1.17: Generated aggregated env files: ['conanbuild.sh', 'conanbuild.bat', 'conanrun.bat']
libiconv/1.17: Calling build()
libiconv/1.17: apply_conandata_patches(): No patches defined in conandata
libiconv/1.17: Applying x86 resource patch: C:\Users\Elevations.conan2\p\b\libic21f5ed995160d\b\src\windows\windres-options
libiconv/1.17: Calling:
"/c/users/elevations/.conan2/p/b/libic21f5ed995160d/b/src/configure" --disable-shared --enable-static --prefix=/ --bindir=${prefix}/bin --sbindir=${prefix}/bin --libdir=${prefix}/lib --includedir=${prefix}/include --oldincludedir=${prefix}/include --host=i686-unknown-windows --build=x86_64-unknown-windows --host=i686-w64-mingw32 --build=x86_64-w64-mingw32
libiconv/1.17: RUN: "/c/users/elevations/.conan2/p/b/libic21f5ed995160d/b/src/configure" --disable-shared --enable-static --prefix=/ --bindir=${prefix}/bin --sbindir=${prefix}/bin --libdir=${prefix}/lib --includedir=${prefix}/include --oldincludedir=${prefix}/include --host=i686-unknown-windows --build=x86_64-unknown-windows --host=i686-w64-mingw32 --build=x86_64-w64-mingw32
conanvcvars.bat: Activating environment Visual Studio 17 - amd64_x86 - winsdk_version=None - vcvars_ver=14.3
[ERROR:vcvars.bat] Toolset directory for version '14.3' was not found.
[ERROR:VsDevCmd.bat] *** VsDevCmd.bat encountered errors. Environment may be incomplete and/or incorrect. ***
[ERROR:VsDevCmd.bat] In an uninitialized command prompt, please 'set VSCMD_DEBUG=[value]' and then re-run
[ERROR:VsDevCmd.bat] vsdevcmd.bat [args] for additional details.
[ERROR:VsDevCmd.bat] Where [value] is:
[ERROR:VsDevCmd.bat] 1 : basic debug logging
[ERROR:VsDevCmd.bat] 2 : detailed debug logging
[ERROR:VsDevCmd.bat] 3 : trace level logging. Redirection of output to a file when using this level is recommended.
[ERROR:VsDevCmd.bat] Example: set VSCMD_DEBUG=3
[ERROR:VsDevCmd.bat] vsdevcmd.bat > vsdevcmd.trace.txt 2>&1
libiconv/1.17: ERROR:
Package '8419bdd2579514d415d70db8caf4318ede661647' build failed
libiconv/1.17: WARN: Build folder C:\Users\Elevations.conan2\p\b\libic21f5ed995160d\b\build-release
ERROR: libiconv/1.17: Error in build() method, line 146
autotools.configure()
ConanException: Error 1 while executing
The system cannot find the path specified.
CMake Warning:
Ignoring extra path from command line:
".."
CMake Error: The source directory "I:/WebServerHoster/ModSecurity-3-master/build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
Error: could not load cache