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

Author Topic: Using SFML in Borland C++ Builder 6  (Read 5194 times)

0 Members and 1 Guest are viewing this topic.

CBenni::O

  • Newbie
  • *
  • Posts: 48
    • View Profile
Using SFML in Borland C++ Builder 6
« on: May 21, 2010, 01:00:31 pm »
Hy,

I have been trying to install the SFML(2.0)-Graphics-part in Borland C++ Builder 6

I have found this german thread where I found out how to convert the SFML libs correctly.

But now I get lots and lots of compiler errors:
Quote
E2478 Too many template parameters were declared for template 'Utf<8>'


Double-clicking on the error leads me to Utf.inl...

This is what I included:
Code: [Select]
#pragma comment(lib, "sfml-systemB.lib")
#pragma comment(lib, "sfml-graphicsB.lib")
#pragma comment(lib, "sfml-mainB.lib")
#include "SFML/Graphics.hpp"
#include "SFML/System.hpp"


I do not hava a clue how to resolve this, I haven't changed anything of SFML exept for the .lib files...

Thanks for every Help ;)

bye, CBenni::O
42!
Metal will never die!

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Using SFML in Borland C++ Builder 6
« Reply #1 on: May 21, 2010, 01:04:00 pm »
There's no file/line info associated to the error message?
Laurent Gomila - SFML developer

CBenni::O

  • Newbie
  • *
  • Posts: 48
    • View Profile
Using SFML in Borland C++ Builder 6
« Reply #2 on: May 21, 2010, 01:30:10 pm »
Well, yes,

There are several Messages, all in Utf.inl:
lines 28,76,129,138,153,167,181...

there are about 25 of these...

I think the borland Builder doesn't accept the definition of the Utf class-template, as the messages aren't limited only for Utf<8>, but Utf<16>, too.

EDIT: Is there any tutorial how to includ SFML in the Borland Builder? I haven't found any...

bye, CBenni::O
42!
Metal will never die!

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Using SFML in Borland C++ Builder 6
« Reply #3 on: May 21, 2010, 02:00:24 pm »
Could you show the exact error messages with files and line numbers? At least the first ones, if there are too many :)
Laurent Gomila - SFML developer

CBenni::O

  • Newbie
  • *
  • Posts: 48
    • View Profile
Using SFML in Borland C++ Builder 6
« Reply #4 on: May 21, 2010, 03:36:12 pm »
Quote
[C++ Fehler] Utf.inl( 28 ): E2478 Für Template 'Utf<8>' wurden zu viele Template-Parameter deklariert


(I'm using the german version ;) translation see above)

But I have solved the Problem by using GDI+ instead... It just didn't work out :(
bye, CBenni::O
42!
Metal will never die!

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Using SFML in Borland C++ Builder 6
« Reply #5 on: May 21, 2010, 04:36:13 pm »
Can you show a few more errors (with translations if possible :D)?
Laurent Gomila - SFML developer

 

anything