Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Problems with the SFML2 tutorial program  (Read 6625 times)

0 Members and 1 Guest are viewing this topic.

aBallofWin

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
Problems with the SFML2 tutorial program
« on: July 04, 2012, 12:41:47 pm »
I followed the SFML 2 tutorial step by step (I believe) but it comes up with these errors (after a fresh install of codeblocks as I was having different errors before:

Code: [Select]
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Config.hpp|146|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\System\Time.hpp|34|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\System\Clock.hpp|35|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\System\Err.hpp|32|error: ostream: No such file or directory|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\System\Err.hpp|35|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\System\InputStream.hpp|34|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\System\NonCopyable.hpp|34|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\System\Lock.hpp|35|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\System\Mutex.hpp|35|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\System\Sleep.hpp|35|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\System\String.hpp|32|error: locale: No such file or directory|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\System\String.hpp|33|error: string: No such file or directory|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\System\String.hpp|36|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\System\Thread.hpp|33|error: cstdlib: No such file or directory|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\System\Thread.hpp|36|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\System\ThreadLocal.hpp|36|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\System\ThreadLocalPtr.hpp|34|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\System\ThreadLocalPtr.inl|26|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\System\Utf.hpp|32|error: algorithm: No such file or directory|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\System\Utf.hpp|38|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\System\Vector2.hpp|29|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\System\Vector3.hpp|29|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Window\GlResource.hpp|34|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Window\ContextSettings.hpp|29|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Window\Context.hpp|37|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Window\Joystick.hpp|34|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Window\Keyboard.hpp|34|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Window\Mouse.hpp|35|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Window\Event.hpp|37|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Window\VideoMode.hpp|32|error: vector: No such file or directory|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Window\VideoMode.hpp|35|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Window\WindowHandle.hpp|38|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Window\WindowStyle.hpp|29|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Window\Window.hpp|43|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\BlendMode.hpp|28|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\Color.hpp|34|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\Rect.hpp|35|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\Glyph.hpp|35|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\Image.hpp|38|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\Texture.hpp|36|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\Font.hpp|37|error: map: No such file or directory|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\Font.hpp|42|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\Transform.hpp|36|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\RenderStates.hpp|36|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\View.hpp|37|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\PrimitiveType.hpp|28|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\Vertex.hpp|36|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\RenderTarget.hpp|43|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\RenderTexture.hpp|36|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\RenderWindow.hpp|38|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\Shader.hpp|42|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\Drawable.hpp|35|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\Transformable.hpp|35|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\VertexArray.hpp|39|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\Shape.hpp|38|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\CircleShape.hpp|35|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\RectangleShape.hpp|35|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\ConvexShape.hpp|36|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\Sprite.hpp|38|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\Text.hpp|42|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sf'|
C:\Users\aBallofWin\Documents\sfml2\test.c||In function 'main':|
C:\Users\aBallofWin\Documents\sfml2\test.c|5|error: expected expression before ':' token|
C:\Users\aBallofWin\Documents\sfml2\test.c|6|error: duplicate label 'sf'|
C:\Users\aBallofWin\Documents\sfml2\test.c|5|note: previous definition of 'sf' was here|
C:\Users\aBallofWin\Documents\sfml2\test.c|6|error: expected expression before ':' token|
C:\Users\aBallofWin\Documents\sfml2\test.c|8|error: 'window' undeclared (first use in this function)|
C:\Users\aBallofWin\Documents\sfml2\test.c|8|error: (Each undeclared identifier is reported only once|
C:\Users\aBallofWin\Documents\sfml2\test.c|8|error: for each function it appears in.)|
C:\Users\aBallofWin\Documents\sfml2\test.c|10|error: duplicate label 'sf'|
C:\Users\aBallofWin\Documents\sfml2\test.c|5|note: previous definition of 'sf' was here|
C:\Users\aBallofWin\Documents\sfml2\test.c|10|error: expected expression before ':' token|
C:\Users\aBallofWin\Documents\sfml2\test.c|11|error: 'event' undeclared (first use in this function)|
C:\Users\aBallofWin\Documents\sfml2\test.c|13|error: 'sf' undeclared (first use in this function)|
C:\Users\aBallofWin\Documents\sfml2\test.c|13|error: expected ')' before ':' token|
C:\Users\aBallofWin\Documents\sfml2\test.c|18|error: 'text' undeclared (first use in this function)|
C:\Users\aBallofWin\Documents\sfml2\test.c|5|warning: label 'sf' defined but not used|
||=== Build finished: 72 errors, 1 warnings ===|

I wanted to try out libMy but due to being in sfml2 I tried the tutorial and this happened :( Any suggestions?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Problems with the SFML2 tutorial program
« Reply #1 on: July 04, 2012, 12:46:17 pm »
"test.c" is interpreted by Code::Blocks as being C code. Use the .cpp extension instead.
Laurent Gomila - SFML developer

aBallofWin

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
Re: Problems with the SFML2 tutorial program
« Reply #2 on: July 04, 2012, 12:55:22 pm »
Deleted that cheers, but it's come up with:  ld.exe || cannot find -lsfml-graphics |
I tried linking it as both sfml-graphics and with the -l
hmm

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Problems with the SFML2 tutorial program
« Reply #3 on: July 04, 2012, 12:58:35 pm »
Are you sure that you followed every step of the tutorial? You should read it carefully again, and check with the screenshots.
Laurent Gomila - SFML developer

aBallofWin

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
Re: Problems with the SFML2 tutorial program
« Reply #4 on: July 04, 2012, 01:15:08 pm »
It appears I left out the .a and .dll files from the lib folder, but I've had to copy those from the sfml1.6, as they weren't supplied in the sfml2 RC, I don't know if this is okay or not.

After that it threw up some really wacky errors:
Code: [Select]
obj\Debug\test1.o||In function `main':|
C:\Users\aBallofWin\Documents\sfml2\test1.cpp|5|undefined reference to `_imp___ZN2sf12RenderWindowC1ENS_9VideoModeERKSsjRKNS_15ContextSettingsE'|
C:\Users\aBallofWin\Documents\sfml2\test1.cpp|6|undefined reference to `_imp___ZN2sf4Font14getDefaultFontEv'|
C:\Users\aBallofWin\Documents\sfml2\test1.cpp|6|undefined reference to `_imp___ZN2sf6StringC1EPKcRKSt6locale'|
C:\Users\aBallofWin\Documents\sfml2\test1.cpp|6|undefined reference to `_imp___ZN2sf4TextC1ERKNS_6StringERKNS_4FontEj'|
C:\Users\aBallofWin\Documents\sfml2\test1.cpp|14|undefined reference to `_imp___ZN2sf6Window5closeEv'|
C:\Users\aBallofWin\Documents\sfml2\test1.cpp|11|undefined reference to `_imp___ZN2sf6Window9pollEventERNS_5EventE'|
C:\Users\aBallofWin\Documents\sfml2\test1.cpp|17|undefined reference to `_imp___ZN2sf12RenderTarget5clearERKNS_5ColorE'|
C:\Users\aBallofWin\Documents\sfml2\test1.cpp|18|undefined reference to `_imp___ZN2sf12RenderStates7DefaultE'|
C:\Users\aBallofWin\Documents\sfml2\test1.cpp|18|undefined reference to `_imp___ZN2sf12RenderTarget4drawERKNS_8DrawableERKNS_12RenderStatesE'|
C:\Users\aBallofWin\Documents\sfml2\test1.cpp|19|undefined reference to `_imp___ZN2sf6Window7displayEv'|
C:\Users\aBallofWin\Documents\sfml2\test1.cpp|8|undefined reference to `_imp___ZNK2sf6Window6isOpenEv'|
obj\Debug\test1.o||In function `~VertexArray':|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\VertexArray.hpp|46|undefined reference to `_imp___ZTVN2sf11VertexArrayE'|
obj\Debug\test1.o||In function `~Text':|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\Text.hpp|49|undefined reference to `_imp___ZTVN2sf4TextE'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\Text.hpp|49|undefined reference to `_imp___ZTVN2sf4TextE'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\Text.hpp|49|undefined reference to `_imp___ZN2sf13TransformableD2Ev'|
C:\Users\aBallofWin\Documents\SFML-2\include\SFML\Graphics\Text.hpp|49|undefined reference to `_imp___ZN2sf13TransformableD2Ev'|
||=== Build finished: 16 errors, 0 warnings ===|

EDIT: I have to leave for a while, but shall be back later!
« Last Edit: July 04, 2012, 01:24:04 pm by aBallofWin »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Problems with the SFML2 tutorial program
« Reply #5 on: July 04, 2012, 01:32:19 pm »
Quote
It appears I left out the .a and .dll files from the lib folder, but I've had to copy those from the sfml1.6, as they weren't supplied in the sfml2 RC, I don't know if this is okay or not.
No it's not ok. The .a and .dll files are there, which archive did you download from the website?
Laurent Gomila - SFML developer

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10815
    • View Profile
    • development blog
    • Email
Re: Problems with the SFML2 tutorial program
« Reply #6 on: July 04, 2012, 05:55:57 pm »
It appears I left out the .a and .dll files from the lib folder, but I've had to copy those from the sfml1.6, as they weren't supplied in the sfml2 RC, I don't know if this is okay or not.

Also you can't just use old versions of libraries, just because you don't have the new ones, e.g. all functions name are now spelled diffrently so it won't be found in the old libraries (undefined referemce). ::)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

aBallofWin

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
Re: Problems with the SFML2 tutorial program
« Reply #7 on: July 04, 2012, 06:53:54 pm »
Quote
It appears I left out the .a and .dll files from the lib folder, but I've had to copy those from the sfml1.6, as they weren't supplied in the sfml2 RC, I don't know if this is okay or not.
No it's not ok. The .a and .dll files are there, which archive did you download from the website?

I didn't think so, I downloaded the latest snapshot from the downloads page, labelled SFML 2.0 snapshot.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10815
    • View Profile
    • development blog
    • Email
Re: Problems with the SFML2 tutorial program
« Reply #8 on: July 04, 2012, 08:20:29 pm »
I didn't think so, I downloaded the latest snapshot from the downloads page, labelled SFML 2.0 snapshot.

Yes that's will just download the source to build the library, thus doesn't contain any binaries...
You need to download the release candidate (SFML 2.0rc).
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

aBallofWin

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
Re: Problems with the SFML2 tutorial program
« Reply #9 on: July 04, 2012, 08:33:55 pm »
I didn't think so, I downloaded the latest snapshot from the downloads page, labelled SFML 2.0 snapshot.

Yes that's will just download the source to build the library, thus doesn't contain any binaries...
You need to download the release candidate (SFML 2.0rc).

Ahh cheers! My bad lol. Just need to solve the errors with libMy now

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10815
    • View Profile
    • development blog
    • Email
Re: Problems with the SFML2 tutorial program
« Reply #10 on: July 04, 2012, 08:40:23 pm »
Ahh cheers! My bad lol. Just need to solve the errors with libMy now

Keep in mind libMy requires boost since it's using its filesystem library...
And last time I used it, I had to make some changes on it, but I'm not sure if they are already within the package I've uploaded.  ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

aBallofWin

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
Re: Problems with the SFML2 tutorial program
« Reply #11 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 ===|
:<

 

anything