Skip to content

vcpkg and magnum[*] #373

@alanjfs

Description

@alanjfs

Hi all,

Just wanted to pop this in here for anyone struggling like I did, or for anyone interested in addressing it.

vcpkg install magnum[*]

This throws an error saying..

  X11 library, required by some applications, was not found.  Set
  WITH_*X*APPLICATION to OFF to skip building them.

Which I understood as being code for:

$env:WITH_XEGLAPPLICATION="Off"

However this didn't work for me. Instead, I converted the * to a full list of packages, minus the ones that seemed to depend on X11.

magnum[
    al-info
    anyaudioimporter
    anyimageconverter
    anyimageimporter
    anysceneimporter
    audio
    cglcontext
    core
    debugtools
    distancefieldconverter
//    eglcontext
    fontconverter
    gl
    gl-info
    glfwapplication
    glxcontext
    imageconverter
    magnumfont
    magnumfontconverter
    meshtools
    objimporter
    opengltester
    primitives
    scenegraph
    sdl2application
    shaders
    text
    texturetools
    tgaimageconverter
    tgaimporter
    trade
    wavaudioimporter
    wglcontext
//    windowlesseglapplication
//    windowlessglxapplication
    windowlesswglapplication
]:x64-windows

Resulting in this final command.

vcpkg install magnum[al-info,anyimageconverter,anyimageimporter,anysceneimporter,cglcontext,core,debugtools,distancefieldconverter,fontconverter,gl,gl-info,glfwapplication,glxcontext,imageconverter,magnumfont,magnumfontconverter,meshtools,objimporter,opengltester,primitives,scenegraph,sdl2application,shaders,text,texturetools,tgaimageconverter,tgaimporter,trade,wglcontext,windowlesswglapplication]:x64-windows 

Which worked!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions