![]() WARNING: Target "mbvelocitytool" requests linking to directory "/opt/X11/lib/". WARNING: Target "mbnavedit" requests linking to directory "/opt/X11/lib/". WARNING: Target "mbnavadjust" requests linking to directory "/opt/X11/lib/". WARNING: Target "mbeditviz" requests linking to directory "/opt/X11/lib/". WARNING: Target "mbedit" requests linking to directory "/opt/X11/lib/". ![]() WARNING: Target "mbgrdviz" requests linking to directory "/opt/X11/lib/". Together with supporting libraries and applications, it forms the X11.app that Apple has shipped with OS X since version 10.5. WARNING: Target "mbgsfShared" requests linking to directory "/opt/X11/lib/". I also get these warnings: WARNING: Target "mbgsfShared" requests linking to directory "/opt/X11/lib/". Xquartz is a port of X11 which uses Quartz to draw what is requested by the X11 API. Windows on the screen but not there are also Core Text and Core Images. OPENGL_LIBRARIES: /opt/X11/lib/ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/amework For X11 Window Server in macOS the nearest is Core Graphics which draw graphical components e.g. X11_LIBRARIES: /opt/X11/lib/ /usr/local/lib/libXext.dylib Set(OPENGL_INCLUDE_DIR /opt/X11/include/)Īnd the result is: X11_INCLUDE_DIR: /opt/X11/include/ /usr/local/include /usr/X11R6/include So those are the wrong places - they should be in /opt/X11.īased on FindX11 and FindOpenGL documentation I try this before calling the FindModules: if (APPLE) OPENGL_LIBRARY: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/amework /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/amework OPENGL_INCLUDE_DIR: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/amework X11_LIBRARIES: /usr/local/lib/libSM.dylib /usr/local/lib/libICE.dylib /usr/local/lib/libX11.dylib /usr/local/lib/libXext.dylib My CMakeLists.txt calls FindOpenGL and FindX11, but the result is X11_INCLUDE_DIR: /usr/local/include /usr/X11R6/include On our MacOS systems we want to use XQuartz for X11 and OpenGL includes and libs, which are installed in /opt/X11/include and /opt/X11/lib, respectively.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |