profile
viewpoint

Ask questions[eigen3] Build failed due to long path

Host Environment

  • OS: Windows..
  • Compiler: msvc++ 14.2

To Reproduce Steps to reproduce the behavior: .\vcpkg install eigen3:x64-windows

Failure logs -Error: Building package eigen3:x64-windows failed with: BUILD_FAILED

Additional context Add any other context about the problem here, such as what you have already tried to resolve the issue.

microsoft/vcpkg

Answer questions semyalodennis

Hello team,

Thanks for the reply. I found out later that my installing path was too long coz other libraries were failing to install in the same way like eigen 3. When I shortened the path, it installed successfully.

Thank you.

On Sun, Jun 28, 2020, 17:16 NancyLi1013 notifications@github.com wrote:

Hi @semyalodennis https://github.com/semyalodennis Thanks for posting this issue. Could you please post the error info? I cannot reproduce this on my machine with Visual Studio 2019.

PS F:\tools\vcpkg> .\vcpkg.exe install eigen3:x64-windows Computing installation plan... The following packages will be built and installed: eigen3[core]:x64-windows Starting package 1/1: eigen3:x64-windows Building package eigen3[core]:x64-windows... -- Downloading https://gitlab.com/libeigen/eigen/-/archive/3.3.7/eigen-3.3.7.tar.gz... -- Extracting source F:/tools/vcpkg/downloads/libeigen-eigen-3.3.7.tar.gz -- Using source at F:/tools/vcpkg/buildtrees/eigen3/src/3.3.7-c7b55a8243 -- Configuring x64-windows -- Building x64-windows-dbg -- Building x64-windows-rel -- Fixing pkgconfig -- Fixing pkgconfig - release -- Checking file: F:/tools/vcpkg/packages/eigen3_x64-windows/lib/pkgconfig/eigen3.pc -- Fixing pkgconfig - debug -- Checking file: F:/tools/vcpkg/packages/eigen3_x64-windows/debug/lib/pkgconfig/eigen3.pc -- Fixing pkgconfig --- finished -- Performing post-build validation -- Performing post-build validation done Building package eigen3[core]:x64-windows... done Installing package eigen3[core]:x64-windows... Installing package eigen3[core]:x64-windows... done Elapsed time for package eigen3:x64-windows: 1.359 min

Total elapsed time: 1.361 min

The package eigen3:x64-windows provides CMake targets:

find_package(Eigen3 CONFIG REQUIRED)
target_link_libraries(main PRIVATE Eigen3::Eigen)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/microsoft/vcpkg/issues/12099#issuecomment-650715883, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6LZG3L26CCGB7BLZLITBTRY334TANCNFSM4OH4L2SQ .

useful!

Related questions

vcpkg install vtk:x64-windows failed with: BUILD_FAILED hot 2
shiva[core]:x64-windows build failure - python config failure: Python is 32-bit, chosen compiler is 64-bit hot 2
ffmpeg cannot be installed with spaces vcpkg hot 2
WinHttpSendRequest() failed: 12002 hot 2
[paho-mqttpp3] Failed to find paho-mqtt hot 2
building graphicsmagick failed while installing io2d on macOS hot 1
OpenGL portfile assumes Windows SDK is installed in Program Files (x86) directory hot 1
MacOS X 10.14.6 + XCode 11beta5 build failure on bootstrap hot 1
mhook build failure hot 1
Warning: abi keys are missing values hot 1
Could not detect a Windows SDK / TargetPlatformVersion hot 1
[icu] build failure due to msys - vcpkg hot 1
Error building QT5 on Windows hot 1
Building package boost-build:x64-windows-static failed with: BUILD_FAILED hot 1
Add vcpkg.exe to system path when running .\bootstrap-vcpkg.bat hot 1
Github User Rank List