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

Author Topic: SFML and CodeGear??  (Read 1250 times)

0 Members and 1 Guest are viewing this topic.

tottekarlsson

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
SFML and CodeGear??
« on: August 17, 2016, 10:00:47 pm »
Hello,
I am looking into using SFML with CodeGear (formerly borland) compilers.

Anyone having any pointers on how to compile the SFML libraries using such since the CMake files have ruled the compiler "unsupported".

I have some success compiling most source files, when trying to create a static lib 'manually', but the library seem too big for me to figure out what to leave in and leave out.

-tk

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10801
    • View Profile
    • development blog
    • Email
Re: SFML and CodeGear??
« Reply #1 on: August 18, 2016, 07:50:09 pm »
Is the toolchain even supported by CMake? Does it use similar command parameters as GCC or VS?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Mario

  • SFML Team
  • Hero Member
  • *****
  • Posts: 879
    • View Profile
Re: SFML and CodeGear??
« Reply #2 on: August 18, 2016, 07:50:35 pm »
Basically you'd just have to look through SFML's cmake files. The "unsupported" line is thrown because SFML doesn't really know what to do with that compiler. You'd have to add your own section, which should then work.

Also what's the specific error message shown by CMake?

tottekarlsson

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: SFML and CodeGear??
« Reply #3 on: August 19, 2016, 07:53:35 pm »
Is the toolchain even supported by CMake? Does it use similar command parameters as GCC or VS?

Yes it is. I don't know if it is closer to VS or GCC, perhaps somewhere in between.

The new CodeGear compilers are based on CLANG. Their old one is named bcc32, it is superfast, but is kind of getting obsolete unfortunately.

tottekarlsson

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: SFML and CodeGear??
« Reply #4 on: August 19, 2016, 07:54:52 pm »
Basically you'd just have to look through SFML's cmake files. The "unsupported" line is thrown because SFML doesn't really know what to do with that compiler. You'd have to add your own section, which should then work.

Thanks, that makes sense. I'll give it a go!