floooh / oryol

A small, portable and extensible C++ 3D coding framework
MIT License
2k stars 200 forks source link

Unable to compile on any playform #87

Closed jamesfolk closed 9 years ago

jamesfolk commented 9 years ago

CompileC build/osx-xcode-debug/code/Modules/Gfx/oryol.build/Debug/Gfx.build/Objects-normal/x86_64/glTextureLoader.o code/Modules/Gfx/gl/glTextureLoader.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler cd /Users/jamesfolk/oryol export LANG=en_US.US-ASCII /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=161 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=c++11 -stdlib=libc++ -Wno-trigraphs -fno-exceptions -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\" -DORYOL_ALLOCATOR_DEBUG=0 -DORYOL_UNITTESTS=0 -DORYOL_OPENGL=1 -DORYOL_OPENGLES2=0 -DORYOL_OPENGLES3=0 -DORYOL_NO_ASSERT=0 -DORYOL_FORCE_NO_THREADS=0 -DORYOL_SAMPLE_URL=\"http://floooh.github.com/oryol/\" -DGLM_FORCE_RADIANS=1 -DORYOL_USE_GLGETATTRIBLOCATION=0 -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 -Wno-sign-conversion -I/Users/jamesfolk/oryol/build/osx-xcode-debug/code/Modules/Gfx/Debug/include -I/Users/jamesfolk/oryol/code -I/Users/jamesfolk/oryol/code/Modules -I/Users/jamesfolk/oryol/code/Ext -I/Users/jamesfolk/oryol/code/Ext/glfw/include -I/Users/jamesfolk/oryol/build/osx-xcode-debug/code/Modules/Gfx/oryol.build/Debug/Gfx.build/DerivedSources/x86_64 -I/Users/jamesfolk/oryol/build/osx-xcode-debug/code/Modules/Gfx/oryol.build/Debug/Gfx.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/jamesfolk/oryol/build/osx-xcode-debug/code/Modules/Gfx/Debug -DORYOL_MACOS=1 -DORYOL_OSX=1 -DORYOL_POSIX=1 -fstrict-aliasing -Wno-multichar -Wall -Wextra -Wno-unused-parameter -Wno-unknown-pragmas -Wno-ignored-qualifiers -Wno-long-long -Wno-overloaded-virtual -Wno-unused-volatile-lvalue -Wno-deprecated-writable-strings -DDEBUG -D_DEBUG -DORYOL_DEBUG=1 -ggdb -MMD -MT dependencies -MF /Users/jamesfolk/oryol/build/osx-xcode-debug/code/Modules/Gfx/oryol.build/Debug/Gfx.build/Objects-normal/x86_64/glTextureLoader.d --serialize-diagnostics /Users/jamesfolk/oryol/build/osx-xcode-debug/code/Modules/Gfx/oryol.build/Debug/Gfx.build/Objects-normal/x86_64/glTextureLoader.dia -c /Users/jamesfolk/oryol/code/Modules/Gfx/gl/glTextureLoader.cc -o /Users/jamesfolk/oryol/build/osx-xcode-debug/code/Modules/Gfx/oryol.build/Debug/Gfx.build/Objects-normal/x86_64/glTextureLoader.o /Users/jamesfolk/oryol/code/Modules/Gfx/gl/glTextureLoader.cc:10:10: fatal error: 'gliml/gliml.h' file not found

include "gliml/gliml.h"

     ^

1 error generated.

\ BUILD FAILED **

The following build commands failed: CompileC build/osx-xcode-debug/code/Modules/Gfx/oryol.build/Debug/Gfx.build/Objects-normal/x86_64/glTextureLoader.o code/Modules/Gfx/gl/glTextureLoader.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (1 failure) ERROR: Build failed.

marynate commented 9 years ago

Have you also checkout submodules? gliml is a submodule

git clone --recursive https://github.com/floooh/oryol.git oryol
floooh commented 9 years ago

Yes that's a bit inconvenient sorry. There doesn't seem to be a git repo flag to automatically clone submodules.

jamesfolk commented 9 years ago

Thank you. I will do! I didn't want to assume anything and it wasn't listed as a dependency in build.md. Great engine!

Sent from my iPhone

On Oct 30, 2014, at 5:26 AM, Andre Weissflog notifications@github.com wrote:

Yes that's a bit inconvenient sorry. There doesn't seem to be a git repo flag to automatically clone submodules.

— Reply to this email directly or view it on GitHub.