SFML community forums

Help => General => Topic started by: tottekarlsson on August 17, 2016, 10:00:47 pm

Title: SFML and CodeGear??
Post by: tottekarlsson 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
Title: Re: SFML and CodeGear??
Post by: eXpl0it3r 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?
Title: Re: SFML and CodeGear??
Post by: Mario 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?
Title: Re: SFML and CodeGear??
Post by: tottekarlsson 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.
Title: Re: SFML and CodeGear??
Post by: tottekarlsson 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!