-
Notifications
You must be signed in to change notification settings - Fork 18
Building errors on MS windows 2019 #168
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
Comments
Thank you for reporting the issue. The error message is:
The strange thing is that it is building fine in GitHub Actions Windows Runners with MSVC 2022:
or try to build it some other way? |
As a workaround you can try to add:
to src/fuzzy_match.cmake file, it should help. |
Thanks for your response. We tried adding the target compile option as suggested but that id not change anything. Investigating further showed that the underlying error was due to the 'cstddef' and 'any' header files not begin found. Still trying to work out why the 'cstddef' and 'any' header files are not being found when installing docwire. For example: FAILED: src/CMakeFiles/docwire_core.dir/chat.cpp.obj Thanks again for all your hard work here. Its impressive. |
We can share prebuilt binaries if you have some non-comfortable deadlines. However it is possible that it will not fix the problem is something is wrong with environment. |
I think it is safe to assume there is a problem with my dev environment. I have multiple versions of MSVC installed on this machine, and its more than likely they are not playing nicely together. In the interim if you would be able to share compiled binaries that would be very much appreciated, so that I can continue working with DocWire. I got onto to DocWire when searching for an update to DocToText, and what you are doing here looks really interesting. |
Please try to use these x64-windows binaries: |
Thankyou very much for the compiled binaries. I have not used the Github actions runner before, so I am reading up on how that works and how to set it up. It the meantime, having the binaries allows me to keep progressing on testing and evaluating the capabilities of DocWire. Best regards |
install-x64-windows-dbg-out.log
Hi
We are having problems getting docwire to build on Windows 2019 using the Visual studio 2022 tools. It is occurring at the install stage of the build, so we a close to having it done I think. The build seems to be failing when running the tests, but I am not sure where to look to find the error.
Thanks very much.
Richard
The log file is attached
GitHub packages binary cache disabled.
DEBUG: OPENAI_API_KEY does not exist.
Computing installation plan...
The following packages will be built and installed:
docwire:x64-windows@latest -- F:\dev\DocWire\docwire\ports\docwire
Detecting compiler hash for triplet x64-windows...
Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe
Restored 0 package(s) from C:\Users\richard\AppData\Local\vcpkg\archives in 462 us. Use --debug to see more details.
Installing 1/1 docwire:x64-windows@latest...
Building docwire:x64-windows@latest...
F:\dev\DocWire\docwire\ports\docwire: info: installing overlay port from here
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Command failed: F:/dev/DocWire/docwire/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/bin/cmake.exe --build . --config Debug --target install -- -v -j33
Working Directory: F:/dev/DocWire/docwire/vcpkg/buildtrees/docwire/x64-windows-dbg
See logs for more information:
F:\dev\DocWire\docwire\vcpkg\buildtrees\docwire\install-x64-windows-dbg-out.log
Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
F:/dev/DocWire/docwire/ports/docwire/portfile.cmake:24 (vcpkg_cmake_install)
scripts/ports.cmake:196 (include)
The text was updated successfully, but these errors were encountered: