[ create a new paste ] login | about

Link: http://codepad.org/VWjsczg2    [ raw code | fork ]

Plain Text, pasted on Aug 28:
[Fri Aug 28 20:45:17 2015] INFO: Opened log file /Users/s/Library/Application Support/urho3d/logs/HelloWorld.cpp.log
[Fri Aug 28 20:45:17 2015] INFO: Created 3 worker threads
[Fri Aug 28 20:45:17 2015] INFO: Added resource path /Users/s/DEV/Urho3D-RCPP/Urho3D/Build/bin/Data/
[Fri Aug 28 20:45:17 2015] INFO: Added resource path /Users/s/DEV/Urho3D-RCPP/Urho3D/Build/bin/CoreData/
[Fri Aug 28 20:45:17 2015] DEBUG: Skipped autoload path 'Autoload' as it does not exist, check the documentation on how to set the 'resource prefix path'
[Fri Aug 28 20:45:18 2015] INFO: Set screen mode 1920x1080 fullscreen
[Fri Aug 28 20:45:18 2015] INFO: Initialized input
[Fri Aug 28 20:45:18 2015] INFO: Initialized user interface
[Fri Aug 28 20:45:18 2015] DEBUG: Loading resource Textures/Ramp.png
[Fri Aug 28 20:45:18 2015] DEBUG: Loading temporary resource Textures/Ramp.xml
[Fri Aug 28 20:45:18 2015] DEBUG: Loading resource Textures/Spot.png
[Fri Aug 28 20:45:18 2015] DEBUG: Loading temporary resource Textures/Spot.xml
[Fri Aug 28 20:45:18 2015] DEBUG: Loading resource Techniques/NoTexture.xml
[Fri Aug 28 20:45:18 2015] DEBUG: Loading resource RenderPaths/Forward.xml
[Fri Aug 28 20:45:18 2015] INFO: Initialized renderer
[Fri Aug 28 20:45:18 2015] INFO: Set audio mode 44100 Hz stereo interpolated
[Fri Aug 28 20:45:18 2015] DEBUG: Loading resource UI/MessageBox.xml
[Fri Aug 28 20:45:18 2015] DEBUG: Loading UI layout UI/MessageBox.xml
[Fri Aug 28 20:45:18 2015] INFO: Initialized engine
[Fri Aug 28 20:45:18 2015] DEBUG: Started watching path /Users/s/DEV/Urho3D-RCPP/Urho3D/Build/bin/Data/
[Fri Aug 28 20:45:18 2015] DEBUG: Started watching path /Users/s/DEV/Urho3D-RCPP/Urho3D/Build/bin/CoreData/
[Fri Aug 28 20:45:18 2015] DEBUG: Loading resource Fonts/Anonymous Pro.ttf
[Fri Aug 28 20:45:18 2015] DEBUG: Font face Anonymous Pro (15pt) has 624 glyphs
[Fri Aug 28 20:45:18 2015] WARNING: Forcing top alignment because parent element has vertical layout
[Fri Aug 28 20:45:18 2015] DEBUG: Loading resource HelloWorld.cpp
[Fri Aug 28 20:45:18 2015] ERROR: Could not open directory
[Fri Aug 28 20:45:18 2015] DEBUG: RCCpp: Compilation started: HelloWorld.cpp
[Fri Aug 28 20:45:18 2015] DEBUG: RCCpp: Compiling using command line: make -j4

[Fri Aug 28 20:45:18 2015] ERROR: Failed to change directory to
[Fri Aug 28 20:45:19 2015] DEBUG: Compiling file obj/HelloWorld.o
g++ -fPIC -g -m64 -DURHO3D_LOGGING -DRCCPP   -I. -I/Users/s/DEV/Urho3D-RCPP/Urho3D/Build/include -I/Users/s/DEV/Urho3D-RCPP/Urho3D/Build/include/Urho3D/ThirdParty  -c -o obj/HelloWorld.o HelloWorld.cpp
In file included from HelloWorld.cpp:30:
In file included from ./HelloWorld.h:28:
./../Sample.h:96:5: error: unknown type name 'Engine'; did you mean 'inline'?
    Engine* engine_;
    ^~~~~~
    inline
./../Sample.h:96:13: error: C++ requires a type specifier for all declarations
    Engine* engine_;
    ~~~~~~  ^
./../Sample.h:96:5: error: 'inline' can only appear on functions
    Engine* engine_;
    ^
