Skip to content
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

vcpkg and magnum[*] #373

Closed
alanjfs opened this issue Sep 27, 2019 · 1 comment
Closed

vcpkg and magnum[*] #373

alanjfs opened this issue Sep 27, 2019 · 1 comment

Comments

@alanjfs
Copy link
Contributor

alanjfs commented Sep 27, 2019

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!

@mosra
Copy link
Owner

mosra commented Sep 28, 2019

Hi, sorry for not replying soon enough and pointing out #368. I hope we can fix that soon.

Let's direct further discussion there to avoid having the conversation on two places :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants