Jebbs / DSFML-C

The back end for DSFML
4 stars 3 forks source link

Compile errors in Font.cpp #3

Closed aubade closed 11 years ago

aubade commented 11 years ago

Sorry to bug you again, but trying to compile with GCC 4.7 is giving me some errors:

/home/erika/Devel/DSFML-C/src/SFML/Graphics/Font.cpp:68:33: error: ‘sfFont* sfFont_createFromStream’ redeclared as different kind of symbol In file included from /home/erika/Devel/DSFML-C/src/SFML/Graphics/Font.cpp:33:0: /home/erika/Devel/DSFML-C/include/SFML/Graphics/Font.h:51:28: error: previous declaration of ‘sfFont* sfFont_createFromStream(void*)’ /home/erika/Devel/DSFML-C/src/SFML/Graphics/Font.cpp:68:33: error: ‘DStream’ was not declared in this scope /home/erika/Devel/DSFML-C/src/SFML/Graphics/Font.cpp:68:42: error: ‘stream’ was not declared in this scope

Jebbs commented 11 years ago

It's ok! I didn't have time to build yesterday so it's actually my fault for not double checking. I have today off though so I'll fix any problem you get!

I'll look at it right now and make sure everything is in order before I close this issue.

It needed to build with out error! Especially since I was going to announce it in the D forums. :P

Jebbs commented 11 years ago

There were probably just a few things I forgot to copy into the repo.It Ishouldn't take too long.

Jebbs commented 11 years ago

Looks like everything that was missing was just a couple of header files. I just did a test build using the code from the repo itself, so you should be all good now!

aubade commented 11 years ago

Compiles fine over here now! Now to test my engine on it...