Giter Site home page Giter Site logo

glitter's Introduction

Screenshot

Summary

Glitter is a dead simple boilerplate for OpenGL, intended as a starting point for the tutorials on learnopengl.com and open.gl. Glitter compiles and statically links every required library, so you can jump right into doing what you probably want: how to get started with OpenGL.

Getting Started

Glitter has a single dependency: cmake, which is used to generate platform-specific makefiles or project files. Start by cloning this repository, making sure to pass the --recursive flag to grab all the dependencies. If you forgot, then you can git submodule update --init instead.

git clone --recursive https://github.com/Polytonic/Glitter
cd Glitter
cd Build

Now generate a project file or makefile for your platform. If you want to use a particular IDE, make sure it is installed; don't forget to set the Start-Up Project in Visual Studio or the Target in Xcode.

# UNIX Makefile
cmake ..

# Mac OSX
cmake -G "Xcode" ..

# Microsoft Windows
cmake -G "Visual Studio 14" ..
cmake -G "Visual Studio 14 Win64" ..
...

If you compile and run, you should now be at the same point as the Hello Window or Context Creation sections of the tutorials. Open main.cpp on your computer and start writing code!

Documentation

Many people overlook how frustrating it is to install dependencies, especially in environments lacking package managers or administrative privileges. For beginners, just getting set up properly set up can be a huge challenge. Glitter is meant to help you overcome that roadblock.

Glitter provides the most basic windowing example. It is a starting point, and tries very hard not to enforce any sort of directory structure. Feel free to edit the include paths in CMakeLists.txt. Glitter bundles most of the dependencies needed to implement a basic rendering engine. This includes:

Functionality Library
Mesh Loading assimp
Physics bullet
OpenGL Function Loader glad
Windowing and Input glfw
OpenGL Mathematics glm
Texture Loading stb

If you started the tutorials by installing SDL, GLEW, or SOIL, stop. The libraries bundled with Glitter supersede or are functional replacements for these libraries.

I have provided sample implementations of an intrusive tree mesh and shader class, if you're following along with the tutorials and need another reference point. These were used to generate the screenshot above, but will not compile out-of-the-box. I leave that exercise for the reader. πŸ˜ƒ

License

The MIT License (MIT)

Copyright (c) 2015 Kevin Fung

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

glitter's People

Contributors

domesticmouse avatar jlopezr avatar polytonic avatar romanlevin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

glitter's Issues

Build Failure in assimp

When I build the project for the first time on Xcode on OSX, I get an error in the glTFExporter.cpp file from assimp. The error occurs on line 585 and reads: Ordered comparison between pointer and zero ('aiVector3D *' (aka 'aiVector3t *') and 'int')

If anyone could help, I would appreciate it.

Usage on Raspberry Pi 4

Hi, Glitter works great, thanks for your work!

I'm trying to run this project on a Raspberry Pi 4 with the default Raspbian OS installed. An additional trick is supposed to make it work:

sudo apt-get install libxinerama-dev libxcursor-dev libxi-dev 

Then the project should compile successfully (with quite a long time). However the Glitter binary still can't bring up the GL context:

➜  Build git:(master) ./Glitter/Glitter
Failed to Create OpenGL Context%

Guess that we should use OpenGL ES instead of OpenGL. Any advice? Thanks!

Compile Failed

I compile it on my mac and it says :
CMake Error at /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/FindThreads.cmake:212 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
Glitter/Vendor/glfw/CMakeLists.txt:71 (find_package)

-- Configuring incomplete, errors occurred!
See also "/Users/yakun/OpenGL/Glitter/Build/CMakeFiles/CMakeOutput.log".
See also "/Users/yakun/OpenGL/Glitter/Build/CMakeFiles/CMakeError.log".

CMakeError.log:
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler:
Build flags:
Id flags:

The output was:
1
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler:
Build flags:
Id flags:

The output was:
1
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler:
Build flags:
Id flags:

The output was:
1
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler:
Build flags:
Id flags:

The output was:
1
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler:
Build flags:
Id flags:

The output was:
1
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler:
Build flags:
Id flags:

The output was:
1
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler:
Build flags:
Id flags:

The output was:
1
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler:
Build flags:
Id flags:

The output was:
1
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler:
Build flags:
Id flags:

The output was:
1
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler:
Build flags:
Id flags:

The output was:
1
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler:
Build flags:
Id flags:

The output was:
1
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler:
Build flags:
Id flags:

The output was:
1
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler:
Build flags:
Id flags:

The output was:
1
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler:
Build flags:
Id flags:

The output was:
1
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /usr/lib/gcc
Build flags:
Id flags:

The output was:
1
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Checking whether the C compiler is IAR using "" did not match "IAR .+ Compiler":
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /usr/lib/g++
Build flags:
Id flags:

The output was:
1
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Checking whether the CXX compiler is IAR using "" did not match "IAR .+ Compiler":
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /usr/bin/gcc
Build flags:
Id flags:

The output was:
1
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Checking whether the C compiler is IAR using "" did not match "IAR .+ Compiler":
clang: error: no input files
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /usr/bin/g++
Build flags:
Id flags:

The output was:
1
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Checking whether the CXX compiler is IAR using "" did not match "IAR .+ Compiler":
clang: error: no input files
Determining if the C compiler works failed with the following output:
Change Dir: /Users/yakun/OpenGL/Glitter/Build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/xcodebuild" "-project" "CMAKE_TRY_COMPILE.xcodeproj" "build" "-target" "cmTC_28f72" "-configuration" "Debug"
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Checking whether the C compiler is IAR using "" did not match "IAR .+ Compiler":
clang: error: no input files
Checking whether the CXX compiler is IAR using "" did not match "IAR .+ Compiler":
clang: error: no input files
Determining if the C compiler works failed with the following output:

Determining if the include file pthread.h exists failed with the following output:

Determining if the C compiler works failed with the following output:

Compilation fail

Hi there
Sorry for asking a silliy question,but I am using Mac 10.11.6. I clone the repository from https://github.com/Polytonic/G.... However when I was trying to type
cmake -G "Xcode" ..
The following error occurs,Can anyone help me?

CMake Error at /usr/local/Cellar/cmake/3.6.2/share/cmake/Modules/CMakeDetermineSystem.cmake:177 (file):
file failed to open for writing (No such file or directory):

/Users/zewenhuang/Desktop/UW/CS488/Practise/Glitter/Build/CMakeFiles/CMakeOutput.log
Call Stack (most recent call first):
CMakeLists.txt:2 (project)

CMake Error: Could not open file for write in copy operation /Users/zewenhuang/Desktop/UW/CS488/Practise/Glitter/Build/CMakeFiles/3.6.2/CMakeSystem.cmake.tmp
CMake Error: : System Error: No such file or directory
CMake Error at /usr/local/Cellar/cmake/3.6.2/share/cmake/Modules/CMakeDetermineSystem.cmake:189 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:2 (project)

CMake Error at /usr/local/Cellar/cmake/3.6.2/share/cmake/Modules/CMakeDetermineCompilerId.cmake:141 (file):
file problem creating directory:
/Users/zewenhuang/Desktop/UW/CS488/Practise/Glitter/Build/CMakeFiles/3.6.2/CompilerIdC
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.6.2/share/cmake/Modules/CMakeDetermineCompilerId.cmake:40 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
/usr/local/Cellar/cmake/3.6.2/share/cmake/Modules/CMakeDetermineCCompiler.cmake:121 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:2 (project)

-- The C compiler identification is unknown
CMake Error: Could not open file for write in copy operation /Users/zewenhuang/Desktop/UW/CS488/Practise/Glitter/Build/CMakeFiles/3.6.2/CMakeCCompiler.cmake.tmp
CMake Error: : System Error: No such file or directory
CMake Error at /usr/local/Cellar/cmake/3.6.2/share/cmake/Modules/CMakeDetermineCCompiler.cmake:184 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:2 (project)

CMake Error: Could not find cmake module file: /Users/zewenhuang/Desktop/UW/CS488/Practise/Glitter/Build/CMakeFiles/3.6.2/CMakeCCompiler.cmake
CMake Error at /usr/local/Cellar/cmake/3.6.2/share/cmake/Modules/CMakeDetermineCompilerId.cmake:141 (file):
file problem creating directory:
/Users/zewenhuang/Desktop/UW/CS488/Practise/Glitter/Build/CMakeFiles/3.6.2/CompilerIdCXX
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.6.2/share/cmake/Modules/CMakeDetermineCompilerId.cmake:40 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
/usr/local/Cellar/cmake/3.6.2/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake:113 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:2 (project)

-- The CXX compiler identification is unknown
CMake Error: Could not open file for write in copy operation /Users/zewenhuang/Desktop/UW/CS488/Practise/Glitter/Build/CMakeFiles/3.6.2/CMakeCXXCompiler.cmake.tmp
CMake Error: : System Error: No such file or directory
CMake Error at /usr/local/Cellar/cmake/3.6.2/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake:179 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:2 (project)

CMake Error: Could not find cmake module file: /Users/zewenhuang/Desktop/UW/CS488/Practise/Glitter/Build/CMakeFiles/3.6.2/CMakeCXXCompiler.cmake
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_C_COMPILER could be found.

CMake Error at CMakeLists.txt:2 (project):
No CMAKE_CXX_COMPILER could be found.

-- Configuring incomplete, errors occurred!
CMake Error: Cannot open file for write: /Users/zewenhuang/Desktop/UW/CS488/Practise/Glitter/Build/CMakeCache.txt.tmp
CMake Error: : System Error: Permission denied
CMake Error: Unable to open cache file for save. /Users/zewenhuang/Desktop/UW/CS488/Practise/Glitter/Build/CMakeCache.txt
CMake Error: : System Error: Permission denied

Error when executing ./Glitter on debian

Everything builds fine, I installed lXi6, and other package ending with -dev (I think it's the right thing, but I don't know which to install exactly).

I get

Failed to Create OpenGL Context

All files actually pushed?

Is there some missing code in here?

Looks like nothing references the samples, and mesh.cpp refers to some Mirage/ folder, and CMakeLists.txt refers to Glitter/Shaders/ that doesn't exist.

If this is still a WIP, that's cool, just pointing out that at the moment the sample compiles to an empty grey screen that simply renders:

    // Rendering Loop
    while (glfwWindowShouldClose(mWindow) == false) {
        if (glfwGetKey(mWindow, GLFW_KEY_ESCAPE) == GLFW_PRESS)
            glfwSetWindowShouldClose(mWindow, true);

        // Background Fill Color
        glClearColor(0.25f, 0.25f, 0.25f, 1.0f);
        glClear(GL_COLOR_BUFFER_BIT);

        // Flip Buffers and Draw
        glfwSwapBuffers(mWindow);
        glfwPollEvents();
    }

... not this, from the readme -> https://camo.githubusercontent.com/d9eb4d3e9cfe1f1a3f85fabf0cdf75d47975a07d/687474703a2f2f692e696d6775722e636f6d2f4d446f327273792e6a7067

Glitter segfaults on glfwWindowShouldClose() due to failure to obtain OpenGL 4.1 context on an AMD Radeon 6750M

Hi @Polytonic, here's a followup to this hn discussion. Below is what I am doing and the start of a debugging session.

Feel free to ask for more debug info and, again, I know nothing about OpenGL and might be doing something wrong, sorry if the problem is between the keyboard & the chair, and in this case I'll be glad to submit a PR improving the documentation.


~/Glitter  Β± master  mkdir -p Build && cd Build


 ~/Glitter/Build  Β± master  cmake ..
-- The C compiler identification is GNU 5.2.0
-- The CXX compiler identification is GNU 5.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenGL: /usr/lib64/libGL.so  
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Using X11 for window creation
-- Using GLX for context creation
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28") 
-- Building a non-boost version of Assimp.
-- Looking for ZLIB...
-- checking for module 'zzip-zlib-config'
--   package 'zzip-zlib-config' not found
-- Found ZLIB: optimized;/usr/lib64/libz.so;debug;/usr/lib64/libz.so
-- checking for module 'minizip'
--   package 'minizip' not found
-- Enabled formats: 3DS AC ASE ASSBIN ASSXML B3D BVH COLLADA DXF CSM HMP IRR LWO LWS MD2 MD3 MD5 MD C MDL NFF NDO OFF OBJ OGRE OPENGEX PLY MS3D COB BLEND IFC XGL FBX Q3D Q3BSP RAW SMD STL TERRAGEN 3D X
-- Disabled formats:
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ronj/Glitter/Build
 ~/Glitter/Build  Β± master  make                                                          [302/460]
