Skip to content
New issue

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

Fail to build dbcppp under Windows #148

Open
eeyrw opened this issue May 8, 2024 · 7 comments
Open

Fail to build dbcppp under Windows #148

eeyrw opened this issue May 8, 2024 · 7 comments

Comments

@eeyrw
Copy link

eeyrw commented May 8, 2024

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

@xR3b0rn
Copy link
Owner

xR3b0rn commented May 8, 2024

Looks like you did not checkout the submoduls. Try to reclone the project with:

git clone --recurse-submodules https://github.com/xR3b0rn/dbcppp.git

@eeyrw
Copy link
Author

eeyrw commented May 9, 2024

I checked the submodules at first and everything is well placed, then I deleted whole repo folder and reclone the project which got same result.

@DevTheKar
Copy link

I am having the same problem as well while building even after checking out the submodules

@OwlSurf
Copy link

OwlSurf commented Jul 29, 2024

Hello colleagues! Did someone fixed it? I faced with the same to but in linux.

@OwlSurf
Copy link

OwlSurf commented Jul 29, 2024

I fixed it with :
apt-get install libxml2-dev

@DevTheKar
Copy link

I couldn't find any solution on windows still so I gave up and am currently just writing my own parsing library

@Shady-AusT
Copy link

Using MSYS2 with cmake and Makefiles.
make -j fails with a various bunch of errors.
gcc vresion 14.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants