Comments (4)
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.
Sure, absolutely:
/usr/lib/libMagnumSdl2Application.a(flextGLPlatform.cpp.o): In function
flextGLInit': flextGLPlatform.cpp:(.text+0x3d): undefined reference to
flextglBlitFramebufferANGLE'
flextGLPlatform.cpp:(.text+0x5d): undefined reference toflextglRenderbufferStorageMultisampleANGLE' flextGLPlatform.cpp:(.text+0x7d): undefined reference to
flextglDrawArraysInstancedANGLE'
flextGLPlatform.cpp:(.text+0x9d): undefined reference toflextglDrawElementsInstancedANGLE' flextGLPlatform.cpp:(.text+0xbd): undefined reference to
flextglVertexAttribDivisorANGLE'
flextGLPlatform.cpp:(.text+0xdd): undefined reference toflextglRenderbufferStorageMultisampleAPPLE' flextGLPlatform.cpp:(.text+0xfd): undefined reference to
flextglResolveMultisampleFramebufferAPPLE'
flextGLPlatform.cpp:(.text+0x1bd): undefined reference toflextglDiscardFramebufferEXT' flextGLPlatform.cpp:(.text+0x1dd): undefined reference to
flextglGetQueryObjecti64vEXT'
flextGLPlatform.cpp:(.text+0x1fd): undefined reference toflextglGetQueryObjectivEXT' flextGLPlatform.cpp:(.text+0x21d): undefined reference to
flextglGetQueryObjectui64vEXT'
flextGLPlatform.cpp:(.text+0x23d): undefined reference toflextglQueryCounterEXT' flextGLPlatform.cpp:(.text+0x25d): undefined reference to
flextglDrawBuffersEXT'
flextGLPlatform.cpp:(.text+0x27d): undefined reference toflextglBlendEquationSeparateiEXT' flextGLPlatform.cpp:(.text+0x29d): undefined reference to
flextglBlendEquationiEXT'
flextGLPlatform.cpp:(.text+0x2bd): undefined reference toflextglBlendFuncSeparateiEXT' flextGLPlatform.cpp:(.text+0x2dd): undefined reference to
flextglBlendFunciEXT'
flextGLPlatform.cpp:(.text+0x2fd): undefined reference toflextglColorMaskiEXT' flextGLPlatform.cpp:(.text+0x31d): undefined reference to
flextglDisableiEXT'
flextGLPlatform.cpp:(.text+0x33d): undefined reference toflextglEnableiEXT' flextGLPlatform.cpp:(.text+0x35d): undefined reference to
flextglIsEnablediEXT'
flextGLPlatform.cpp:(.text+0x37d): undefined reference toflextglDrawArraysInstancedEXT' flextGLPlatform.cpp:(.text+0x39d): undefined reference to
flextglDrawElementsInstancedEXT'
flextGLPlatform.cpp:(.text+0x3bd): undefined reference toflextglVertexAttribDivisorEXT' flextGLPlatform.cpp:(.text+0x3dd): undefined reference to
flextglFlushMappedBufferRangeEXT'
flextGLPlatform.cpp:(.text+0x3fd): undefined reference toflextglMapBufferRangeEXT' flextGLPlatform.cpp:(.text+0x41d): undefined reference to
flextglMultiDrawArraysEXT'
flextGLPlatform.cpp:(.text+0x43d): undefined reference toflextglMultiDrawElementsEXT' flextGLPlatform.cpp:(.text+0x45d): undefined reference to
flextglFramebufferTexture2DMultisampleEXT'
flextGLPlatform.cpp:(.text+0x47d): undefined reference toflextglRenderbufferStorageMultisampleEXT' flextGLPlatform.cpp:(.text+0x49d): undefined reference to
flextglBeginQueryEXT'
flextGLPlatform.cpp:(.text+0x4bd): undefined reference toflextglDeleteQueriesEXT' flextGLPlatform.cpp:(.text+0x4dd): undefined reference to
flextglEndQueryEXT'
flextGLPlatform.cpp:(.text+0x4fd): undefined reference toflextglGenQueriesEXT' flextGLPlatform.cpp:(.text+0x51d): undefined reference to
flextglGetQueryObjectuivEXT'
flextGLPlatform.cpp:(.text+0x53d): undefined reference toflextglGetQueryivEXT' flextGLPlatform.cpp:(.text+0x55d): undefined reference to
flextglIsQueryEXT'
flextGLPlatform.cpp:(.text+0x57d): undefined reference toflextglGetGraphicsResetStatusEXT' flextGLPlatform.cpp:(.text+0x59d): undefined reference to
flextglGetnUniformfvEXT'
flextGLPlatform.cpp:(.text+0x5bd): undefined reference toflextglGetnUniformivEXT' flextGLPlatform.cpp:(.text+0x5dd): undefined reference to
flextglReadnPixelsEXT'
flextGLPlatform.cpp:(.text+0x5fd): undefined reference toflextglActiveShaderProgramEXT' flextGLPlatform.cpp:(.text+0x61d): undefined reference to
flextglBindProgramPipelineEXT'
flextGLPlatform.cpp:(.text+0x63d): undefined reference toflextglCreateShaderProgramvEXT' flextGLPlatform.cpp:(.text+0x65d): undefined reference to
flextglDeleteProgramPipelinesEXT'
flextGLPlatform.cpp:(.text+0x67d): undefined reference toflextglGenProgramPipelinesEXT' flextGLPlatform.cpp:(.text+0x69d): undefined reference to
flextglGetProgramPipelineInfoLogEXT'
flextGLPlatform.cpp:(.text+0x6bd): undefined reference toflextglGetProgramPipelineivEXT' flextGLPlatform.cpp:(.text+0x6dd): undefined reference to
flextglIsProgramPipelineEXT'
flextGLPlatform.cpp:(.text+0x6fd): undefined reference toflextglProgramParameteriEXT' flextGLPlatform.cpp:(.text+0x97d): undefined reference to
flextglUseProgramStagesEXT'
flextGLPlatform.cpp:(.text+0x99d): undefined reference toflextglValidateProgramPipelineEXT' flextGLPlatform.cpp:(.text+0x9bd): undefined reference to
flextglGetSamplerParameterIivEXT'
flextGLPlatform.cpp:(.text+0x9dd): undefined reference toflextglGetSamplerParameterIuivEXT' flextGLPlatform.cpp:(.text+0x9fd): undefined reference to
flextglGetTexParameterIivEXT'
flextGLPlatform.cpp:(.text+0xa1d): undefined reference toflextglGetTexParameterIuivEXT' flextGLPlatform.cpp:(.text+0xa3d): undefined reference to
flextglSamplerParameterIivEXT'
flextGLPlatform.cpp:(.text+0xa5d): undefined reference toflextglSamplerParameterIuivEXT' flextGLPlatform.cpp:(.text+0xa7d): undefined reference to
flextglTexParameterIivEXT'
flextGLPlatform.cpp:(.text+0xa9d): undefined reference toflextglTexParameterIuivEXT' flextGLPlatform.cpp:(.text+0xabd): undefined reference to
flextglTexStorage2DEXT'
flextGLPlatform.cpp:(.text+0xadd): undefined reference toflextglTexStorage3DEXT' flextGLPlatform.cpp:(.text+0xb1d): undefined reference to
flextglDebugMessageCallbackKHR'
flextGLPlatform.cpp:(.text+0xb3d): undefined reference toflextglDebugMessageControlKHR' flextGLPlatform.cpp:(.text+0xb5d): undefined reference to
flextglDebugMessageInsertKHR'
flextGLPlatform.cpp:(.text+0xb7d): undefined reference toflextglGetDebugMessageLogKHR' flextGLPlatform.cpp:(.text+0xb9d): undefined reference to
flextglGetObjectLabelKHR'
flextGLPlatform.cpp:(.text+0xbbd): undefined reference toflextglGetObjectPtrLabelKHR' flextGLPlatform.cpp:(.text+0xbdd): undefined reference to
flextglGetPointervKHR'
flextGLPlatform.cpp:(.text+0xbfd): undefined reference toflextglObjectLabelKHR' flextGLPlatform.cpp:(.text+0xc1d): undefined reference to
flextglObjectPtrLabelKHR'
flextGLPlatform.cpp:(.text+0xc3d): undefined reference toflextglPopDebugGroupKHR' flextGLPlatform.cpp:(.text+0xc5d): undefined reference to
flextglPushDebugGroupKHR'
flextGLPlatform.cpp:(.text+0xc7d): undefined reference toflextglGetGraphicsResetStatusKHR' flextGLPlatform.cpp:(.text+0xc9d): undefined reference to
flextglGetnUniformfvKHR'
flextGLPlatform.cpp:(.text+0xcbd): undefined reference toflextglGetnUniformivKHR' flextGLPlatform.cpp:(.text+0xcdd): undefined reference to
flextglGetnUniformuivKHR'
flextGLPlatform.cpp:(.text+0xcfd): undefined reference toflextglReadnPixelsKHR' flextGLPlatform.cpp:(.text+0xd1d): undefined reference to
flextglDrawBuffersNV'
flextGLPlatform.cpp:(.text+0xd3d): undefined reference toflextglDrawArraysInstancedNV' flextGLPlatform.cpp:(.text+0xd5d): undefined reference to
flextglDrawElementsInstancedNV'
flextGLPlatform.cpp:(.text+0xd7d): undefined reference toflextglBlitFramebufferNV' flextGLPlatform.cpp:(.text+0xd9d): undefined reference to
flextglRenderbufferStorageMultisampleNV'
flextGLPlatform.cpp:(.text+0xdbd): undefined reference toflextglVertexAttribDivisorNV' flextGLPlatform.cpp:(.text+0xddd): undefined reference to
flextglPolygonModeNV'
flextGLPlatform.cpp:(.text+0xdfd): undefined reference toflextglReadBufferNV' flextGLPlatform.cpp:(.text+0xe1d): undefined reference to
flextglGetBufferPointervOES'
flextGLPlatform.cpp:(.text+0xe3d): undefined reference toflextglMapBufferOES' flextGLPlatform.cpp:(.text+0xe5d): undefined reference to
flextglUnmapBufferOES'
flextGLPlatform.cpp:(.text+0xe7d): undefined reference toflextglCompressedTexImage3DOES' flextGLPlatform.cpp:(.text+0xe9d): undefined reference to
flextglCompressedTexSubImage3DOES'
flextGLPlatform.cpp:(.text+0xebd): undefined reference toflextglCopyTexSubImage3DOES' flextGLPlatform.cpp:(.text+0xedd): undefined reference to
flextglFramebufferTexture3DOES'
flextGLPlatform.cpp:(.text+0xefd): undefined reference toflextglTexImage3DOES' flextGLPlatform.cpp:(.text+0xf1d): undefined reference to
flextglTexSubImage3DOES'
flextGLPlatform.cpp:(.text+0xf3d): undefined reference toflextglBindVertexArrayOES' flextGLPlatform.cpp:(.text+0xf5d): undefined reference to
flextglDeleteVertexArraysOES'
flextGLPlatform.cpp:(.text+0xf7d): undefined reference toflextglGenVertexArraysOES' flextGLPlatform.cpp:(.text+0xf9d): undefined reference to
flextglIsVertexArrayOES'
from magnum-bootstrap.
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.
@mosra Problem resolved, must have been a transient issue.
from magnum-bootstrap.
Related Issues (20)
- Linker Error (SDL2) HOT 1
- Not installing `.wasm` HOT 1
- Build Output Directories HOT 3
- Building woes HOT 23
- vcpkg doesn't play well with FindXYZ modules HOT 4
- FrameBuffer::clearColor not working HOT 6
- Unable to build on VS2019 HOT 4
- Help understanding bootstrap emscripten js error HOT 6
- Android Gradle build HOT 7
- base-Qt reports wrong OpenGL Version HOT 9
- ANDROID_SDK variable has wrong path on Windows. HOT 2
- GL::Context: unsupported OpenGL version (0, 0) output while building base-wxwidgets HOT 12
- magnum + wxWidgets sample projects, mouse drag can rotate the camera, but not as expected HOT 1
- Building Issue - The fully qualified file name must be less than 260 characters HOT 1
- Add bootstrap example using FLTK HOT 2
- Linking issue with scenegraph3D bootstrap project HOT 1
- Separate declarations from implementations HOT 1
- Cross platform bootstrap? HOT 18
- Getting started tutorial issue - can't find SDL2 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magnum-bootstrap.