Scanning dependencies of target assimp
[  1%] Building CXX object Glitter/Vendor/assimp/code/CMakeFiles/assimp.dir/Assimp.cpp.o
[  1%] Building CXX object Glitter/Vendor/assimp/code/CMakeFiles/assimp.dir/BaseImporter.cpp.o
<<<cut text... tons of assimp code compiled, a few warnings>>>
[ 91%] Linking CXX static library libassimp.a
[ 91%] Built target assimp
Scanning dependencies of target glfw
[ 91%] Building C object Glitter/Vendor/glfw/src/CMakeFiles/glfw.dir/context.c.o
[ 92%] Building C object Glitter/Vendor/glfw/src/CMakeFiles/glfw.dir/init.c.o
[ 92%] Building C object Glitter/Vendor/glfw/src/CMakeFiles/glfw.dir/input.c.o
[ 93%] Building C object Glitter/Vendor/glfw/src/CMakeFiles/glfw.dir/monitor.c.o
[ 93%] Building C object Glitter/Vendor/glfw/src/CMakeFiles/glfw.dir/window.c.o
[ 94%] Building C object Glitter/Vendor/glfw/src/CMakeFiles/glfw.dir/x11_init.c.o
[ 95%] Building C object Glitter/Vendor/glfw/src/CMakeFiles/glfw.dir/x11_monitor.c.o
[ 95%] Building C object Glitter/Vendor/glfw/src/CMakeFiles/glfw.dir/x11_window.c.o
[ 96%] Building C object Glitter/Vendor/glfw/src/CMakeFiles/glfw.dir/xkb_unicode.c.o
[ 96%] Building C object Glitter/Vendor/glfw/src/CMakeFiles/glfw.dir/linux_joystick.c.o
[ 97%] Building C object Glitter/Vendor/glfw/src/CMakeFiles/glfw.dir/posix_time.c.o
[ 97%] Building C object Glitter/Vendor/glfw/src/CMakeFiles/glfw.dir/posix_tls.c.o
[ 98%] Building C object Glitter/Vendor/glfw/src/CMakeFiles/glfw.dir/glx_context.c.o
[ 99%] Linking C static library libglfw3.a
[ 99%] Built target glfw
Scanning dependencies of target Glitter
[ 99%] Building CXX object CMakeFiles/Glitter.dir/Glitter/Sources/main.cpp.o
/home/ronj/Glitter/Glitter/Sources/main.cpp:12:14: warning: unused parameter β€˜argc’ [-Wunused-parameter]
 int main(int argc, char * argv[]) {
              ^
/home/ronj/Glitter/Glitter/Sources/main.cpp:12:32: warning: unused parameter β€˜argv’ [-Wunused-parameter]
 int main(int argc, char * argv[]) {
                                ^
[100%] Building C object CMakeFiles/Glitter.dir/Glitter/Vendor/glad/src/glad.c.o
[100%] Linking CXX executable Glitter/Glitter
[100%] Built target Glitter


~/Glitter/Build  Β± master   cd Glitter


~/Glitter/Build/Glitter  Β± master  ./Glitter         
OpenGL (null)
[1]    22649 segmentation fault (core dumped)  ./Glitter


 ✘  ~/Glitter/Build/Glitter  ± master  gdb ./Glitter 
GNU gdb (GDB) 7.9.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./Glitter...(no debugging symbols found)...done.

(gdb) run
Starting program: /home/ronj/Glitter/Build/Glitter/Glitter 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
OpenGL (null)
[New Thread 0x7fffeeca7700 (LWP 22699)]
Program received signal SIGSEGV, Segmentation fault.
0x000000000046cbe2 in glfwWindowShouldClose ()

(gdb) backtrace
#0  0x000000000046cbe2 in glfwWindowShouldClose ()
#1  0x000000000044e082 in main ()

How do I add new source file efficiently?

I build vs2017 solution in Build directory, but the source is in the Glitter directory at the same level of Build directory.
Every time I add new file, I need first create file in Glitter directory, and then right click Glitter project's Sources and Headers directory to add existing file to it.

When you directly right click Sources folder in Glitter project to add new item, the new created file will be located in Build directory, this is annoying 😞

Where can I find this fbx?

I remember there was an example that could render this model
But I can't find the file of this model now. Where can I find this fbx?
a

New bugs after updating latest MacOSX.10.15.sdk

Hi, Kevin!
Thanks to your awesome Glitter, I can build my program quickly!
It helps a lot!

But recently I met a bug after updating latest MacOSX.10.15.sdk.
I find I can not run it successfully because it says

error: unable to find sdk '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk'

Yes, that is true. Now that directory only has MacOSX.10.15.sdk.

I tried some solutions:

  1. Downloaded MacOSX.10.14.sdk in that directory and it does not work.
  2. Changed the CMAKE_OSX_SYSROOT:PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk to MacOSX10.15.sdk in the CMakeCache.txt but failed again.

Do you have some idea to solve it?
Thanks a lot!

We need more documentation

Hi,

First of all I want to say that Glitter is a good idea for beginners, I'm also a beginner in OpenGL and I think it save a lot of time and struggle.
Only thing I miss is the documentation, I had to guess where I had to drop my files, and I don't know how to make a executable. So I had to use my own makefile: Make -f Makefile2.
Can you explain it to me, so I can write documentation it?

Potential Build Issue with Bullet

I have filed an issue with Bullet which could be preventing new users from using Glitter.
(It's also possible that I'm just doing something dumb -- I'm still pretty new to C++)

Filing this issue here to let you know.

[Max OS 10.14.5 / Xcode 10.3]OpenGL not drawing anything with Xcode on learnopengl

As a beginner to learn OpenGL on LearnOpengl recently, I found I failed to use glitter, OpenGL with Xcode to draw something as expected.

Following the guideline written in readme, I copy the whole code about drawing triangle into glitter's main.cpp
And then Xcode successfully compile the whole project and run. But it turned out to show nothing, which I suppose would be a window containing a triangle.
image

So did I miss something in following the guideline or the program is literally meant to do nothing ?

How to add files?

I want to add shader files. I copied the shader file to \Glitter\Glitter\Sources directory but during runtime the file cannot be found. I placed the file in \Glitter\Build\Glitter\Debug, yet the file cannot be found.

This is how I assign the file.
Shader ourShader("3.3.shader.vs", "3.3.shader.fs"); // you can name your shader files however you like

Could you explain how the cmake generated solution configure folder/path? AFAIK, its weird than normal which makes this not really suitable for beginners.

glm/glc/matrix_transform.hpp: No such file or directory

Hello,

I've been following the tutorial on learnopengl.com and got to a point where I needed to include the matrix transformation header in glm, but for some reason make cannot find it.

Screenshot

Also I just wanted to say thank you for making this. Every once in a while I try to set up OpenGL on my own, but I am still having trouble trying to deal with CMake files and finding out what libraries to install. I'm glad I have Glitter to practice with in the meantime.

"Too many sections" error on windows mingw gcc

I am trying to compile Glitter on windows using mingw gcc compiler.
It gives "Too many sections" error.

Result of gcc --version:
gcc.exe (x86_64-win32-seh-rev0, Built by MinGW-W64 project) 8.1.0

cmake build wrong

hello! thank you for you project
but when i build your project error happens
here is the mistakes , by the way i use vs2017 and cmake 3.10
C:\Users\Administrator\Desktop\Glitter-master>cmake -G "Visual Studio 15"
-- Selecting Windows SDK version 10.0.16299.0 to target Windows 6.1.7601.
-- The C compiler identification is MSVC 19.11.25547.0
-- The CXX compiler identification is MSVC 19.11.25547.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/
2017/Community/VC/Tools/MSVC/14.11.25503/bin/Hostx86/x86/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/
2017/Community/VC/Tools/MSVC/14.11.25503/bin/Hostx86/x86/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studi
o/2017/Community/VC/Tools/MSVC/14.11.25503/bin/Hostx86/x86/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studi
o/2017/Community/VC/Tools/MSVC/14.11.25503/bin/Hostx86/x86/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:7 (add_subdirectory):
The source directory

C:/Users/Administrator/Desktop/Glitter-master/Glitter/Vendor/glfw

does not contain a CMakeLists.txt file.

CMake Error at CMakeLists.txt:12 (add_subdirectory):
The source directory

C:/Users/Administrator/Desktop/Glitter-master/Glitter/Vendor/assimp

does not contain a CMakeLists.txt file.

CMake Error at CMakeLists.txt:19 (add_subdirectory):
The source directory

C:/Users/Administrator/Desktop/Glitter-master/Glitter/Vendor/bullet

does not contain a CMakeLists.txt file.

-- Configuring incomplete, errors occurred!
See also "C:/Users/Administrator/Desktop/Glitter-master/CMakeFiles/CMakeOutput.l
og".
thank you very much

Compilation failed

Just installed and generated CMake for CodeLite.
First issue it that in CodeLite project file make is called with -j 0 switch.... may be not your project issue.
If I fix it it starts to compile then fails in the middle with an error:
error: 'wcslen' was not declared in this scope
Full message (I tried from the command line, the result is the same as in GUI:

amolchanov@AMOLCHANOV-W54 /C/src/Glitter/Build (master)
$ /C/MinGW/bin/mingw32-make.exe
[ 24%] Built target BulletCollision
[ 28%] Built target zlibstatic
Scanning dependencies of target assimp
[ 28%] Building CXX object Glitter/Vendor/assimp/code/CMakeFiles/assimp.dir/Assimp.cpp.obj
In file included from c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\bits\postypes.h:40:0,
from c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\bits\char_traits.h:40,
from c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\string:40,
from C:/src/Glitter/Glitter/Vendor/assimp/include/assimp/types.h:70,
from C:/src/Glitter/Glitter/Vendor/assimp/include/assimp/cimport.h:49,
from C:\src\Glitter\Glitter\Vendor\assimp\code\Assimp.cpp:45:
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar:177:11: error: '::wcscat' has not been declared
using ::wcscat;
^
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar:178:11: error: '::wcscmp' has not been declared
using ::wcscmp;
^
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar:179:11: error: '::wcscoll' has not been declared
using ::wcscoll;
^
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar:180:11: error: '::wcscpy' has not been declared
using ::wcscpy;
^
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar:181:11: error: '::wcscspn' has not been declared
using ::wcscspn;
^
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar:183:11: error: '::wcslen' has not been declared
using ::wcslen;
^
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar:184:11: error: '::wcsncat' has not been declared
using ::wcsncat;
^
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar:185:11: error: '::wcsncmp' has not been declared
using ::wcsncmp;
^
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar:186:11: error: '::wcsncpy' has not been declared
using ::wcsncpy;
^
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar:188:11: error: '::wcsspn' has not been declared
using ::wcsspn;
^
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar:193:11: error: '::wcstok' has not been declared
using ::wcstok;
^
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar:196:11: error: '::wcsxfrm' has not been declared
using ::wcsxfrm;
^
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar:204:11: error: '::wcschr' has not been declared
using ::wcschr;
^
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar:205:11: error: '::wcspbrk' has not been declared
using ::wcspbrk;
^
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar:206:11: error: '::wcsrchr' has not been declared
using ::wcsrchr;
^
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar:207:11: error: '::wcsstr' has not been declared
using ::wcsstr;
^
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar: In function 'wchar_t* std::wcschr(wchar_t_, wchar_t)':
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar:213:55: error: invalid conversion from 'const wchar_t_' to 'wchar_t_' [-fpermissive]
{ return wcschr(const_cast(__p), c); }
^
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar:212:3: note: initializing argument 1 of 'wchar_t* std::wcschr(wchar_t
, wchar_t)'
wcschr(wchar_t
p, wchar_t c)
^
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar: In function 'wchar_t* std::wcspbrk(wchar_t
, const wchar_t
)':
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar:217:58: error: invalid conversion from 'const wchar_t
' to 'wchar_t
' [-fpermissive]
{ return wcspbrk(const_cast<const wchar_t*>(__s1), s2); }
^
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar:216:3: note: initializing argument 1 of 'wchar_t* std::wcspbrk(wchar_t
, const wchar_t
)'
wcspbrk(wchar_t* _s1, const wchar_t* s2)
^
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar: In function 'wchar_t* std::wcsrchr(wchar_t
, wchar_t)':
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar:221:56: error: invalid conversion from 'const wchar_t
' to 'wchar_t
' [-fpermissive]
{ return wcsrchr(const_cast(__p), c); }
^
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar:220:3: note: initializing argument 1 of 'wchar_t* std::wcsrchr(wchar_t
, wchar_t)'
wcsrchr(wchar_t
p, wchar_t c)
^
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar: In function 'wchar_t* std::wcsstr(wchar_t
, const wchar_t
)':
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar:225:57: error: invalid conversion from 'const wchar_t
' to 'wchar_t
' [-fpermissive]
{ return wcsstr(const_cast<const wchar_t*>(__s1), s2); }
^
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar:224:3: note: initializing argument 1 of 'wchar_t* std::wcsstr(wchar_t
, const wchar_t
)'
wcsstr(wchar_t* __s1, const wchar_t* _s2)
^
In file included from c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\string:40:0,
from C:/src/Glitter/Glitter/Vendor/assimp/include/assimp/types.h:70,
from C:/src/Glitter/Glitter/Vendor/assimp/include/assimp/cimport.h:49,
from C:\src\Glitter\Glitter\Vendor\assimp\code\Assimp.cpp:45:
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\bits\char_traits.h: In static member function 'static std::size_t std::char_traits<wchar_t>::length(const char_type
)
':
c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\bits\char_traits.h:358:26: error: 'wcslen' was not declared in this scope
{ return wcslen(__s); }
^
Glitter\Vendor\assimp\code\CMakeFiles\assimp.dir\build.make:62: recipe for target 'Glitter/Vendor/assimp/code/CMakeFiles/assimp.dir/Assimp.cpp.obj' failed
mingw32-make[2]: *_* [Glitter/Vendor/assimp/code/CMakeFiles/assimp.dir/Assimp.cpp.obj] Error 1
CMakeFiles\Makefile2:308: recipe for target 'Glitter/Vendor/assimp/code/CMakeFiles/assimp.dir/all' failed
mingw32-make[1]: *** [Glitter/Vendor/assimp/code/CMakeFiles/assimp.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

Shader class linking problem

Hello,
I've run into a little problem where I can't link the Shader class that we created from the tutorial. I made my own Shader class, but I can't seem to find a way to link it to be able to use the functions from the class. I have followed everything exactly from the LearnOpenGL tutorial, but a little confused on where I was supposed to save the header file.

UPDATE: I was able to fix the issue and it has compiled with the shader class!
Thank you,
Justin A

Failed to Build

$ cmake -G "Xcode" ..
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler using: Xcode
-- Check for working C compiler using: Xcode -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler using: Xcode
-- Check for working CXX compiler using: Xcode -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:14 (add_subdirectory):
  The source directory

    /Users/administrator/Projects/Glitter/Glitter/Vendor/glfw

  does not contain a CMakeLists.txt file.


CMake Error at CMakeLists.txt:19 (add_subdirectory):
  The source directory

    /Users/administrator/Projects/Glitter/Glitter/Vendor/assimp

  does not contain a CMakeLists.txt file.


-- Configuring incomplete, errors occurred!
See also "/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeOutput.log".
$ cat CMakeOutput.log
The system is: Darwin - 14.4.0 - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler:  
Build flags: 
Id flags: 

The output was:
0
=== BUILD TARGET CompilerIdC OF PROJECT CompilerIdC WITH THE DEFAULT CONFIGURATION (Debug) ===

Check dependencies

Write auxiliary files
/bin/mkdir -p /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build
write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC.hmap
write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-project-headers.hmap
write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-target-headers.hmap
/bin/mkdir -p /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64
write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC.LinkFileList
write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh
chmod 0755 /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh
write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-non-framework-target-headers.hmap
write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-generated-files.hmap
write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-own-target-headers.hmap

CompileC CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.o CMakeCCompilerId.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mmacosx-version-min=10.10 -g -fvisibility=hidden -Wno-sign-conversion -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC.hmap -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/DerivedSources/x86_64 -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/DerivedSources -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC -MMD -MT dependencies -MF /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.d --serialize-diagnostics /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.dia -c /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC/CMakeCCompilerId.c -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.o

Ld CompilerIdC normal x86_64
    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC
    export MACOSX_DEPLOYMENT_TARGET=10.10
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -L/Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC -filelist /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC.LinkFileList -mmacosx-version-min=10.10 -Xlinker -dependency_info -Xlinker /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC_dependency_info.dat -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC/CompilerIdC

PhaseScriptExecution Run\ Script CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh
    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC
    /bin/sh -c /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh
GCC_VERSION=com.apple.compilers.llvm.clang.1_0

** BUILD SUCCEEDED **



Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC"

The C compiler identification is AppleClang, found in "/Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdC/CompilerIdC"

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler:  
Build flags: 
Id flags: 

The output was:
0
=== BUILD TARGET CompilerIdCXX OF PROJECT CompilerIdCXX WITH THE DEFAULT CONFIGURATION (Debug) ===

Check dependencies

Write auxiliary files
/bin/mkdir -p /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build
write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/CompilerIdCXX-own-target-headers.hmap
write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/CompilerIdCXX-generated-files.hmap
/bin/mkdir -p /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/Objects-normal/x86_64
write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/Objects-normal/x86_64/CompilerIdCXX.LinkFileList
write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/CompilerIdCXX-project-headers.hmap
write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/CompilerIdCXX-all-target-headers.hmap
write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh
chmod 0755 /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh
write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/CompilerIdCXX-all-non-framework-target-headers.hmap
write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/CompilerIdCXX.hmap

CompileC CompilerIdCXX.build/Debug/CompilerIdCXX.build/Objects-normal/x86_64/CMakeCXXCompilerId.o CMakeCXXCompilerId.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.10 -g -fvisibility=hidden -fvisibility-inlines-hidden -Wno-sign-conversion -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/CompilerIdCXX.hmap -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/DerivedSources/x86_64 -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/DerivedSources -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX -MMD -MT dependencies -MF /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/Objects-normal/x86_64/CMakeCXXCompilerId.d --serialize-diagnostics /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/Objects-normal/x86_64/CMakeCXXCompilerId.dia -c /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX/CMakeCXXCompilerId.cpp -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/Objects-normal/x86_64/CMakeCXXCompilerId.o

Ld CompilerIdCXX normal x86_64
    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX
    export MACOSX_DEPLOYMENT_TARGET=10.10
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -L/Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX -filelist /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/Objects-normal/x86_64/CompilerIdCXX.LinkFileList -mmacosx-version-min=10.10 -Xlinker -dependency_info -Xlinker /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/Objects-normal/x86_64/CompilerIdCXX_dependency_info.dat -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX/CompilerIdCXX

PhaseScriptExecution Run\ Script CompilerIdCXX.build/Debug/CompilerIdCXX.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh
    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX
    /bin/sh -c /Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh
GCC_VERSION=com.apple.compilers.llvm.clang.1_0

** BUILD SUCCEEDED **



Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX"

The CXX compiler identification is AppleClang, found in "/Users/administrator/Projects/Glitter/Build/CMakeFiles/3.3.1/CompilerIdCXX/CompilerIdCXX"

Determining if the C compiler works passed with the following output:
Change Dir: /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/xcodebuild" "-project" "CMAKE_TRY_COMPILE.xcodeproj" "build" "-target" "cmTC_3c1e5" "-configuration" "Debug"
=== BUILD TARGET cmTC_3c1e5 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug ===

Check dependencies

Write auxiliary files
/bin/mkdir -p /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3c1e5.build/Objects-normal/x86_64
write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3c1e5.build/Objects-normal/x86_64/cmTC_3c1e5.LinkFileList

CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_3c1e5.build/Objects-normal/x86_64/testCCompiler.o testCCompiler.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mmacosx-version-min=10.10 -g -Wno-sign-conversion -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3c1e5.build/DerivedSources/x86_64 -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3c1e5.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3c1e5.build/Objects-normal/x86_64/testCCompiler.d --serialize-diagnostics /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3c1e5.build/Objects-normal/x86_64/testCCompiler.dia -c /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/testCCompiler.c -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3c1e5.build/Objects-normal/x86_64/testCCompiler.o

Ld Debug/cmTC_3c1e5 normal x86_64
    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp
    export MACOSX_DEPLOYMENT_TARGET=10.10
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -L/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -filelist /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3c1e5.build/Objects-normal/x86_64/cmTC_3c1e5.LinkFileList -mmacosx-version-min=10.10 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3c1e5.build/Objects-normal/x86_64/cmTC_3c1e5_dependency_info.dat -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/cmTC_3c1e5

** BUILD SUCCEEDED **



Detecting C compiler ABI info compiled with the following output:
Change Dir: /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/xcodebuild" "-project" "CMAKE_TRY_COMPILE.xcodeproj" "build" "-target" "cmTC_f4edd" "-configuration" "Debug"
=== BUILD TARGET cmTC_f4edd OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug ===

Check dependencies

Write auxiliary files
/bin/mkdir -p /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/Objects-normal/x86_64
write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/Objects-normal/x86_64/cmTC_f4edd.LinkFileList

CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/Objects-normal/x86_64/CMakeCCompilerABI.o /usr/local/Cellar/cmake/3.3.1/share/cmake/Modules/CMakeCCompilerABI.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mmacosx-version-min=10.10 -g -Wno-sign-conversion -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/DerivedSources/x86_64 -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/Objects-normal/x86_64/CMakeCCompilerABI.d --serialize-diagnostics /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/Objects-normal/x86_64/CMakeCCompilerABI.dia -c /usr/local/Cellar/cmake/3.3.1/share/cmake/Modules/CMakeCCompilerABI.c -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/Objects-normal/x86_64/CMakeCCompilerABI.o

Ld Debug/cmTC_f4edd normal x86_64
    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp
    export MACOSX_DEPLOYMENT_TARGET=10.10
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -L/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -filelist /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/Objects-normal/x86_64/cmTC_f4edd.LinkFileList -mmacosx-version-min=10.10 -v -Wl,-v -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/Objects-normal/x86_64/cmTC_f4edd_dependency_info.dat -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/cmTC_f4edd
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.4.0
Thread model: posix
 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.10.0 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/cmTC_f4edd -L/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -filelist /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/Objects-normal/x86_64/cmTC_f4edd.LinkFileList -v -search_paths_first -headerpad_max_install_names -dependency_info /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/Objects-normal/x86_64/cmTC_f4edd_dependency_info.dat -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0/lib/darwin/libclang_rt.osx.a -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug
@(#)PROGRAM:ld  PROJECT:ld64-242.2
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7m armv7em
Library search paths:
    /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib
Framework search paths:
    /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/

** BUILD SUCCEEDED **



Parsed C implicit link information from above output:
  link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
  ignore line: [Change Dir: /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp]
  ignore line: []
  ignore line: [Run Build Command:"/usr/bin/xcodebuild" "-project" "CMAKE_TRY_COMPILE.xcodeproj" "build" "-target" "cmTC_f4edd" "-configuration" "Debug"]
  ignore line: [=== BUILD TARGET cmTC_f4edd OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug ===]
  ignore line: []
  ignore line: [Check dependencies]
  ignore line: []
  ignore line: [Write auxiliary files]
  ignore line: [/bin/mkdir -p /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/Objects-normal/x86_64]
  ignore line: [write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/Objects-normal/x86_64/cmTC_f4edd.LinkFileList]
  ignore line: []
  ignore line: [CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/Objects-normal/x86_64/CMakeCCompilerABI.o /usr/local/Cellar/cmake/3.3.1/share/cmake/Modules/CMakeCCompilerABI.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler]
  ignore line: [    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp]
  ignore line: [    export LANG=en_US.US-ASCII]
  ignore line: [    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mmacosx-version-min=10.10 -g -Wno-sign-conversion -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/DerivedSources/x86_64 -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/Objects-normal/x86_64/CMakeCCompilerABI.d --serialize-diagnostics /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/Objects-normal/x86_64/CMakeCCompilerABI.dia -c /usr/local/Cellar/cmake/3.3.1/share/cmake/Modules/CMakeCCompilerABI.c -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/Objects-normal/x86_64/CMakeCCompilerABI.o]
  ignore line: []
  ignore line: [Ld Debug/cmTC_f4edd normal x86_64]
  ignore line: [    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp]
  ignore line: [    export MACOSX_DEPLOYMENT_TARGET=10.10]
  ignore line: [    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -L/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -filelist /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/Objects-normal/x86_64/cmTC_f4edd.LinkFileList -mmacosx-version-min=10.10 -v -Wl,-v -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/Objects-normal/x86_64/cmTC_f4edd_dependency_info.dat -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/cmTC_f4edd]
  ignore line: [Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)]
  ignore line: [Target: x86_64-apple-darwin14.4.0]
  ignore line: [Thread model: posix]
  reduced line: [ "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.10.0 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/cmTC_f4edd -L/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -filelist /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/Objects-normal/x86_64/cmTC_f4edd.LinkFileList -v -search_paths_first -headerpad_max_install_names -dependency_info /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/Objects-normal/x86_64/cmTC_f4edd_dependency_info.dat -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0/lib/darwin/libclang_rt.osx.a -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug]
            to: [ "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.10.0 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/cmTC_f4edd -filelist /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/Objects-normal/x86_64/cmTC_f4edd.LinkFileList -v -search_paths_first -headerpad_max_install_names -dependency_info /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/Objects-normal/x86_64/cmTC_f4edd_dependency_info.dat -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0/lib/darwin/libclang_rt.osx.a ]
  link line: [ "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.10.0 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/cmTC_f4edd -filelist /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/Objects-normal/x86_64/cmTC_f4edd.LinkFileList -v -search_paths_first -headerpad_max_install_names -dependency_info /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/Objects-normal/x86_64/cmTC_f4edd_dependency_info.dat -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0/lib/darwin/libclang_rt.osx.a ]
    arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld] ==> ignore
    arg [-demangle] ==> ignore
    arg [-dynamic] ==> ignore
    arg [-arch] ==> ignore
    arg [x86_64] ==> ignore
    arg [-macosx_version_min] ==> ignore
    arg [10.10.0] ==> ignore
    arg [-syslibroot] ==> ignore
    arg [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk] ==> ignore
    arg [-o] ==> ignore
    arg [/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/cmTC_f4edd] ==> ignore
    arg [-filelist] ==> ignore
    arg [/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/Objects-normal/x86_64/cmTC_f4edd.LinkFileList] ==> ignore
    arg [-v] ==> ignore
    arg [-search_paths_first] ==> ignore
    arg [-headerpad_max_install_names] ==> ignore
    arg [-dependency_info] ==> ignore
    arg [/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f4edd.build/Objects-normal/x86_64/cmTC_f4edd_dependency_info.dat] ==> ignore
    arg [-lSystem] ==> lib [System]
    arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0/lib/darwin/libclang_rt.osx.a] ==> lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0/lib/darwin/libclang_rt.osx.a]
  Library search paths: [;/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib]
  Framework search paths: [;/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/]
  remove lib [System]
  collapse lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0/lib/darwin/libclang_rt.osx.a] ==> [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.1.0/lib/darwin/libclang_rt.osx.a]
  collapse library dir [/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug] ==> [/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug], skipping non-system directory
  collapse library dir [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib] ==> [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib]
  collapse framework dir [/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug] ==> [/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug], skipping non-system directory
  collapse framework dir [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/] ==> [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks]
  implicit libs: [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.1.0/lib/darwin/libclang_rt.osx.a]
  implicit dirs: [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib]
  implicit fwks: [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks]




Detecting C [-std=c11] compiler features compiled with the following output:
Change Dir: /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/xcodebuild" "-project" "CMAKE_TRY_COMPILE.xcodeproj" "build" "-target" "cmTC_7ba37" "-configuration" "Debug"
=== BUILD TARGET cmTC_7ba37 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug ===

Check dependencies

Write auxiliary files
/bin/mkdir -p /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_7ba37.build/Objects-normal/x86_64
write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_7ba37.build/Objects-normal/x86_64/cmTC_7ba37.LinkFileList

CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_7ba37.build/Objects-normal/x86_64/feature_tests.o /Users/administrator/Projects/Glitter/Build/CMakeFiles/feature_tests.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mmacosx-version-min=10.10 -g -Wno-sign-conversion -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_7ba37.build/DerivedSources/x86_64 -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_7ba37.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -std=c11 -MMD -MT dependencies -MF /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_7ba37.build/Objects-normal/x86_64/feature_tests.d --serialize-diagnostics /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_7ba37.build/Objects-normal/x86_64/feature_tests.dia -c /Users/administrator/Projects/Glitter/Build/CMakeFiles/feature_tests.c -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_7ba37.build/Objects-normal/x86_64/feature_tests.o

Ld Debug/cmTC_7ba37 normal x86_64
    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp
    export MACOSX_DEPLOYMENT_TARGET=10.10
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -L/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -filelist /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_7ba37.build/Objects-normal/x86_64/cmTC_7ba37.LinkFileList -mmacosx-version-min=10.10 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_7ba37.build/Objects-normal/x86_64/cmTC_7ba37_dependency_info.dat -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/cmTC_7ba37

** BUILD SUCCEEDED **



    Feature record: C_FEATURE:1c_function_prototypes
    Feature record: C_FEATURE:1c_restrict
    Feature record: C_FEATURE:1c_static_assert
    Feature record: C_FEATURE:1c_variadic_macros


Detecting C [-std=c99] compiler features compiled with the following output:
Change Dir: /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/xcodebuild" "-project" "CMAKE_TRY_COMPILE.xcodeproj" "build" "-target" "cmTC_7ee97" "-configuration" "Debug"
=== BUILD TARGET cmTC_7ee97 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug ===

Check dependencies

Write auxiliary files
/bin/mkdir -p /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_7ee97.build/Objects-normal/x86_64
write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_7ee97.build/Objects-normal/x86_64/cmTC_7ee97.LinkFileList

CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_7ee97.build/Objects-normal/x86_64/feature_tests.o /Users/administrator/Projects/Glitter/Build/CMakeFiles/feature_tests.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mmacosx-version-min=10.10 -g -Wno-sign-conversion -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_7ee97.build/DerivedSources/x86_64 -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_7ee97.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -std=c99 -MMD -MT dependencies -MF /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_7ee97.build/Objects-normal/x86_64/feature_tests.d --serialize-diagnostics /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_7ee97.build/Objects-normal/x86_64/feature_tests.dia -c /Users/administrator/Projects/Glitter/Build/CMakeFiles/feature_tests.c -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_7ee97.build/Objects-normal/x86_64/feature_tests.o

Ld Debug/cmTC_7ee97 normal x86_64
    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp
    export MACOSX_DEPLOYMENT_TARGET=10.10
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -L/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -filelist /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_7ee97.build/Objects-normal/x86_64/cmTC_7ee97.LinkFileList -mmacosx-version-min=10.10 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_7ee97.build/Objects-normal/x86_64/cmTC_7ee97_dependency_info.dat -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/cmTC_7ee97

** BUILD SUCCEEDED **



    Feature record: C_FEATURE:1c_function_prototypes
    Feature record: C_FEATURE:1c_restrict
    Feature record: C_FEATURE:0c_static_assert
    Feature record: C_FEATURE:1c_variadic_macros


Detecting C [-std=c90] compiler features compiled with the following output:
Change Dir: /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/xcodebuild" "-project" "CMAKE_TRY_COMPILE.xcodeproj" "build" "-target" "cmTC_f7744" "-configuration" "Debug"
=== BUILD TARGET cmTC_f7744 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug ===

Check dependencies

Write auxiliary files
/bin/mkdir -p /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f7744.build/Objects-normal/x86_64
write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f7744.build/Objects-normal/x86_64/cmTC_f7744.LinkFileList

CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_f7744.build/Objects-normal/x86_64/feature_tests.o /Users/administrator/Projects/Glitter/Build/CMakeFiles/feature_tests.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mmacosx-version-min=10.10 -g -Wno-sign-conversion -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f7744.build/DerivedSources/x86_64 -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f7744.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -std=c90 -MMD -MT dependencies -MF /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f7744.build/Objects-normal/x86_64/feature_tests.d --serialize-diagnostics /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f7744.build/Objects-normal/x86_64/feature_tests.dia -c /Users/administrator/Projects/Glitter/Build/CMakeFiles/feature_tests.c -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f7744.build/Objects-normal/x86_64/feature_tests.o

Ld Debug/cmTC_f7744 normal x86_64
    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp
    export MACOSX_DEPLOYMENT_TARGET=10.10
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -L/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -filelist /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f7744.build/Objects-normal/x86_64/cmTC_f7744.LinkFileList -mmacosx-version-min=10.10 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f7744.build/Objects-normal/x86_64/cmTC_f7744_dependency_info.dat -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/cmTC_f7744

** BUILD SUCCEEDED **



    Feature record: C_FEATURE:1c_function_prototypes
    Feature record: C_FEATURE:0c_restrict
    Feature record: C_FEATURE:0c_static_assert
    Feature record: C_FEATURE:0c_variadic_macros
Determining if the CXX compiler works passed with the following output:
Change Dir: /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/xcodebuild" "-project" "CMAKE_TRY_COMPILE.xcodeproj" "build" "-target" "cmTC_e1cad" "-configuration" "Debug"
=== BUILD TARGET cmTC_e1cad OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug ===

Check dependencies

Write auxiliary files
/bin/mkdir -p /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1cad.build/Objects-normal/x86_64
write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1cad.build/Objects-normal/x86_64/cmTC_e1cad.LinkFileList

CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_e1cad.build/Objects-normal/x86_64/testCXXCompiler.o testCXXCompiler.cxx normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.10 -g -Wno-sign-conversion -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1cad.build/DerivedSources/x86_64 -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1cad.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1cad.build/Objects-normal/x86_64/testCXXCompiler.d --serialize-diagnostics /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1cad.build/Objects-normal/x86_64/testCXXCompiler.dia -c /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1cad.build/Objects-normal/x86_64/testCXXCompiler.o

Ld Debug/cmTC_e1cad normal x86_64
    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp
    export MACOSX_DEPLOYMENT_TARGET=10.10
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -L/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -filelist /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1cad.build/Objects-normal/x86_64/cmTC_e1cad.LinkFileList -mmacosx-version-min=10.10 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1cad.build/Objects-normal/x86_64/cmTC_e1cad_dependency_info.dat -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/cmTC_e1cad

** BUILD SUCCEEDED **



Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/xcodebuild" "-project" "CMAKE_TRY_COMPILE.xcodeproj" "build" "-target" "cmTC_dc33a" "-configuration" "Debug"
=== BUILD TARGET cmTC_dc33a OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug ===

Check dependencies

Write auxiliary files
/bin/mkdir -p /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/Objects-normal/x86_64
write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/Objects-normal/x86_64/cmTC_dc33a.LinkFileList

CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/Objects-normal/x86_64/CMakeCXXCompilerABI.o /usr/local/Cellar/cmake/3.3.1/share/cmake/Modules/CMakeCXXCompilerABI.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.10 -g -Wno-sign-conversion -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/DerivedSources/x86_64 -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/Objects-normal/x86_64/CMakeCXXCompilerABI.d --serialize-diagnostics /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/Objects-normal/x86_64/CMakeCXXCompilerABI.dia -c /usr/local/Cellar/cmake/3.3.1/share/cmake/Modules/CMakeCXXCompilerABI.cpp -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/Objects-normal/x86_64/CMakeCXXCompilerABI.o

Ld Debug/cmTC_dc33a normal x86_64
    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp
    export MACOSX_DEPLOYMENT_TARGET=10.10
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -L/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -filelist /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/Objects-normal/x86_64/cmTC_dc33a.LinkFileList -mmacosx-version-min=10.10 -v -Wl,-v -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/Objects-normal/x86_64/cmTC_dc33a_dependency_info.dat -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/cmTC_dc33a
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.4.0
Thread model: posix
 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.10.0 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/cmTC_dc33a -L/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -filelist /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/Objects-normal/x86_64/cmTC_dc33a.LinkFileList -v -search_paths_first -headerpad_max_install_names -dependency_info /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/Objects-normal/x86_64/cmTC_dc33a_dependency_info.dat -lc++ -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0/lib/darwin/libclang_rt.osx.a -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug
@(#)PROGRAM:ld  PROJECT:ld64-242.2
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7m armv7em
Library search paths:
    /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib
Framework search paths:
    /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/

** BUILD SUCCEEDED **



Parsed CXX implicit link information from above output:
  link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
  ignore line: [Change Dir: /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp]
  ignore line: []
  ignore line: [Run Build Command:"/usr/bin/xcodebuild" "-project" "CMAKE_TRY_COMPILE.xcodeproj" "build" "-target" "cmTC_dc33a" "-configuration" "Debug"]
  ignore line: [=== BUILD TARGET cmTC_dc33a OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug ===]
  ignore line: []
  ignore line: [Check dependencies]
  ignore line: []
  ignore line: [Write auxiliary files]
  ignore line: [/bin/mkdir -p /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/Objects-normal/x86_64]
  ignore line: [write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/Objects-normal/x86_64/cmTC_dc33a.LinkFileList]
  ignore line: []
  ignore line: [CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/Objects-normal/x86_64/CMakeCXXCompilerABI.o /usr/local/Cellar/cmake/3.3.1/share/cmake/Modules/CMakeCXXCompilerABI.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler]
  ignore line: [    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp]
  ignore line: [    export LANG=en_US.US-ASCII]
  ignore line: [    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.10 -g -Wno-sign-conversion -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/DerivedSources/x86_64 -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/Objects-normal/x86_64/CMakeCXXCompilerABI.d --serialize-diagnostics /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/Objects-normal/x86_64/CMakeCXXCompilerABI.dia -c /usr/local/Cellar/cmake/3.3.1/share/cmake/Modules/CMakeCXXCompilerABI.cpp -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/Objects-normal/x86_64/CMakeCXXCompilerABI.o]
  ignore line: []
  ignore line: [Ld Debug/cmTC_dc33a normal x86_64]
  ignore line: [    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp]
  ignore line: [    export MACOSX_DEPLOYMENT_TARGET=10.10]
  ignore line: [    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -L/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -filelist /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/Objects-normal/x86_64/cmTC_dc33a.LinkFileList -mmacosx-version-min=10.10 -v -Wl,-v -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/Objects-normal/x86_64/cmTC_dc33a_dependency_info.dat -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/cmTC_dc33a]
  ignore line: [Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)]
  ignore line: [Target: x86_64-apple-darwin14.4.0]
  ignore line: [Thread model: posix]
  reduced line: [ "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.10.0 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/cmTC_dc33a -L/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -filelist /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/Objects-normal/x86_64/cmTC_dc33a.LinkFileList -v -search_paths_first -headerpad_max_install_names -dependency_info /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/Objects-normal/x86_64/cmTC_dc33a_dependency_info.dat -lc++ -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0/lib/darwin/libclang_rt.osx.a -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug]
            to: [ "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.10.0 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/cmTC_dc33a -filelist /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/Objects-normal/x86_64/cmTC_dc33a.LinkFileList -v -search_paths_first -headerpad_max_install_names -dependency_info /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/Objects-normal/x86_64/cmTC_dc33a_dependency_info.dat -lc++ -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0/lib/darwin/libclang_rt.osx.a ]
  link line: [ "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.10.0 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/cmTC_dc33a -filelist /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/Objects-normal/x86_64/cmTC_dc33a.LinkFileList -v -search_paths_first -headerpad_max_install_names -dependency_info /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/Objects-normal/x86_64/cmTC_dc33a_dependency_info.dat -lc++ -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0/lib/darwin/libclang_rt.osx.a ]
    arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld] ==> ignore
    arg [-demangle] ==> ignore
    arg [-dynamic] ==> ignore
    arg [-arch] ==> ignore
    arg [x86_64] ==> ignore
    arg [-macosx_version_min] ==> ignore
    arg [10.10.0] ==> ignore
    arg [-syslibroot] ==> ignore
    arg [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk] ==> ignore
    arg [-o] ==> ignore
    arg [/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/cmTC_dc33a] ==> ignore
    arg [-filelist] ==> ignore
    arg [/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/Objects-normal/x86_64/cmTC_dc33a.LinkFileList] ==> ignore
    arg [-v] ==> ignore
    arg [-search_paths_first] ==> ignore
    arg [-headerpad_max_install_names] ==> ignore
    arg [-dependency_info] ==> ignore
    arg [/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dc33a.build/Objects-normal/x86_64/cmTC_dc33a_dependency_info.dat] ==> ignore
    arg [-lc++] ==> lib [c++]
    arg [-lSystem] ==> lib [System]
    arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0/lib/darwin/libclang_rt.osx.a] ==> lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0/lib/darwin/libclang_rt.osx.a]
  Library search paths: [;/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib]
  Framework search paths: [;/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/]
  remove lib [System]
  collapse lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0/lib/darwin/libclang_rt.osx.a] ==> [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.1.0/lib/darwin/libclang_rt.osx.a]
  collapse library dir [/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug] ==> [/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug], skipping non-system directory
  collapse library dir [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib] ==> [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib]
  collapse framework dir [/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug] ==> [/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug], skipping non-system directory
  collapse framework dir [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/] ==> [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks]
  implicit libs: [c++;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.1.0/lib/darwin/libclang_rt.osx.a]
  implicit dirs: [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib]
  implicit fwks: [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks]




Detecting CXX [-std=c++1y] compiler features compiled with the following output:
Change Dir: /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/xcodebuild" "-project" "CMAKE_TRY_COMPILE.xcodeproj" "build" "-target" "cmTC_cbf2b" "-configuration" "Debug"
=== BUILD TARGET cmTC_cbf2b OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug ===

Check dependencies

Write auxiliary files
/bin/mkdir -p /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_cbf2b.build/Objects-normal/x86_64
write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_cbf2b.build/Objects-normal/x86_64/cmTC_cbf2b.LinkFileList

CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_cbf2b.build/Objects-normal/x86_64/feature_tests.o /Users/administrator/Projects/Glitter/Build/CMakeFiles/feature_tests.cxx normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.10 -g -Wno-sign-conversion -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_cbf2b.build/DerivedSources/x86_64 -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_cbf2b.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -std=c++1y -MMD -MT dependencies -MF /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_cbf2b.build/Objects-normal/x86_64/feature_tests.d --serialize-diagnostics /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_cbf2b.build/Objects-normal/x86_64/feature_tests.dia -c /Users/administrator/Projects/Glitter/Build/CMakeFiles/feature_tests.cxx -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_cbf2b.build/Objects-normal/x86_64/feature_tests.o

Ld Debug/cmTC_cbf2b normal x86_64
    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp
    export MACOSX_DEPLOYMENT_TARGET=10.10
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -L/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -filelist /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_cbf2b.build/Objects-normal/x86_64/cmTC_cbf2b.LinkFileList -mmacosx-version-min=10.10 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_cbf2b.build/Objects-normal/x86_64/cmTC_cbf2b_dependency_info.dat -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/cmTC_cbf2b

** BUILD SUCCEEDED **



    Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers
    Feature record: CXX_FEATURE:1cxx_alias_templates
    Feature record: CXX_FEATURE:1cxx_alignas
    Feature record: CXX_FEATURE:1cxx_alignof
    Feature record: CXX_FEATURE:1cxx_attributes
    Feature record: CXX_FEATURE:1cxx_attribute_deprecated
    Feature record: CXX_FEATURE:1cxx_auto_type
    Feature record: CXX_FEATURE:1cxx_binary_literals
    Feature record: CXX_FEATURE:1cxx_constexpr
    Feature record: CXX_FEATURE:1cxx_contextual_conversions
    Feature record: CXX_FEATURE:1cxx_decltype
    Feature record: CXX_FEATURE:1cxx_decltype_auto
    Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
    Feature record: CXX_FEATURE:1cxx_default_function_template_args
    Feature record: CXX_FEATURE:1cxx_defaulted_functions
    Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
    Feature record: CXX_FEATURE:1cxx_delegating_constructors
    Feature record: CXX_FEATURE:1cxx_deleted_functions
    Feature record: CXX_FEATURE:1cxx_digit_separators
    Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
    Feature record: CXX_FEATURE:1cxx_explicit_conversions
    Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
    Feature record: CXX_FEATURE:1cxx_extern_templates
    Feature record: CXX_FEATURE:1cxx_final
    Feature record: CXX_FEATURE:1cxx_func_identifier
    Feature record: CXX_FEATURE:1cxx_generalized_initializers
    Feature record: CXX_FEATURE:1cxx_generic_lambdas
    Feature record: CXX_FEATURE:1cxx_inheriting_constructors
    Feature record: CXX_FEATURE:1cxx_inline_namespaces
    Feature record: CXX_FEATURE:1cxx_lambdas
    Feature record: CXX_FEATURE:1cxx_lambda_init_captures
    Feature record: CXX_FEATURE:1cxx_local_type_template_args
    Feature record: CXX_FEATURE:1cxx_long_long_type
    Feature record: CXX_FEATURE:1cxx_noexcept
    Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
    Feature record: CXX_FEATURE:1cxx_nullptr
    Feature record: CXX_FEATURE:1cxx_override
    Feature record: CXX_FEATURE:1cxx_range_for
    Feature record: CXX_FEATURE:1cxx_raw_string_literals
    Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
    Feature record: CXX_FEATURE:1cxx_relaxed_constexpr
    Feature record: CXX_FEATURE:1cxx_return_type_deduction
    Feature record: CXX_FEATURE:1cxx_right_angle_brackets
    Feature record: CXX_FEATURE:1cxx_rvalue_references
    Feature record: CXX_FEATURE:1cxx_sizeof_member
    Feature record: CXX_FEATURE:1cxx_static_assert
    Feature record: CXX_FEATURE:1cxx_strong_enums
    Feature record: CXX_FEATURE:1cxx_template_template_parameters
    Feature record: CXX_FEATURE:0cxx_thread_local
    Feature record: CXX_FEATURE:1cxx_trailing_return_types
    Feature record: CXX_FEATURE:1cxx_unicode_literals
    Feature record: CXX_FEATURE:1cxx_uniform_initialization
    Feature record: CXX_FEATURE:1cxx_unrestricted_unions
    Feature record: CXX_FEATURE:1cxx_user_literals
    Feature record: CXX_FEATURE:1cxx_variable_templates
    Feature record: CXX_FEATURE:1cxx_variadic_macros
    Feature record: CXX_FEATURE:1cxx_variadic_templates


Detecting CXX [-std=c++11] compiler features compiled with the following output:
Change Dir: /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/xcodebuild" "-project" "CMAKE_TRY_COMPILE.xcodeproj" "build" "-target" "cmTC_15f9c" "-configuration" "Debug"
=== BUILD TARGET cmTC_15f9c OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug ===

Check dependencies

Write auxiliary files
/bin/mkdir -p /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_15f9c.build/Objects-normal/x86_64
write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_15f9c.build/Objects-normal/x86_64/cmTC_15f9c.LinkFileList

CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_15f9c.build/Objects-normal/x86_64/feature_tests.o /Users/administrator/Projects/Glitter/Build/CMakeFiles/feature_tests.cxx normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.10 -g -Wno-sign-conversion -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_15f9c.build/DerivedSources/x86_64 -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_15f9c.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -std=c++11 -MMD -MT dependencies -MF /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_15f9c.build/Objects-normal/x86_64/feature_tests.d --serialize-diagnostics /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_15f9c.build/Objects-normal/x86_64/feature_tests.dia -c /Users/administrator/Projects/Glitter/Build/CMakeFiles/feature_tests.cxx -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_15f9c.build/Objects-normal/x86_64/feature_tests.o

Ld Debug/cmTC_15f9c normal x86_64
    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp
    export MACOSX_DEPLOYMENT_TARGET=10.10
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -L/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -filelist /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_15f9c.build/Objects-normal/x86_64/cmTC_15f9c.LinkFileList -mmacosx-version-min=10.10 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_15f9c.build/Objects-normal/x86_64/cmTC_15f9c_dependency_info.dat -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/cmTC_15f9c

** BUILD SUCCEEDED **



    Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
    Feature record: CXX_FEATURE:1cxx_alias_templates
    Feature record: CXX_FEATURE:1cxx_alignas
    Feature record: CXX_FEATURE:1cxx_alignof
    Feature record: CXX_FEATURE:1cxx_attributes
    Feature record: CXX_FEATURE:0cxx_attribute_deprecated
    Feature record: CXX_FEATURE:1cxx_auto_type
    Feature record: CXX_FEATURE:0cxx_binary_literals
    Feature record: CXX_FEATURE:1cxx_constexpr
    Feature record: CXX_FEATURE:0cxx_contextual_conversions
    Feature record: CXX_FEATURE:1cxx_decltype
    Feature record: CXX_FEATURE:0cxx_decltype_auto
    Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
    Feature record: CXX_FEATURE:1cxx_default_function_template_args
    Feature record: CXX_FEATURE:1cxx_defaulted_functions
    Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
    Feature record: CXX_FEATURE:1cxx_delegating_constructors
    Feature record: CXX_FEATURE:1cxx_deleted_functions
    Feature record: CXX_FEATURE:0cxx_digit_separators
    Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
    Feature record: CXX_FEATURE:1cxx_explicit_conversions
    Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
    Feature record: CXX_FEATURE:1cxx_extern_templates
    Feature record: CXX_FEATURE:1cxx_final
    Feature record: CXX_FEATURE:1cxx_func_identifier
    Feature record: CXX_FEATURE:1cxx_generalized_initializers
    Feature record: CXX_FEATURE:0cxx_generic_lambdas
    Feature record: CXX_FEATURE:1cxx_inheriting_constructors
    Feature record: CXX_FEATURE:1cxx_inline_namespaces
    Feature record: CXX_FEATURE:1cxx_lambdas
    Feature record: CXX_FEATURE:0cxx_lambda_init_captures
    Feature record: CXX_FEATURE:1cxx_local_type_template_args
    Feature record: CXX_FEATURE:1cxx_long_long_type
    Feature record: CXX_FEATURE:1cxx_noexcept
    Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
    Feature record: CXX_FEATURE:1cxx_nullptr
    Feature record: CXX_FEATURE:1cxx_override
    Feature record: CXX_FEATURE:1cxx_range_for
    Feature record: CXX_FEATURE:1cxx_raw_string_literals
    Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
    Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
    Feature record: CXX_FEATURE:0cxx_return_type_deduction
    Feature record: CXX_FEATURE:1cxx_right_angle_brackets
    Feature record: CXX_FEATURE:1cxx_rvalue_references
    Feature record: CXX_FEATURE:1cxx_sizeof_member
    Feature record: CXX_FEATURE:1cxx_static_assert
    Feature record: CXX_FEATURE:1cxx_strong_enums
    Feature record: CXX_FEATURE:1cxx_template_template_parameters
    Feature record: CXX_FEATURE:0cxx_thread_local
    Feature record: CXX_FEATURE:1cxx_trailing_return_types
    Feature record: CXX_FEATURE:1cxx_unicode_literals
    Feature record: CXX_FEATURE:1cxx_uniform_initialization
    Feature record: CXX_FEATURE:1cxx_unrestricted_unions
    Feature record: CXX_FEATURE:1cxx_user_literals
    Feature record: CXX_FEATURE:0cxx_variable_templates
    Feature record: CXX_FEATURE:1cxx_variadic_macros
    Feature record: CXX_FEATURE:1cxx_variadic_templates


Detecting CXX [-std=c++98] compiler features compiled with the following output:
Change Dir: /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/xcodebuild" "-project" "CMAKE_TRY_COMPILE.xcodeproj" "build" "-target" "cmTC_c42f8" "-configuration" "Debug"
=== BUILD TARGET cmTC_c42f8 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug ===

Check dependencies