In file included from HelloWorld.cpp:30:
In file included from ./HelloWorld.h:28:
In file included from ./../Sample.h:121:
./../Sample.inl:48:13: error: no matching member function for call to 'GetSubsystem'
    engine_(GetSubsystem<Engine>()),
            ^~~~~~~~~~~~~~~~~~~~
/Users/s/DEV/Urho3D-RCPP/Urho3D/Build/include/Urho3D/Input/../UI/../Graphics/../Core/Object.h:130:31: note: candidate function [with T = Urho3D::Engine] not viable: no known conversion from 'Sample' to 'const Urho3D::Object' for object argument
template <class T> T* Object::GetSubsystem() const { return static_cast<T*>(GetSubsystem(T::GetTypeStatic())); }
                              ^
In file included from HelloWorld.cpp:30:
In file included from ./HelloWorld.h:28:
In file included from ./../Sample.h:121:
./../Sample.inl:75:14: error: no matching member function for call to 'GetSubsystem'
    else if (GetSubsystem<Input>()->GetNumJoysticks() == 0)
             ^~~~~~~~~~~~~~~~~~~
/Users/s/DEV/Urho3D-RCPP/Urho3D/Build/include/Urho3D/Input/../UI/../Graphics/../Core/Object.h:130:31: note: candidate function [with T = Urho3D::Input] not viable: no known conversion from 'Sample' to 'const Urho3D::Object' for object argument
template <class T> T* Object::GetSubsystem() const { return static_cast<T*>(GetSubsystem(T::GetTypeStatic())); }
                              ^
In file included from HelloWorld.cpp:30:
In file included from ./HelloWorld.h:28:
In file included from ./../Sample.h:121:
./../Sample.inl:77:9: error: no matching member function for call to 'SubscribeToEvent'
        SubscribeToEvent(E_TOUCHBEGIN, HANDLER(Sample, HandleTouchBegin));
        ^~~~~~~~~~~~~~~~
/Users/s/DEV/Urho3D-RCPP/Urho3D/Build/include/Urho3D/Input/../UI/../Graphics/../Core/Object.h:70:10: note: candidate function not viable: no known conversion from 'Sample' to 'Urho3D::Object' for object argument
    void SubscribeToEvent(StringHash eventType, EventHandler* handler);
         ^
/Users/s/DEV/Urho3D-RCPP/Urho3D/Build/include/Urho3D/Input/../UI/../Graphics/../Core/Object.h:72:10: note: candidate function not viable: requires 3 arguments, but 2 were provided
    void SubscribeToEvent(Object* sender, StringHash eventType, EventHandler* handler);
         ^
In file included from HelloWorld.cpp:30:
In file included from ./HelloWorld.h:28:
In file included from ./../Sample.h:121:
./../Sample.inl:89:5: error: no matching member function for call to 'SubscribeToEvent'
    SubscribeToEvent(E_KEYDOWN, HANDLER(Sample, HandleKeyDown));
    ^~~~~~~~~~~~~~~~
/Users/s/DEV/Urho3D-RCPP/Urho3D/Build/include/Urho3D/Input/../UI/../Graphics/../Core/Object.h:70:10: note: candidate function not viable: no known conversion from 'Sample' to 'Urho3D::Object' for object argument
    void SubscribeToEvent(StringHash eventType, EventHandler* handler);
         ^
/Users/s/DEV/Urho3D-RCPP/Urho3D/Build/include/Urho3D/Input/../UI/../Graphics/../Core/Object.h:72:10: note: candidate function not viable: requires 3 arguments, but 2 were provided
    void SubscribeToEvent(Object* sender, StringHash eventType, EventHandler* handler);
         ^
In file included from HelloWorld.cpp:30:
In file included from ./HelloWorld.h:28:
In file included from ./../Sample.h:121:
./../Sample.inl:91:5: error: no matching member function for call to 'SubscribeToEvent'
    SubscribeToEvent(E_SCENEUPDATE, HANDLER(Sample, HandleSceneUpdate));
    ^~~~~~~~~~~~~~~~
/Users/s/DEV/Urho3D-RCPP/Urho3D/Build/include/Urho3D/Input/../UI/../Graphics/../Core/Object.h:70:10: note: candidate function not viable: no known conversion from 'Sample' to 'Urho3D::Object' for object argument
    void SubscribeToEvent(StringHash eventType, EventHandler* handler);
         ^
