Skip to content

[libmesh] Support Windows #11835

@emptyVoid

Description

@emptyVoid

Host Environment

  • OS: Windows 10 64-bit
  • Compiler: VC++ 19.26.28806

To Reproduce
Steps to reproduce the behavior:
./vcpkg install libmesh

Failure logs

CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
    Command failed: D:/Projects/GitHub/vcpkg/downloads/tools/msys2/msys64/usr/bin/bash.exe --noprofile --norc --debug -c " CC='D:/Projects/GitHub/vcpkg/downloads/tools/msys2/msys64/usr/share/automake-1.16/compile cl.exe -nologo' CXX='D:/Projects/GitHub/vcpkg/downloads/tools/msys2/msys64/usr/share/automake-1.16/compile cl.exe -nologo' LD='link.exe -verbose' AR='D:/Projects/GitHub/vcpkg/downloads/tools/msys2/msys64/usr/share/automake-1.16/ar-lib lib.exe -verbose' RANLIB=':' CCAS=':' NM='dumpbin.exe -symbols -headers -all' DLLTOOL='link.exe -verbose -dll' ./../src/db1935d428-7b6bc82081/configure --build=x86_64-pc-mingw32 --target=x86_64-pc-mingw32 --host=x86_64-pc-mingw32 --disable-qhull --disable-silent-rules --verbose --enable-shared --disable-static --prefix=/D/Projects/GitHub/vcpkg/installed/x64-windows/debug --bindir='${prefix}'/../tools/libmesh/debug/bin --sbindir='${prefix}'/../tools/libmesh/debug/sbin --includedir='${prefix}'/../include --datarootdir='${prefix}'/share/libmesh"
    Working Directory: D:/Projects/GitHub/vcpkg/buildtrees/libmesh/x64-windows-dbg
    Error code: 77
    See logs for more information:
      D:\Projects\GitHub\vcpkg\buildtrees\libmesh\config-x64-windows-dbg-out.log
      D:\Projects\GitHub\vcpkg\buildtrees\libmesh\config-x64-windows-dbg-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_make.cmake:461 (vcpkg_execute_required_process)
  ports/libmesh/portfile.cmake:18 (vcpkg_configure_make)
  scripts/ports.cmake:76 (include)

config-x64-windows-dbg-out.log
config-x64-windows-dbg-err.log

Additional context
Looks like a defect in vcpkg_configure_make, might be related to #11765.

@Neumann-A, could you, please, take a look at this one too?

Metadata

Metadata

Labels

category:port-featureThe issue is with a library, which is requesting new capabilities that didn’t exist

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions