I compile the QHTTPEngine library, on Windows 7 64-bit for qt 5.7. I have installed Visual Studio 2015 Community. In Qt Creator, the following compilers are available to me: Desktop Qt 5.7.0 MSVC2015 64 bit(amd 64) and 64bit 2(x86_amd64) , as well as MinQW 32-bit .
I do everything as described in the Readme. Installed CMake , added to Path, added to the Path also the folder C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin Launched vcvarsall.bat with the x86_amd64 parameter to set up environment variables. Then I run cmake -G "NMake Makefiles" .. on the command line cmake -G "NMake Makefiles" .. - everything is generated. Then, when I run nmake , I nmake bunch of errors from cl.exe with the codes "0x2" and "0xffffff" . Already the second day I can not install.
In this case, everything is compiled and compiled if the x86 parameter is passed to the bat file, but then Qt Creator gives the error QHttpEngine.lib(QHttpEngine.dll):-1: ΠΎΡΠΈΠ±ΠΊΠ°: LNK1112: ΡΠΈΠΏ ΠΊΠΎΠΌΠΏΡΡΡΠ΅ΡΠ° ΠΌΠΎΠ΄ΡΠ»Ρ "X86" ΠΏΡΠΎΡΠΈΠ²ΠΎΡΠ΅ΡΠΈΡ ΡΠΈΠΏΡ ΡΠ΅Π»Π΅Π²ΠΎΠ³ΠΎ ΠΊΠΎΠΌΠΏΡΡΡΠ΅ΡΠ° "x64" .
Please tell me how to fix the problem. I want to run at least the simplest example.
nmake- Nik