/Users/s/DEV/Urho3D-RCPP/Urho3D/Build/include/Urho3D/Input/../UI/../Graphics/../Core/Object.h:72:10: note: candidate function not viable: requires 3 arguments, but 2 were provided
    void SubscribeToEvent(Object* sender, StringHash eventType, EventHandler* handler);
         ^
In file included from HelloWorld.cpp:30:
In file included from ./HelloWorld.h:28:
In file included from ./../Sample.h:121:
./../Sample.inl:103:28: error: no matching member function for call to 'GetSubsystem'
    ResourceCache* cache = GetSubsystem<ResourceCache>();
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/s/DEV/Urho3D-RCPP/Urho3D/Build/include/Urho3D/Input/../UI/../Graphics/../Core/Object.h:130:31: note: candidate function [with T = Urho3D::ResourceCache] not viable: no known conversion from 'Sample' to 'const Urho3D::Object' for object argument
template <class T> T* Object::GetSubsystem() const { return static_cast<T*>(GetSubsystem(T::GetTypeStatic())); }
                              ^
In file included from HelloWorld.cpp:30:
In file included from ./HelloWorld.h:28:
In file included from ./../Sample.h:121:
./../Sample.inl:104:20: error: no matching member function for call to 'GetSubsystem'
    Input* input = GetSubsystem<Input>();
                   ^~~~~~~~~~~~~~~~~~~
/Users/s/DEV/Urho3D-RCPP/Urho3D/Build/include/Urho3D/Input/../UI/../Graphics/../Core/Object.h:130:31: note: candidate function [with T = Urho3D::Input] not viable: no known conversion from 'Sample' to 'const Urho3D::Object' for object argument
template <class T> T* Object::GetSubsystem() const { return static_cast<T*>(GetSubsystem(T::GetTypeStatic())); }
                              ^
In file included from HelloWorld.cpp:30:
In file included from ./HelloWorld.h:28:
In file included from ./../Sample.h:121:
./../Sample.inl:127:28: error: no matching member function for call to 'GetSubsystem'
    ResourceCache* cache = GetSubsystem<ResourceCache>();
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/s/DEV/Urho3D-RCPP/Urho3D/Build/include/Urho3D/Input/../UI/../Graphics/../Core/Object.h:130:31: note: candidate function [with T = Urho3D::ResourceCache] not viable: no known conversion from 'Sample' to 'const Urho3D::Object' for object argument
template <class T> T* Object::GetSubsystem() const { return static_cast<T*>(GetSubsystem(T::GetTypeStatic())); }
                              ^
In file included from HelloWorld.cpp:30:
In file included from ./HelloWorld.h:28:
In file included from ./../Sample.h:121:
./../Sample.inl:133:14: error: no matching member function for call to 'GetSubsystem'
    UI* ui = GetSubsystem<UI>();
             ^~~~~~~~~~~~~~~~
/Users/s/DEV/Urho3D-RCPP/Urho3D/Build/include/Urho3D/Input/../UI/../Graphics/../Core/Object.h:130:31: note: candidate function [with T = Urho3D::UI] not viable: no known conversion from 'Sample' to 'const Urho3D::Object' for object argument
template <class T> T* Object::GetSubsystem() const { return static_cast<T*>(GetSubsystem(T::GetTypeStatic())); }
                              ^
In file included from HelloWorld.cpp:30:
In file included from ./HelloWorld.h:28:
In file included from ./../Sample.h:121:
./../Sample.inl:163:28: error: no matching member function for call to 'GetSubsystem'
    ResourceCache* cache = GetSubsystem<ResourceCache>();
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/s/DEV/Urho3D-RCPP/Urho3D/Build/include/Urho3D/Input/../UI/../Graphics/../Core/Object.h:130:31: note: candidate function [with T = Urho3D::ResourceCache] not viable: no known conversion from 'Sample' to 'const Urho3D::Object' for object argument
template <class T> T* Object::GetSubsystem() const { return static_cast<T*>(GetSubsystem(T::GetTypeStatic())); }
                              ^
In file included from HelloWorld.cpp:30:
In file included from ./HelloWorld.h:28:
In file included from ./../Sample.h:121:
./../Sample.inl:164:26: error: no matching member function for call to 'GetSubsystem'
    Graphics* graphics = GetSubsystem<Graphics>();
                         ^~~~~~~~~~~~~~~~~~~~~~
