I've also noticed that some of us were using different things for tabs :p
I've been ignoring it to this point because I didn't feel like dealing with it. But Yeah, GitHub does choke on a mixture, and so does my IDE.
I'm cool with using either tabs, or tabs converted to four spaces. (i've been using the latter). But either standard works for me.
We should also got to devise a namespace scheme. At the moment everything is thrown into chesspp without much more organization. My next step was to organize bits into things like, chesspp::chess, chesspp::core, chesspp::graphics, chespp::configuration, chespp::utility, etc etc, and then follow the boost convention and have the directory structure match the namespaces.
That's a good idea. Personally I think spaces only would be best. As for directory structure, I vote to separate header files from source files with an "include" directory. That's just my personal preference, though, so it's no big deal if others don't want it.
I must be completely retarded or something because I've been hiding the fact that for the past few days I have not been able to figure out how to build this project.
I've downloaded CMake, I've downloaded GNU Make, I've downloaded Cygwin, I've googled for hours, I've gotten useless error messages for hours, I've starved for hours.
Can anyone help? Why it is so hard to use a stupid Makefile!? I just want to build with clang++ :(
If you're on windows that Makefile I have in the project isn't going to work. It should work for Linux distros and OS x that have SFML properly built and installed.
And I see from GitHub issues that you've got it figured out now. Good :p
EDIT:
Also, irc.freenode.net #ChessPlusPlus is the IRC channel we've been using.
I posted the above message after that GitHub message. I can compile but I can't link. I'll check out the irc - the site takes forever to load and I don't have an irc client so it may be a bit until I can get on.
On OS x you do. Guess it's different for windows then.
There's a version of SFML in the project because SFML 2.0 isn't yet stable. That's a version that the project is guaranteed to work with. Although the 2.0 RC should work as well.
We're having some trouble compiling. Does anyone have any help to offer for linking SFML with clang++? I think I would have to build SFML with clang but all I can find on google is someone else who's already done that but they won't say how.
Sorry for posting in the wrong place, I work 12 hour shifts sun-tues. Poked my head in last night and saw some refactoring being done. Does this mean the problem is solved?
As you know, I was having trouble with a static link. I didn't get scientific with it, but I'm pretty sure I have a different project that links statically to the same libs just fine.
If the problem isn't solved yet, maybe try a project with only a few sfml calls in main(), and see if that works before you pull your hair out trying to compile sfml correctly.
@Lowest0ne: problem not solved, I can compile but linking is not yet possible for me. I can't even link a simple 'open a window and do nothing' program with clang.
I'll see if they have a contact, and I've seen other people use SFML with clang as if it's impossible not to, so I'm definitely missing something.
@ LB: I'm a Windows user so I don't know if I can help, but what linking errors are you getting exactly (copy pasta please)? I've been reading up on Clang and it seems to mention it's interchangeability with gcc in every other bullet point. I also remember seeing in the cmakelist.txt file for SDL that Clang took the same configuration options as gcc.