Write auxiliary files
/bin/mkdir -p /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c42f8.build/Objects-normal/x86_64
write-file /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c42f8.build/Objects-normal/x86_64/cmTC_c42f8.LinkFileList

CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_c42f8.build/Objects-normal/x86_64/feature_tests.o /Users/administrator/Projects/Glitter/Build/CMakeFiles/feature_tests.cxx normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.10 -g -Wno-sign-conversion -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c42f8.build/DerivedSources/x86_64 -I/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c42f8.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -std=c++98 -MMD -MT dependencies -MF /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c42f8.build/Objects-normal/x86_64/feature_tests.d --serialize-diagnostics /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c42f8.build/Objects-normal/x86_64/feature_tests.dia -c /Users/administrator/Projects/Glitter/Build/CMakeFiles/feature_tests.cxx -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c42f8.build/Objects-normal/x86_64/feature_tests.o

Ld Debug/cmTC_c42f8 normal x86_64
    cd /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp
    export MACOSX_DEPLOYMENT_TARGET=10.10
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -L/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -F/Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug -filelist /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c42f8.build/Objects-normal/x86_64/cmTC_c42f8.LinkFileList -mmacosx-version-min=10.10 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c42f8.build/Objects-normal/x86_64/cmTC_c42f8_dependency_info.dat -o /Users/administrator/Projects/Glitter/Build/CMakeFiles/CMakeTmp/Debug/cmTC_c42f8

** BUILD SUCCEEDED **



    Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
    Feature record: CXX_FEATURE:0cxx_alias_templates
    Feature record: CXX_FEATURE:0cxx_alignas
    Feature record: CXX_FEATURE:0cxx_alignof
    Feature record: CXX_FEATURE:0cxx_attributes
    Feature record: CXX_FEATURE:0cxx_attribute_deprecated
    Feature record: CXX_FEATURE:0cxx_auto_type
    Feature record: CXX_FEATURE:0cxx_binary_literals
    Feature record: CXX_FEATURE:0cxx_constexpr
    Feature record: CXX_FEATURE:0cxx_contextual_conversions
    Feature record: CXX_FEATURE:0cxx_decltype
    Feature record: CXX_FEATURE:0cxx_decltype_auto
    Feature record: CXX_FEATURE:0cxx_decltype_incomplete_return_types
    Feature record: CXX_FEATURE:0cxx_default_function_template_args
    Feature record: CXX_FEATURE:0cxx_defaulted_functions
    Feature record: CXX_FEATURE:0cxx_defaulted_move_initializers
    Feature record: CXX_FEATURE:0cxx_delegating_constructors
    Feature record: CXX_FEATURE:0cxx_deleted_functions
    Feature record: CXX_FEATURE:0cxx_digit_separators
    Feature record: CXX_FEATURE:0cxx_enum_forward_declarations
    Feature record: CXX_FEATURE:0cxx_explicit_conversions
    Feature record: CXX_FEATURE:0cxx_extended_friend_declarations
    Feature record: CXX_FEATURE:0cxx_extern_templates
    Feature record: CXX_FEATURE:0cxx_final
    Feature record: CXX_FEATURE:0cxx_func_identifier
    Feature record: CXX_FEATURE:0cxx_generalized_initializers
    Feature record: CXX_FEATURE:0cxx_generic_lambdas
    Feature record: CXX_FEATURE:0cxx_inheriting_constructors
    Feature record: CXX_FEATURE:0cxx_inline_namespaces
    Feature record: CXX_FEATURE:0cxx_lambdas
    Feature record: CXX_FEATURE:0cxx_lambda_init_captures
    Feature record: CXX_FEATURE:0cxx_local_type_template_args
    Feature record: CXX_FEATURE:0cxx_long_long_type
    Feature record: CXX_FEATURE:0cxx_noexcept
    Feature record: CXX_FEATURE:0cxx_nonstatic_member_init
    Feature record: CXX_FEATURE:0cxx_nullptr
    Feature record: CXX_FEATURE:0cxx_override
    Feature record: CXX_FEATURE:0cxx_range_for
    Feature record: CXX_FEATURE:0cxx_raw_string_literals
    Feature record: CXX_FEATURE:0cxx_reference_qualified_functions
    Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
    Feature record: CXX_FEATURE:0cxx_return_type_deduction
    Feature record: CXX_FEATURE:0cxx_right_angle_brackets
    Feature record: CXX_FEATURE:0cxx_rvalue_references
    Feature record: CXX_FEATURE:0cxx_sizeof_member
    Feature record: CXX_FEATURE:0cxx_static_assert
    Feature record: CXX_FEATURE:0cxx_strong_enums
    Feature record: CXX_FEATURE:1cxx_template_template_parameters
    Feature record: CXX_FEATURE:0cxx_thread_local
    Feature record: CXX_FEATURE:0cxx_trailing_return_types
    Feature record: CXX_FEATURE:0cxx_unicode_literals
    Feature record: CXX_FEATURE:0cxx_uniform_initialization
    Feature record: CXX_FEATURE:0cxx_unrestricted_unions
    Feature record: CXX_FEATURE:0cxx_user_literals
    Feature record: CXX_FEATURE:0cxx_variable_templates
    Feature record: CXX_FEATURE:0cxx_variadic_macros
    Feature record: CXX_FEATURE:0cxx_variadic_templates

Remove "cd Build" from "Getting Started" instructions?

I get the following error when running cmake in the Build directory as instructed in "Getting Started":

CMake Error: The source directory "C:/Download/Graphics Libs/Glitter/Glitter/Build" does not appear to contain CMakeLists.txt.

It works fine when running it from the top-level directory. It appears that the "cd Build" step should be removed.

BTW, is the Build directory used as an interim location during the build process? I ask because I didn't see anything there either before or after building (I didn't check during the build).

No Visual Studio project created by CMake

I unzipped Glitter, and ran Cmake according to the instructions in the Readme. But it produced the following error:

CMake Error at CMakeLists.txt:7 (add_subdirectory):
The source directory

C:/Users/User/Downloads/Glitter-master/Glitter/Vendor/glfw

does not contain a CMakeLists.txt file.

And two similar errors.
I am using Windows 10, on a 64-bit machine, with Visual Studio 2015 Update 1.

Git says "SSL CA cert error"

Hello, I wanted to clone your git, and it gave me a certificate error. Should you update your cert or else? thanks.

No CMAKE_C_COMPILER could be found.

Do I need to set this beforehand? I would assume it just looks for cc and cxx, which are present on my system...

Robs-MacBook-Pro:Build rob$ cmake -G "Xcode" ..
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
CMake Error at CMakeLists.txt:2 (project):
  No CMAKE_C_COMPILER could be found.



CMake Error at CMakeLists.txt:2 (project):
  No CMAKE_CXX_COMPILER could be found.



-- Configuring incomplete, errors occurred!
See also "/Volumes/Macintosh HD/rob/dev/Glitter/Build/CMakeFiles/CMakeOutput.log".

Doesn't compile in Windows, when using non-MS compiler

Hi,

I wanted to try out OpenGL in Windows, with MinGW 5.1.0. However, I got the following error:

G__~1.EXE: error: /W4: No such file or directory

Obviously, the problem is that you're checking in CMakeLists for Windows platform (WIN32) and not MS compiler (MSVC). The only thing I didn't know is what I should do with the dl lib, so I didn't really try to correct this.

Also, it has to be said that your project is very useful for game programming newbies like me, great job! :)

Trouble running the program

Hi,

Im having an issue getting the main.cpp file to compile and run.

I am using a mac terminal for this so my steps are as follows:

1: Get the files and set up a make file

git clone --recursive https://github.com/Polytonic/Glitter
cd Glitter
cd Build
cmake ..

2: Use the make file (this runs 100% and should be generating all the dependencies)

make 

3: Attempt to compile main.cpp and run the program

cd ../Glitter/Sources
make main

And then this happens:

main.cpp:2:10: fatal error: 'glitter.hpp' file not found
#include "glitter.hpp"
         ^
1 error generated.
make: *** [main] Error 1

Just to clarify, Im working on OSX 10.11.1 & CMake Ver. 3.4.0.

Maybe Im just not doing the process correctly?

Thanks!

CMake Error, Could NOT find OpenGL

I am migrating to ubuntu from windows and decided to use Glitter to set up some opengl projects.

I cloned the repo with --recursive.
cd Build
and cmake ..

CMake Error at /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.2/Modules/FindOpenGL.cmake:168 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  Glitter/Vendor/glfw/CMakeLists.txt:88 (find_package)

Any idea why this error occurs ?

How to resuse the Glitter project setting?

To get this straight, I mean if I wanna create a new opengl project, how to reuse the setting and dependency of Glitter?

For example, after I implement the HelloWindow tutorial (LearnOpenGL) in the main.cpp, here I wanna try the HelloTriangle tutorial. But instead of wiping out the former main.cpp file, here I wanna write a brand new main.cpp file for the HelloWindow, which implicitly leads to creating a new project.
To avoid reconfiguring all the dependency again myself, (which is quite tricky and that's the reason why this repositry is helpful), I wonder what's the most widely accepted way to reuse the Glitter project's setting, along with the Vendor and Header.

To be more specific, I use the visual studio 2019. This suggestions using project sheet. But it seems not add the header and vendor as expected.

Hope I make my question clear.

Does not work on windows

I followed the readme and used the win64 version of the latest visual studio as my parameter for the last step.

This gave me a ..\Glitter folder with Headers, Shaders, Sources and Vendor subdirectories, that contain code files. I would have expected a solution file here as well, but I take it I am supposed to use the solution file that was created in the Build folder, \Build\Glitter.sln. When trying to compile and run this solution, it compiles fine but won't start due to an "Access is denied" error. The thing being denied access to is Glitter\Build\x64\Debug\ALL_BUILD.

I'm not sure if I did something wrong, or if the latest visual studio option does not work out of the box.

Failed to Create OpenGL Context

I'm trying to get Glitter to work on Lubuntu, but am having trouble as far as creating the context. To my knowledge I have installed all the dependencies (OpenGL, X11, RandR to name a few) and cmake / make compile but I am still left with the "Failed to Create OpenGL Context" error message.

My cmake output code:
-- Using X11 for window creation -- Using GLX for context creation -- Building a non-boost version of Assimp. -- Looking for ZLIB... -- checking for module 'zzip-zlib-config' -- package 'zzip-zlib-config' not found -- Found ZLIB: optimized;/usr/lib/x86_64-linux-gnu/libz.so;debug;/usr/lib/x86_64-linux-gnu/libz.so -- checking for module 'minizip' -- package 'minizip' not found -- Enabled formats: 3DS AC ASE ASSBIN ASSXML B3D BVH COLLADA DXF CSM HMP IRR LWO LWS MD2 MD3 MD5 MDC MDL NFF NDO OFF OBJ OGRE OPENGEX PLY MS3D COB BLEND IFC XGL FBX Q3D Q3BSP RAW SIB SMD STL TERRAGEN 3D X GLTF -- Disabled formats: OPENGL FOUND /usr/lib/x86_64-linux-gnu/libGLU.so/usr/lib/x86_64-linux-gnu/libGL.so -- Configuring done -- Generating done -- Build files have been written to: /home/majortom/Glitter/Build
My make output code:
[ 2%] Built target LinearMath [ 6%] Built target glfw [ 50%] Built target assimp [ 75%] Built target BulletCollision [ 83%] Built target BulletDynamics [ 83%] Built target Glitter [ 91%] Built target Bullet3OpenCL_clew [ 92%] Built target Bullet2FileLoader [ 94%] Built target Bullet3Dynamics [ 95%] Built target Bullet3Collision [ 95%] Built target Bullet3Geometry [ 96%] Built target Bullet3Common [ 98%] Built target BulletInverseDynamics [100%] Built target BulletSoftBody

I have tried installing minizip and zzip-zlib-config to no avail. I have also tried different versions of OpenGL as specified by the closed issues (3.3 instead of 4.0). Is there something I'm missing?

MinGW error -> 'realpath' was not declared in this scope

I get the abovementioned error on line 142 in Vendor\assimp\code\DefaultIOSystem.cpp when compiling with MinGW 4.9.2 (i686-win32-dwarf-rev4, Built by MinGW-W64 project).

The fix was to make the following change on line 138 in that file:

//#ifdef _MSC_VER
#if defined(__MINGW32__) || defined(_MSC_VER)

so that it uses _fullpath instead of realpath.

Cannot add stb to cmake build

Hello,

Thank you for your great project, started with it following OpenGL tutorial and it was very easy to jump to the coding. But I stumbled on textures part and would appreciate a help here. Glitter README.md does not contain any instructions how to add stb library to the build and I believe setting up a build is the most complicated part in C++ development.

What I did:

  1. Used stbi_load function to load image file in main .cpp (included stb header)
  2. CMakeLists.txt - added Glitter/Vendor/stb to inclide_directories
  3. CMakeLists.txt - added stb to target_link_libraries

Getting an error:

CMake Error at CMakeLists.txt:21 (add_subdirectory): The source directory /Users/klastovirya/Projects/opengl-sandbox/Glitter/Vendor/stb does not contain a CMakeLists.txt file.

And this is true - there are just headers and c file.

I tried another approach - I removed target link, added stb folder/*.c to vendor sources, still an error, now builder cannot find symbols for stb functions.

Would be very grateful for any advice. Cmake file is here https://github.com/kirhgoff/opengl-sandbox/blob/master/CMakeLists.txt

Troubleshooting steps / Failed to Create OpenGL Context

This may be out of scope for this project, but would it be possible to include some troubleshooting steps for those of us who get Failed to Create OpenGL Context instead of a GL window? I'm on an Intel HD4000 chipset right now but I should be able to get some kind of window.

Unresolved External Symbols

When trying to compile the main.cpp provided in sources, I am presented with the following output:

Severity Code Description Project File Line Suppression State
Warning C4305 'argument': truncation from 'double' to 'const btScalar' Glitter_test \glitter\vendor\bullet\src\linearmath\btidebugdraw.h 169
Warning C4305 'argument': truncation from 'double' to 'const btScalar' Glitter_test \glitter\vendor\bullet\src\linearmath\btidebugdraw.h 170
Warning C4305 'argument': truncation from 'double' to 'const btScalar' Glitter_test \glitter\vendor\bullet\src\linearmath\btidebugdraw.h 171
Warning C4067 unexpected tokens following preprocessor directive - expected a newline Glitter_test \glitter\headers\glitter.hpp 20
Error LNK2019 unresolved external symbol _gladLoadGL referenced in function _main Glitter_test main.obj 1
Error LNK2019 unresolved external symbol _glfwInit referenced in function _main Glitter_test main.obj 1
Error LNK2019 unresolved external symbol _glfwTerminate referenced in function _main Glitter_test main.obj 1
Error LNK2019 unresolved external symbol _glfwWindowHint referenced in function _main Glitter_test main.obj 1
Error LNK2019 unresolved external symbol _glfwCreateWindow referenced in function _main Glitter_test main.obj 1
Error LNK2019 unresolved external symbol _glfwWindowShouldClose referenced in function _main Glitter_test main.obj 1
Error LNK2019 unresolved external symbol _glfwSetWindowShouldClose referenced in function _main Glitter_test main.obj 1
Error LNK2019 unresolved external symbol _glfwPollEvents referenced in function _main Glitter_test main.obj 1
Error LNK2019 unresolved external symbol _glfwGetKey referenced in function _main Glitter_test main.obj 1
Error LNK2019 unresolved external symbol _glfwMakeContextCurrent referenced in function _main Glitter_test Cmain.obj 1
Error LNK2019 unresolved external symbol _glfwSwapBuffers referenced in function _main Glitter_test main.obj 1
Error LNK2001 unresolved external symbol _glad_glClear Glitter_test main.obj 1
Error LNK2001 unresolved external symbol _glad_glClearColor Glitter_test main.obj 1
Error LNK2001 unresolved external symbol _glad_glGetString Glitter_test main.obj 1
Error LNK1120 14 unresolved externals Glitter_test Glitter_test.exe 1

Compiler is built-in from Visual Studio 15 2017

Shader Directory in glitter

I cloned it and imported in Qt and it is working perfectly. Thank you for this great boilerplate. Can you add one more folder like shaders and change in CMakeLists.txt so that vertex shaders and fragment shaders are copied into build folder during building.

I found this in CMakeList.txt

file(GLOB PROJECT_SHADERS Glitter/Shaders/*.comp
                          Glitter/Shaders/*.frag
                          Glitter/Shaders/*.geom
                          Glitter/Shaders/*.vert)

A little more documentation on this will be helpful.

assimp/importer.hpp: No such file or directory

In file included from /home/roman/dev/opengl/Glitter/Glitter/Sources/main.cpp:2:0:
/home/roman/dev/opengl/Glitter/Glitter/Headers/glitter.hpp:5:31: fatal error: assimp/importer.hpp: No such file or directory
 #include <assimp/importer.hpp>
                               ^
compilation terminated.
make[2]: *** [CMakeFiles/Glitter.dir/Glitter/Sources/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Glitter.dir/all] Error 2
make: *** [all] Error 2

Build failure

tmp/Glitter/Glitter/Vendor/assimp/code/glTFExporter.cpp:585:35: error: ordered comparison between pointer and zero ('aiVector3D *' (aka 'aiVector3t<float> *') and 'int')
                if(comp_allow && (aim->mNormals > 0)) idx_srcdata_normal = b->byteLength;// Store index of normals array.
                                  ~~~~~~~~~~~~~ ^ ~

You shouldn't bundle packages, because now you own their build problems. assimp provides .cmake file and is actually installed on my system.

clang-40 on FreeBSD.

Help moving from freeglut / glew to Glitter

Hi @Polytonic I'm retaking my thesis (it is an engine to render terrains) which I started it back in late 2012. I have some stuff working with freeglut and glew that I would like to move to Glitter, but I have no idea where to start.

I've been out of the OpenGL picture for a couple of years working mostly with Unity3D and I'm finding very difficult for me to retake OpenGL and everything now is totally different from when I learned OpenGL (in 2007-2009 when I used Glut and just started using shaders).

I'm now interested to be back on the road of the OpenGL path, but it feels like I lost a century of advances. I came across Glitter, which seemed perfectly to start again, but just making a simple tutorial is being hard for me.

I have VS 2015 and my old code which I'll try to move, but first, It will be very helpful if you can help me make this code from http://www.learnopengl.com/#!Getting-started/Shaders to work with Glitter, I tried, but I'm totally lost and I don't know where or how to start with glad.

(SOURCE: http://www.learnopengl.com/code_viewer.php?code=getting-started/shaders-uniform)

EDIT: I forgot to mention that I could clone the repo and built the example with no errors, it worked like a charm, I even draw a triangle and everything XD (it felt like starting college again). So, at least I have it working with the sample.

Thanks in advance for any help you can bring!

Luis.

build error on mac 10.15.2 -error: argument value 10880 is outside the valid range [0, 255]

ζˆͺ屏2020-02-11上午8 21 45

when build on mac os 10.15.2, I got that error!
I need do the such changes to fix this error:

diff --git a/src/LinearMath/btVector3.h b/src/LinearMath/btVector3.h
index 61fd8d1e4..f0950646f 100644
--- a/src/LinearMath/btVector3.h
+++ b/src/LinearMath/btVector3.h
@@ -36,7 +36,8 @@ subject to the following restrictions:
#pragma warning(disable : 4556) // value of intrinsic immediate argument '4294967239' is out of range '0 - 255'
#endif

-#define BT_SHUFFLE(x, y, z, w) ((w) << 6 | (z) << 4 | (y) << 2 | (x))
+//#define BT_SHUFFLE(x, y, z, w) ((w) << 6 | (z) << 4 | (y) << 2 | (x))
+#define BT_SHUFFLE(x, y, z, w) (((w) << 6 | (z) << 4 | (y) << 2 | (x)) & 0xff)
//#define bt_pshufd_ps( _a, _mask ) (__m128) _mm_shuffle_epi32((__m128i)(_a), (_mask) )
#define bt_pshufd_ps(_a, _mask) _mm_shuffle_ps((_a), (_a), (_mask))
#define bt_splat3_ps(_a, _i) bt_pshufd_ps((_a), BT_SHUFFLE(_i, _i, _i, 3))

Error getting repository

After getting the repository I get the following error:

git clone --recursive https://github.com/Polytonic/Glitter
...
error: no such remote ref 63784dab5fdf7fe84fd93f2caeef43b8524f7389
Fetched in submodule path 'Glitter/Vendor/bullet', but it did not contain 63784dab5fdf7fe84fd93f2caeef43b8524f7389. Direct fetching of that commit failed.

Issues with cmake not building GLAD

Sometimes when I build Glitter, the build process runs successfully but for some reason glad doesn't get built. I see not error messages in cmake, but the glad folder inside vendor doesn't include the folders named "include" and "src" as it should when it is built correctly; it still retains the same file structure in its git repo.
I am using Win10 x64 with VS 2017 and cmake 3.9.5

Project load failing in Visual Studio 2017

When building the project with Visual Studio 2017 I had the following error (translated, original message was in portuguese):

src\Glitter\Build\vc15\Glitter.vcxproj : error  : unable to load project with duplicated itens: src\Glitter\CMakeLists.txt is included as 'CustomBuild' and 'None' types.

Removing ${PROJECT_CONFIGS} from the list of sources in add_executable solves the problem.

PC settings:
Windows 10 version 1803
CMake version: 3.11.0.
Visual Studio 2017 version 15.7.2

Shallow clone of submodules.

image

After recursive clone I found the folder become so huge because clones of submodules contain commit history and revisions. Is there any way to clone submodule shallowly?

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.