/Users/s/DEV/Urho3D-RCPP/Urho3D/Build/include/Urho3D/Input/../UI/../Graphics/../Core/Object.h:130:31: note: candidate function [with T = Urho3D::Graphics] not viable: no known conversion from 'Sample' to 'const Urho3D::Object' for object argument
template <class T> T* Object::GetSubsystem() const { return static_cast<T*>(GetSubsystem(T::GetTypeStatic())); }
                              ^
In file included from HelloWorld.cpp:30:
In file included from ./HelloWorld.h:28:
In file included from ./../Sample.h:121:
./../Sample.inl:173:28: error: no matching member function for call to 'GetSubsystem'
    ResourceCache* cache = GetSubsystem<ResourceCache>();
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/s/DEV/Urho3D-RCPP/Urho3D/Build/include/Urho3D/Input/../UI/../Graphics/../Core/Object.h:130:31: note: candidate function [with T = Urho3D::ResourceCache] not viable: no known conversion from 'Sample' to 'const Urho3D::Object' for object argument
template <class T> T* Object::GetSubsystem() const { return static_cast<T*>(GetSubsystem(T::GetTypeStatic())); }
                              ^
In file included from HelloWorld.cpp:30:
In file included from ./HelloWorld.h:28:
In file included from ./../Sample.h:121:
./../Sample.inl:195:28: error: no matching member function for call to 'GetSubsystem'
        Console* console = GetSubsystem<Console>();
                           ^~~~~~~~~~~~~~~~~~~~~
/Users/s/DEV/Urho3D-RCPP/Urho3D/Build/include/Urho3D/Input/../UI/../Graphics/../Core/Object.h:130:31: note: candidate function [with T = Urho3D::Console] not viable: no known conversion from 'Sample' to 'const Urho3D::Object' for object argument
template <class T> T* Object::GetSubsystem() const { return static_cast<T*>(GetSubsystem(T::GetTypeStatic())); }
                              ^
In file included from HelloWorld.cpp:30:
In file included from ./HelloWorld.h:28:
In file included from ./../Sample.h:121:
./../Sample.inl:204:9: error: no matching member function for call to 'GetSubsystem'
        GetSubsystem<Console>()->Toggle();
        ^~~~~~~~~~~~~~~~~~~~~
/Users/s/DEV/Urho3D-RCPP/Urho3D/Build/include/Urho3D/Input/../UI/../Graphics/../Core/Object.h:130:31: note: candidate function [with T = Urho3D::Console] not viable: no known conversion from 'Sample' to 'const Urho3D::Object' for object argument
template <class T> T* Object::GetSubsystem() const { return static_cast<T*>(GetSubsystem(T::GetTypeStatic())); }
                              ^
In file included from HelloWorld.cpp:30:
In file included from ./HelloWorld.h:28:
In file included from ./../Sample.h:121:
./../Sample.inl:208:9: error: no matching member function for call to 'GetSubsystem'
        GetSubsystem<DebugHud>()->ToggleAll();
        ^~~~~~~~~~~~~~~~~~~~~~
/Users/s/DEV/Urho3D-RCPP/Urho3D/Build/include/Urho3D/Input/../UI/../Graphics/../Core/Object.h:130:31: note: candidate function [with T = Urho3D::DebugHud] not viable: no known conversion from 'Sample' to 'const Urho3D::Object' for object argument
template <class T> T* Object::GetSubsystem() const { return static_cast<T*>(GetSubsystem(T::GetTypeStatic())); }
                              ^
In file included from HelloWorld.cpp:30:
In file included from ./HelloWorld.h:28:
In file included from ./../Sample.h:121:
./../Sample.inl:211:15: error: no matching member function for call to 'GetSubsystem'
    else if (!GetSubsystem<UI>()->GetFocusElement())
              ^~~~~~~~~~~~~~~~
/Users/s/DEV/Urho3D-RCPP/Urho3D/Build/include/Urho3D/Input/../UI/../Graphics/../Core/Object.h:130:31: note: candidate function [with T = Urho3D::UI] not viable: no known conversion from 'Sample' to 'const Urho3D::Object' for object argument
template <class T> T* Object::GetSubsystem() const { return static_cast<T*>(GetSubsystem(T::GetTypeStatic())); }
                              ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [obj/HelloWorld.o] Error 1

[Fri Aug 28 20:45:19 2015] ERROR: Error compiling file HelloWorld.cpp


Create a new paste based on this one


Comments: