Code Monkey home page Code Monkey logo

Comments (4)

mosra avatar mosra commented on May 10, 2024

huh.

I would need to check, the only time I saw cmake crash was when I accidentally called add_subdirectory() in a way that made cmake recurse infinitely. Can you post the "seemingly from glfw" errors?

from magnum-bootstrap.

 avatar commented on May 10, 2024

Sure, absolutely:

/usr/lib/libMagnumSdl2Application.a(flextGLPlatform.cpp.o): In function flextGLInit': flextGLPlatform.cpp:(.text+0x3d): undefined reference toflextglBlitFramebufferANGLE'
flextGLPlatform.cpp:(.text+0x5d): undefined reference to flextglRenderbufferStorageMultisampleANGLE' flextGLPlatform.cpp:(.text+0x7d): undefined reference toflextglDrawArraysInstancedANGLE'
flextGLPlatform.cpp:(.text+0x9d): undefined reference to flextglDrawElementsInstancedANGLE' flextGLPlatform.cpp:(.text+0xbd): undefined reference toflextglVertexAttribDivisorANGLE'
flextGLPlatform.cpp:(.text+0xdd): undefined reference to flextglRenderbufferStorageMultisampleAPPLE' flextGLPlatform.cpp:(.text+0xfd): undefined reference toflextglResolveMultisampleFramebufferAPPLE'
flextGLPlatform.cpp:(.text+0x1bd): undefined reference to flextglDiscardFramebufferEXT' flextGLPlatform.cpp:(.text+0x1dd): undefined reference toflextglGetQueryObjecti64vEXT'
flextGLPlatform.cpp:(.text+0x1fd): undefined reference to flextglGetQueryObjectivEXT' flextGLPlatform.cpp:(.text+0x21d): undefined reference toflextglGetQueryObjectui64vEXT'
flextGLPlatform.cpp:(.text+0x23d): undefined reference to flextglQueryCounterEXT' flextGLPlatform.cpp:(.text+0x25d): undefined reference toflextglDrawBuffersEXT'
flextGLPlatform.cpp:(.text+0x27d): undefined reference to flextglBlendEquationSeparateiEXT' flextGLPlatform.cpp:(.text+0x29d): undefined reference toflextglBlendEquationiEXT'
flextGLPlatform.cpp:(.text+0x2bd): undefined reference to flextglBlendFuncSeparateiEXT' flextGLPlatform.cpp:(.text+0x2dd): undefined reference toflextglBlendFunciEXT'
flextGLPlatform.cpp:(.text+0x2fd): undefined reference to flextglColorMaskiEXT' flextGLPlatform.cpp:(.text+0x31d): undefined reference toflextglDisableiEXT'
flextGLPlatform.cpp:(.text+0x33d): undefined reference to flextglEnableiEXT' flextGLPlatform.cpp:(.text+0x35d): undefined reference toflextglIsEnablediEXT'
flextGLPlatform.cpp:(.text+0x37d): undefined reference to flextglDrawArraysInstancedEXT' flextGLPlatform.cpp:(.text+0x39d): undefined reference toflextglDrawElementsInstancedEXT'
flextGLPlatform.cpp:(.text+0x3bd): undefined reference to flextglVertexAttribDivisorEXT' flextGLPlatform.cpp:(.text+0x3dd): undefined reference toflextglFlushMappedBufferRangeEXT'
flextGLPlatform.cpp:(.text+0x3fd): undefined reference to flextglMapBufferRangeEXT' flextGLPlatform.cpp:(.text+0x41d): undefined reference toflextglMultiDrawArraysEXT'
flextGLPlatform.cpp:(.text+0x43d): undefined reference to flextglMultiDrawElementsEXT' flextGLPlatform.cpp:(.text+0x45d): undefined reference toflextglFramebufferTexture2DMultisampleEXT'
flextGLPlatform.cpp:(.text+0x47d): undefined reference to flextglRenderbufferStorageMultisampleEXT' flextGLPlatform.cpp:(.text+0x49d): undefined reference toflextglBeginQueryEXT'
flextGLPlatform.cpp:(.text+0x4bd): undefined reference to flextglDeleteQueriesEXT' flextGLPlatform.cpp:(.text+0x4dd): undefined reference toflextglEndQueryEXT'
flextGLPlatform.cpp:(.text+0x4fd): undefined reference to flextglGenQueriesEXT' flextGLPlatform.cpp:(.text+0x51d): undefined reference toflextglGetQueryObjectuivEXT'
flextGLPlatform.cpp:(.text+0x53d): undefined reference to flextglGetQueryivEXT' flextGLPlatform.cpp:(.text+0x55d): undefined reference toflextglIsQueryEXT'
flextGLPlatform.cpp:(.text+0x57d): undefined reference to flextglGetGraphicsResetStatusEXT' flextGLPlatform.cpp:(.text+0x59d): undefined reference toflextglGetnUniformfvEXT'
flextGLPlatform.cpp:(.text+0x5bd): undefined reference to flextglGetnUniformivEXT' flextGLPlatform.cpp:(.text+0x5dd): undefined reference toflextglReadnPixelsEXT'
flextGLPlatform.cpp:(.text+0x5fd): undefined reference to flextglActiveShaderProgramEXT' flextGLPlatform.cpp:(.text+0x61d): undefined reference toflextglBindProgramPipelineEXT'
flextGLPlatform.cpp:(.text+0x63d): undefined reference to flextglCreateShaderProgramvEXT' flextGLPlatform.cpp:(.text+0x65d): undefined reference toflextglDeleteProgramPipelinesEXT'
flextGLPlatform.cpp:(.text+0x67d): undefined reference to flextglGenProgramPipelinesEXT' flextGLPlatform.cpp:(.text+0x69d): undefined reference toflextglGetProgramPipelineInfoLogEXT'
flextGLPlatform.cpp:(.text+0x6bd): undefined reference to flextglGetProgramPipelineivEXT' flextGLPlatform.cpp:(.text+0x6dd): undefined reference toflextglIsProgramPipelineEXT'
flextGLPlatform.cpp:(.text+0x6fd): undefined reference to flextglProgramParameteriEXT' flextGLPlatform.cpp:(.text+0x97d): undefined reference toflextglUseProgramStagesEXT'
flextGLPlatform.cpp:(.text+0x99d): undefined reference to flextglValidateProgramPipelineEXT' flextGLPlatform.cpp:(.text+0x9bd): undefined reference toflextglGetSamplerParameterIivEXT'
flextGLPlatform.cpp:(.text+0x9dd): undefined reference to flextglGetSamplerParameterIuivEXT' flextGLPlatform.cpp:(.text+0x9fd): undefined reference toflextglGetTexParameterIivEXT'
flextGLPlatform.cpp:(.text+0xa1d): undefined reference to flextglGetTexParameterIuivEXT' flextGLPlatform.cpp:(.text+0xa3d): undefined reference toflextglSamplerParameterIivEXT'
flextGLPlatform.cpp:(.text+0xa5d): undefined reference to flextglSamplerParameterIuivEXT' flextGLPlatform.cpp:(.text+0xa7d): undefined reference toflextglTexParameterIivEXT'
flextGLPlatform.cpp:(.text+0xa9d): undefined reference to flextglTexParameterIuivEXT' flextGLPlatform.cpp:(.text+0xabd): undefined reference toflextglTexStorage2DEXT'
flextGLPlatform.cpp:(.text+0xadd): undefined reference to flextglTexStorage3DEXT' flextGLPlatform.cpp:(.text+0xb1d): undefined reference toflextglDebugMessageCallbackKHR'
flextGLPlatform.cpp:(.text+0xb3d): undefined reference to flextglDebugMessageControlKHR' flextGLPlatform.cpp:(.text+0xb5d): undefined reference toflextglDebugMessageInsertKHR'
flextGLPlatform.cpp:(.text+0xb7d): undefined reference to flextglGetDebugMessageLogKHR' flextGLPlatform.cpp:(.text+0xb9d): undefined reference toflextglGetObjectLabelKHR'
flextGLPlatform.cpp:(.text+0xbbd): undefined reference to flextglGetObjectPtrLabelKHR' flextGLPlatform.cpp:(.text+0xbdd): undefined reference toflextglGetPointervKHR'
flextGLPlatform.cpp:(.text+0xbfd): undefined reference to flextglObjectLabelKHR' flextGLPlatform.cpp:(.text+0xc1d): undefined reference toflextglObjectPtrLabelKHR'
flextGLPlatform.cpp:(.text+0xc3d): undefined reference to flextglPopDebugGroupKHR' flextGLPlatform.cpp:(.text+0xc5d): undefined reference toflextglPushDebugGroupKHR'
flextGLPlatform.cpp:(.text+0xc7d): undefined reference to flextglGetGraphicsResetStatusKHR' flextGLPlatform.cpp:(.text+0xc9d): undefined reference toflextglGetnUniformfvKHR'
flextGLPlatform.cpp:(.text+0xcbd): undefined reference to flextglGetnUniformivKHR' flextGLPlatform.cpp:(.text+0xcdd): undefined reference toflextglGetnUniformuivKHR'
flextGLPlatform.cpp:(.text+0xcfd): undefined reference to flextglReadnPixelsKHR' flextGLPlatform.cpp:(.text+0xd1d): undefined reference toflextglDrawBuffersNV'
flextGLPlatform.cpp:(.text+0xd3d): undefined reference to flextglDrawArraysInstancedNV' flextGLPlatform.cpp:(.text+0xd5d): undefined reference toflextglDrawElementsInstancedNV'
flextGLPlatform.cpp:(.text+0xd7d): undefined reference to flextglBlitFramebufferNV' flextGLPlatform.cpp:(.text+0xd9d): undefined reference toflextglRenderbufferStorageMultisampleNV'
flextGLPlatform.cpp:(.text+0xdbd): undefined reference to flextglVertexAttribDivisorNV' flextGLPlatform.cpp:(.text+0xddd): undefined reference toflextglPolygonModeNV'
flextGLPlatform.cpp:(.text+0xdfd): undefined reference to flextglReadBufferNV' flextGLPlatform.cpp:(.text+0xe1d): undefined reference toflextglGetBufferPointervOES'
flextGLPlatform.cpp:(.text+0xe3d): undefined reference to flextglMapBufferOES' flextGLPlatform.cpp:(.text+0xe5d): undefined reference toflextglUnmapBufferOES'
flextGLPlatform.cpp:(.text+0xe7d): undefined reference to flextglCompressedTexImage3DOES' flextGLPlatform.cpp:(.text+0xe9d): undefined reference toflextglCompressedTexSubImage3DOES'
flextGLPlatform.cpp:(.text+0xebd): undefined reference to flextglCopyTexSubImage3DOES' flextGLPlatform.cpp:(.text+0xedd): undefined reference toflextglFramebufferTexture3DOES'
flextGLPlatform.cpp:(.text+0xefd): undefined reference to flextglTexImage3DOES' flextGLPlatform.cpp:(.text+0xf1d): undefined reference toflextglTexSubImage3DOES'
flextGLPlatform.cpp:(.text+0xf3d): undefined reference to flextglBindVertexArrayOES' flextGLPlatform.cpp:(.text+0xf5d): undefined reference toflextglDeleteVertexArraysOES'
flextGLPlatform.cpp:(.text+0xf7d): undefined reference to flextglGenVertexArraysOES' flextGLPlatform.cpp:(.text+0xf9d): undefined reference toflextglIsVertexArrayOES'

from magnum-bootstrap.

mosra avatar mosra commented on May 10, 2024

Sorry for the very late reply -- I tried on my side with base project from magnum-bootstrap with latest corrade and magnum added via add_subdirectory() but couldn't reproduce either of the problems you have -- with WITH_SDL2APPLICATION=ON it just found everything and running make was then successfull, without it CMake rightfully complained that find_package(Magnum REQUIRED Sdl2Application) couldn't found the Sdl2Application component.

The problem you are describing could be caused by some unfortunate combination of outdated FindMagnum.cmake/FindCorrade.cmake/FindSDL2.cmake modules in either of the projects.

from magnum-bootstrap.

 avatar commented on May 10, 2024

@mosra Problem resolved, must have been a transient issue.

from magnum-bootstrap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.