16
General / Re: Problems with the SFML2 tutorial program
« on: July 04, 2012, 08:50:25 pm »
Here are the errors i have
Code: [Select]
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.0\..\..\..\..\include\My\Data\Package.hpp|103|error: invalid abstract return type for member function 'my::Data::Stream my::Data::Package::GetStream(std::string)'|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.0\..\..\..\..\include\My\Data\Stream.hpp|42|note: because the following virtual functions are pure within 'my::Data::Stream':|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\System\InputStream.hpp|59|note: virtual sf::Int64 sf::InputStream::read(void*, sf::Int64)|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\System\InputStream.hpp|69|note: virtual sf::Int64 sf::InputStream::seek(sf::Int64)|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\System\InputStream.hpp|77|note: virtual sf::Int64 sf::InputStream::tell()|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\System\InputStream.hpp|85|note: virtual sf::Int64 sf::InputStream::getSize()|
C:\Users\aBallofWin\Downloads\libMy\libMy\examples\packages\main.cpp||In function 'int main()':|
C:\Users\aBallofWin\Downloads\libMy\libMy\examples\packages\main.cpp|28|error: cannot allocate an object of abstract type 'my::Data::Stream'|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.0\..\..\..\..\include\My\Data\Stream.hpp|42|note: since type 'my::Data::Stream' has pure virtual functions|
C:\Users\aBallofWin\Downloads\libMy\libMy\examples\packages\main.cpp|28|error: cannot allocate an object of abstract type 'my::Data::Stream'|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.0\..\..\..\..\include\My\Data\Stream.hpp|42|note: since type 'my::Data::Stream' has pure virtual functions|
C:\Users\aBallofWin\Downloads\libMy\libMy\examples\packages\main.cpp|28|error: cannot declare variable 'sLogo' to be of abstract type 'my::Data::Stream'|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.0\..\..\..\..\include\My\Data\Stream.hpp|42|note: since type 'my::Data::Stream' has pure virtual functions|
C:\Users\aBallofWin\Downloads\libMy\libMy\examples\packages\main.cpp|29|error: cannot allocate an object of abstract type 'my::Data::Stream'|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.0\..\..\..\..\include\My\Data\Stream.hpp|42|note: since type 'my::Data::Stream' has pure virtual functions|
C:\Users\aBallofWin\Downloads\libMy\libMy\examples\packages\main.cpp|29|error: cannot allocate an object of abstract type 'my::Data::Stream'|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.0\..\..\..\..\include\My\Data\Stream.hpp|42|note: since type 'my::Data::Stream' has pure virtual functions|
C:\Users\aBallofWin\Downloads\libMy\libMy\examples\packages\main.cpp|29|error: cannot declare variable 'sTest' to be of abstract type 'my::Data::Stream'|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.0\..\..\..\..\include\My\Data\Stream.hpp|42|note: since type 'my::Data::Stream' has pure virtual functions|
C:\Users\aBallofWin\Downloads\libMy\libMy\examples\packages\main.cpp|33|error: 'class sf::Texture' has no member named 'LoadFromStream'|
C:\Users\aBallofWin\Downloads\libMy\libMy\examples\packages\main.cpp|34|error: 'class sf::Texture' has no member named 'LoadFromStream'|
C:\Users\aBallofWin\Downloads\libMy\libMy\examples\packages\main.cpp|41|error: 'class sf::Sprite' has no member named 'SetPosition'|
C:\Users\aBallofWin\Downloads\libMy\libMy\examples\packages\main.cpp|43|error: 'class sf::Sprite' has no member named 'SetPosition'|
C:\Users\aBallofWin\Downloads\libMy\libMy\examples\packages\main.cpp|46|error: 'class sf::RenderWindow' has no member named 'IsOpened'|
C:\Users\aBallofWin\Downloads\libMy\libMy\examples\packages\main.cpp|48|error: 'class sf::RenderWindow' has no member named 'PollEvent'|
C:\Users\aBallofWin\Downloads\libMy\libMy\examples\packages\main.cpp|49|error: 'class sf::Event' has no member named 'Type'|
C:\Users\aBallofWin\Downloads\libMy\libMy\examples\packages\main.cpp|50|error: 'class sf::RenderWindow' has no member named 'Close'|
C:\Users\aBallofWin\Downloads\libMy\libMy\examples\packages\main.cpp|53|error: 'class sf::RenderWindow' has no member named 'Clear'|
C:\Users\aBallofWin\Downloads\libMy\libMy\examples\packages\main.cpp|54|error: 'class sf::RenderWindow' has no member named 'Draw'|
C:\Users\aBallofWin\Downloads\libMy\libMy\examples\packages\main.cpp|55|error: 'class sf::RenderWindow' has no member named 'Draw'|
C:\Users\aBallofWin\Downloads\libMy\libMy\examples\packages\main.cpp|56|error: 'class sf::RenderWindow' has no member named 'Display'|
||=== Build finished: 19 errors, 0 warnings ===|
:<