Eyescale / Equalizer

Equalizer is the standard middleware to create and deploy parallel OpenGL-based applications. It enables applications to benefit from multiple graphics cards, processors and computers to scale the rendering performance, visual quality and display size. An Equalizer application runs unmodified on any visualization system, from a simple workstation to large scale graphics clusters, multi-GPU workstations and Virtual Reality installations.
http://eyescale.github.io/equalizergraphics.com/
Other
225 stars 102 forks source link

override errors #525

Open wangzilu opened 8 years ago

wangzilu commented 8 years ago

In file included from /Users/oukoro/Downloads/Equalizer/eq/agl/eventHandler.cpp:22: /Users/oukoro/Downloads/Equalizer/eq/agl/window.h:149:25: error: 'configInit' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override] EQ_API virtual bool configInit(); ^ /Users/oukoro/Downloads/Equalizer/eq/systemWindow.h:56:25: note: overridden virtual function is here EQ_API virtual bool configInit() = 0; ^ In file included from /Users/oukoro/Downloads/Equalizer/eq/agl/eventHandler.cpp:22: /Users/oukoro/Downloads/Equalizer/eq/agl/window.h:152:25: error: 'configExit' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override] EQ_API virtual void configExit( ); ^ /Users/oukoro/Downloads/Equalizer/eq/systemWindow.h:66:25: note: overridden virtual function is here EQ_API virtual void configExit() = 0; ^ In file included from /Users/oukoro/Downloads/Equalizer/eq/agl/eventHandler.cpp:22: /Users/oukoro/Downloads/Equalizer/eq/agl/window.h:257:25: error: 'makeCurrent' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override] EQ_API virtual void makeCurrent( const bool cache = true ) const; ^ /Users/oukoro/Downloads/Equalizer/eq/glWindow.h:47:17: note: overridden virtual function is here EQ_API void makeCurrent( const bool cache = true ) const override; ^ In file included from /Users/oukoro/Downloads/Equalizer/eq/agl/eventHandler.cpp:22: /Users/oukoro/Downloads/Equalizer/eq/agl/window.h:260:25: error: 'doneCurrent' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override] EQ_API virtual void doneCurrent() const; ^ /Users/oukoro/Downloads/Equalizer/eq/glWindow.h:50:17: note: overridden virtual function is here EQ_API void doneCurrent() const override; ^ In file included from /Users/oukoro/Downloads/Equalizer/eq/agl/eventHandler.cpp:22: /Users/oukoro/Downloads/Equalizer/eq/agl/window.h:263:25: error: 'swapBuffers' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override] EQ_API virtual void swapBuffers(); ^ /Users/oukoro/Downloads/Equalizer/eq/systemWindow.h:94:25: note: overridden virtual function is here EQ_API virtual void swapBuffers() = 0; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 errors generated. make[2]: * [eq/CMakeFiles/Equalizer.dir/agl/eventHandler.cpp.o] Error 1 make[1]: * [eq/CMakeFiles/Equalizer.dir/all] Error 2 make: *\ [all] Error 2

wangzilu commented 8 years ago

these errors have been figured out after by adding override... and new errors occurred, /Users/oukoro/Downloads/Equalizer/eq/detail/cvTracker.cpp:108:23: error: no viable conversion from 'IplImage ' (aka '_IplImage ') to 'const cv::Mat' const cv::Mat frame = cvQueryFrame( capture_ ); ^ ~~~~~~~~ /opt/local/include/opencv2/core/mat.inl.hpp:375:6: note: candidate constructor not viable: no known conversion from 'IplImage ' (aka '_IplImage ') to 'const cv::Mat &' for 1st argument Mat::Mat(const Mat& m) ^

eile commented 8 years ago

Please submit a pull request for the override.