8000 won't compile mac OS 10.12.6 · Issue #21 · cyrillef/FBX-glTF · GitHub
[go: up one dir, main page]

Skip to content

won't compile mac OS 10.12.6  #21

Open

Description

@shawnnaquin

cpprestsdk 2.9.1
FBX SDK 2015.1 (also tried 2017.1)
mac OS 10.12.6

cpprest compiles fine but FBX-glTF throws errors after running make:

[  3%] Building CXX object IO-glTF/CMakeFiles/IO-glTF.dir/glslShader.cpp.o
In file included from /Users/shawn/Desktop/freelance/level2d/FBX-glTF/IO-glTF/glslShader.cpp:21:
In file included from /Users/shawn/Desktop/freelance/level2d/FBX-glTF/IO-glTF/StdAfx.h:69:
In file included from /Applications/Autodesk/FBX SDK/2017.1/include/fbxsdk.h:98:
In file included from /Applications/Autodesk/FBX SDK/2017.1/include/fbxsdk/core/fbxloadingstrategy.h:20:
In file included from /Applications/Autodesk/FBX SDK/2017.1/include/fbxsdk/core/fbxplugin.h:20:
In file included from /Applications/Autodesk/FBX SDK/2017.1/include/fbxsdk/core/fbxobject.h:21:
/Applications/Autodesk/FBX SDK/2017.1/include/fbxsdk/core/fbxproperty.h:1188:70: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference]
                return StaticInit(pObject, pName, FbxGetDataTypeFromEnum(FbxTypeOf(*((FbxReference*)0))), pValue, pForceSet, pFlags);
                                                                                   ^~~~~~~~~~~~~~~~~~~
In file included from /Users/shawn/Desktop/freelance/level2d/FBX-glTF/IO-glTF/glslShader.cpp:22:
/Users/shawn/Desktop/freelance/level2d/FBX-glTF/IO-glTF/glslShader.h:51:7: error: class member cannot be redeclared
        void appendCode (const utility::char_t *format, ...) ;
             ^
/Users/shawn/Desktop/freelance/level2d/FBX-glTF/IO-glTF/glslShader.h:50:7: note: previous declaration is here
        void appendCode (const char *format, ...) ;
             ^
/Users/shawn/Desktop/freelance/level2d/FBX-glTF/IO-glTF/glslShader.cpp:96:18: error: redefinition of 'appendCode'
void glslShader::appendCode (const utility::char_t *format, ...) {
                 ^
/Users/shawn/Desktop/freelance/level2d/FBX-glTF/IO-glTF/glslShader.cpp:83:18: note: previous definition is here
void glslShader::appendCode (const char *format, ...) {
                 ^
1 warning and 2 errors generated.
make[2]: *** [IO-glTF/CMakeFiles/IO-glTF.dir/glslShader.cpp.o] Error 1
make[1]: *** [IO-glTF/CMakeFiles/IO-glTF.dir/all] Error 2
make: *** [all] Error 2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0