I'm trying to follow all of the documentation, but I get the following error:
Code: Select all
[345/3846] Building CXX object src\core\CMakeFiles\CsCore.dir\tools\qbytearray.cpp.obj
FAILED: src/core/CMakeFiles/CsCore.dir/tools/qbytearray.cpp.obj
C:\PROGRA~2\MICROS~3\2019\BUILDT~1\VC\Tools\MSVC\14.28.29333\bin\Hostx86\x86\cl.exe /nologo /TP @src\core\CMakeFiles\CsCore.dir\tools\qbytearray.cpp.obj.rsp /showIncludes /Fosrc\core\CMakeFiles\CsCore.dir\tools\qbytearray.cpp.obj /Fdsrc\core\CMakeFiles\CsCore.dir\ /FS -c ..\src\core\tools\qbytearray.cpp
..\src\core\tools\qbytearray.cpp(32): fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
[358/3846] Building CXX object src\core\CMakeFiles\CsCore.dir\tools\qharfbuzz_core.cpp.obj
ninja: build stopped: subcommand failed.
Code: Select all
D:\Projects\Vendor\copperspice>cmake -H. -Bbuilds -G Ninja -DCMAKE_CONFIGURATION_TYPES="Release" -DCMAKE_INSTALL_PREFIX=..\lib
-- The C compiler identification is MSVC 19.28.29337.0
-- The CXX compiler identification is MSVC 19.28.29337.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.28.29333/bin/Hostx86/x86/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.28.29333/bin/Hostx86/x86/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The ASM_MASM compiler identification is MSVC
-- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.28.29333/bin/Hostx86/x86/ml.exe
-- Looking for dlfcn.h
-- Looking for dlfcn.h - not found
-- Looking for dirent.h
-- Looking for dirent.h - not found
-- Looking for features.h
-- Looking for features.h - not found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for grp.h
-- Looking for grp.h - not found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for libpq-fe.h
-- Looking for libpq-fe.h - not found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for pg_config.h
-- Looking for pg_config.h - not found
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Looking for pthread_np.h
-- Looking for pthread_np.h - not found
-- Looking for pwd.h
-- Looking for pwd.h - not found
-- Looking for signal.h
-- Looking for signal.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stdlib.h
-- Looking for stdlib.h - found
-- Looking for strings.h
-- Looking for strings.h - not found
-- Looking for string.h
-- Looking for string.h - found
-- Looking for unistd.h
-- Looking for unistd.h - not found
-- Looking for cups/cups.h
-- Looking for cups/cups.h - not found
-- Looking for mysql/mysql.h
-- Looking for mysql/mysql.h - not found
-- Looking for net/if.h
-- Looking for net/if.h - not found
-- Looking for netinet/in.h
-- Looking for netinet/in.h - not found
-- Looking for sys/eventfd.h
-- Looking for sys/eventfd.h - not found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - not found
-- Looking for sys/ipc.h
-- Looking for sys/ipc.h - not found
-- Looking for sys/time.h
-- Looking for sys/time.h - not found
-- Looking for sys/shm.h
-- Looking for sys/shm.h - not found
-- Looking for sys/socket.h
-- Looking for sys/socket.h - not found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/wait.h
-- Looking for sys/wait.h - not found
-- Looking for sys/param.h
-- Looking for sys/param.h - not found
-- Looking for 8 include files dlfcn.h, ..., float.h
-- Looking for 8 include files dlfcn.h, ..., float.h - not found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of size_t
-- Check size of size_t - done
-- Checking for 64-bit off_t
-- Performing Test FILE64_OK
-- Performing Test FILE64_OK - Failed
-- Checking for 64-bit off_t - not present
-- Checking for fseeko/ftello
-- Performing Test FSEEKO_COMPILE_OK
-- Performing Test FSEEKO_COMPILE_OK - Failed
-- Checking for fseeko/ftello - not found
-- Large File support - not found
Configuring CMake for CopperSpice
Searching for required packages
-- Found OpenSSL: D:/Program Files/PostgreSQL/10/lib/libcrypto.lib (found suitable version "1.1.1g", minimum required is "1.0")
-- libjpeg was not found, bundled library will be used
CMake Warning at CMakeLists.txt:303 (message):
CMake Warning at CMakeLists.txt:304 (message):
------------------------------------------------------------
CMake Warning at CMakeLists.txt:305 (message):
WARNING WARNING WARNING
CMake Warning at CMakeLists.txt:306 (message):
The 'D:/Program Files/PostgreSQL/10/include' directory contains a file
called pthread.h
CMake Warning at CMakeLists.txt:307 (message):
CMake Warning at CMakeLists.txt:308 (message):
A conflict exists between pthread.h and the standard library
CMake Warning at CMakeLists.txt:309 (message):
Rename or remove pthread.h in order to build the CsSqlPsql plugin
CMake Warning at CMakeLists.txt:310 (message):
------------------------------------------------------------
CMake Warning at CMakeLists.txt:311 (message):
-- PostgreSQL client library was found, plugin will not be built
--
-- MySQL was not found, CopperSpice plugin will not be built
-- looking in folder D:/Projects/Vendor/copperspice
-- The following CopperSpice libraries will be built:
* Core Gui Multimedia Network OpenGL Script Sql Svg WebKit Xml XmlPatterns
-- The following packages have been found:
* OpenSSL (required version >= 1.0), Support for SSL and TLS, <https://openssl.org>
Required for HTTPS support
CopperSpice configured to run on: Windows 32 bit, Debug Mode
CopperSpice will be built in: D:/Projects/Vendor/copperspice/builds
CopperSpice will be installed in: D:/Projects/Vendor/lib
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_CONFIGURATION_TYPES
-- Build files have been written to: D:/Projects/Vendor/copperspice/builds
