Skip to content

Fail to build dbcppp under Windows #148

@eeyrw

Description

@eeyrw

Here are outpus from CMake

Selecting Windows SDK version 10.0.20348.0 to target Windows 10.0.19045.
The C compiler identification is MSVC 19.29.30154.0
The CXX compiler identification is MSVC 19.29.30154.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/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/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/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
Detecting CXX compile features
Detecting CXX compile features - done
Could NOT find Boost (missing: Boost_INCLUDE_DIR) 
CMake Warning at CMakeLists.txt:20 (message):
  Boost not found.  Using libdbcppp boost (third-party/boost)


kcd enabled: ON
Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR) 
CMake Warning at CMakeLists.txt:35 (message):
  LibXml2 was not found.  Using libdbcppp LibXml2 (third-party/libxml2)


CMake Error at D:/CMake/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
Call Stack (most recent call first):
  D:/CMake/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  D:/CMake/share/cmake-3.21/Modules/FindLibXml2.cmake:108 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  third-party/libxmlmm/CMakeLists.txt:16 (fi
[CMakeOutput.log](https://github.com/xR3b0rn/dbcppp/files/15245116/CMakeOutput.log)
nd_package)


Configuring incomplete, errors occurred!
See also "C:/Users/xxxx/Desktop/dbcppp/build/CMakeFiles/CMakeOutput.log".

The log file:
CMakeOutput.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions