-
Notifications
You must be signed in to change notification settings - Fork 6
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
Expat Build error with VS2019 #9
Comments
I would say that this is not our issue but rather Conan/Expat issue related to Visual Studio 2019 as with Visual Studio 2017 there is no problems. Will you be able to resolve this by yourself? If it is issue on Conan or Expat feel free to link the related issue. Or open pull request if we need to change something to make it work with VS2019. |
Thank you for the quick response and I'll see if there are any fixes available otherwise I will install VS2015. Thank you for your help. |
@Lihis Not sure which package you are using but found out that the main Expat is now deprecated: https://github.com/bincrafters/conan-expat Updated version is: https://github.com/libexpat/libexpat I hope this helps to resolve the issue. |
Answering the question about VS2015 in the different issue; like I said above, building should work in Visual Studio 2017. |
@Lihis installed VS2017 and the CMake extentsion but now getting a different error: `Expat/2.2.6@pix4d/stable: WARN: Can't find a 'Expat/2.2.6@pix4d/stable' package for the specified settings, options and dependencies:
Managed to bypass it with |
If help, I compiled the gui and plugin like 10 minutes ago without problems, following the instructions on readme for windows. Using Visual Studio 2017 x64 + Visual Studio Tools. As said in the instructions, I used conan to install dependencies. |
That's good. Unfortunately I can't help much with Windows stuff so I'll edit the title to indicate that this is VS2019 specific issue and leave this open for now. |
I've followed the instructions and used VS2017 but still have issues. |
Comparing the output from AppVeyor build and what you had pasted above and I see the Also the error message in the first message does not tell much, except execution failed, but who knows why it failed, there wasn't any details? |
Expat/2.2.6@pix4d/stable: Expat/2.2.6@pix4d/stable: ERROR: Package 'eb4102e772b530edfbc4b0e1be0c1f346423e000' build failed Expat/2.2.6@pix4d/stable: WARN: Build folder C:\Users\{USERNAME}\.conan\data\Expat\2.2.6\pix4d\stable\build\eb4102e772b530edfbc4b0e1be0c1f346423e000 ERROR: Expat/2.2.6@pix4d/stable: Error in build() method, line 45 cmake.configure(source_dir="../libexpat/expat", build_dir="build", defs=cmake_args) ConanException: Error 1 while executing cd build && cmake -G "Visual Studio 16 2019" -A "x64" -DCONAN_LINK_RUNTIME="/MDd" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="Visual Studio" -DCONAN_COMPILER_VERSION="16" -DCONAN_CXX_FLAGS="/MP16" -DCONAN_C_FLAGS="/MP16" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="C:\Users\{USERNAME}\.conan\data\Expat\2.2.6\pix4d\stable\package\eb4102e772b530edfbc4b0e1be0c1f346423e000" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev -DBUILD_doc="OFF" -DBUILD_examples="OFF" -DBUILD_shared="False" -DBUILD_tests="OFF" -DBUILD_tools="OFF" -DCMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_DEBUG_POSTFIX="" -DMSVC_USE_STATIC_CRT="False" ../libexpat/expat
The text was updated successfully, but these errors were encountered: