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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Cornstalks

Pages: 1 2 3 [4] 5 6 ... 12
46
General / Re: SFML 2.0 0n MAC
« on: May 14, 2013, 03:46:17 am »
My bad I meant 10.8.
I agree with your linking comment but I am just following the tutorial for installation. How do I link properly?
It doesn't seem to matter what I have in the main I still get the same general linking error messages.
I am new to Xcode so I do  not know how to any of that info to post it.
Warren
The download page doesn't say this (and I think it should), but the Clang 10.8 binaries link to libc++. Here, I made an image (sorry it's big).

47
Xcode 4.6.2 (the latest version) runs on OS X 10.7, and it'll default to the same things that Xcode 4.6.2 on 10.8 does.

Also, I'm not sure that the "default" settings make a huge difference, seeing as people will most likely use the Xcode templates SFML provides, so then it's SFML's template's defaults that make a difference, not the Xcode defaults.

Also, 10.7 supports C++11 & libc++ just fine. There's a reason you can set your target to 10.7 when building a C++11 application in Xcode. it's not problematic at all. You don't have to worry about missing symbols.

And finally, I'd also suggest noting on the downloads page that the Clang builds are linking to libc++ and support C++11. Otherwise, it's not obvious they link to libc++ and support C++11 (and thus look like they should support OS X 10.5, which is why I was puzzled in the first place).

48
General / Re: Compiler errors for SFML sample program
« on: May 12, 2013, 08:51:58 am »
Try installing the Ubuntu packages necessary for OpenGL development. If you don't have "GL/gl.h" in /usr/include or /usr/local/include, then you need to obtain it.

49
General discussions / Re: Missing const char * overloads
« on: May 12, 2013, 08:46:07 am »
"[...] premature optimization is the root of all evil." - Donald Knuth

While I can't speak for Laurent, I would argue that:
  • This is C++, not C. It's idiomatic to use C++ strings in C++, not C strings in C++.
  • There are times when the string length is needed. Passing an extra parameter (for C strings) is clumsy, and without passing an extra parameter strlen() must be called (which is O(n), compared to std::string::size(), which is O(1), and requires no additional parameter passing).
  • This is a premature optimization. Chances are, text-based operations aren't the bottle neck of your program (either for CPU time or for memory). Optimizing something that accounts only for a fraction of your costs means you only get a fraction of a fraction of efficiency increase.
  • Compilers are bloody good these days at optimizing. They're not perfect, sure, but even if std::string did introduce overhead, the optimizer would ensure that the overhead is minimal. Again, now you're optimizing a fraction of a fraction, which seems hardly worth anyone's time.

50
On the download page it says the second OS X option is "Clang (OS X 10.8+)". Why 10.8+? Shouldn't it be 10.5+?

51
General / Re: SFML 2.0 0n MAC
« on: May 11, 2013, 08:23:11 pm »
It sounds to me like you're linking to the wrong standard library. Also, you left out some important information:

Hi
I  down loaded file SFML 2.0 Clang (OS X 10.5+)
on a machine using OSX 10.8.3 and Xcode 4.6.2.
Where did you download this? The official SFML downloads don't have SFML 2.0 Clang (OS X 10.5+). The two official options are: GCC (OS X 10.5+) or Clang (OS X 10.8+).

My guess is that you downloaded some version of SFML that linked to a particular implementation of the standard C++ library, and your project is linking to a different implementation of the standard C++ library.

52
General / Re: SFML - SF::TEXTURE BUG...
« on: May 11, 2013, 07:48:00 am »
Are you passing the texture by reference? If you're not, you're going to be creating copies, which is a slow and expensive process (and should be avoided when possible).

53
General discussions / Re: To Admins - SFML Logo
« on: May 05, 2013, 04:13:25 am »
Anyway, I downloaded the svg, and I'm a very happy boy! Sorry about that!
No need to apologize! Sorry it took awhile to find it.

54
General discussions / Re: To Admins - SFML Logo
« on: May 05, 2013, 04:02:34 am »
   I'll start working on the text part now - it's not done quite yet.
Don't :)

I made the logo in Inkscape and there are three places that I know of that you can download the original SVG:
SFML website
Wikipedia
SFML forums

55
Graphics / Re: setOrigin fails
« on: May 03, 2013, 05:43:51 am »
The only thing that works is Render Window.  Every other sf
 type command, such as "SetFramerateLimit()" or "LoadFromFile",
 is colored red in the editor.  All works with SFML-1.6
Again, as Jebbs said, the casing changed in 2.0. It's "loadFromFile" and "setFramerateLimit" etc.

56
General discussions / Re: Android Support and OpenGL ES 2.0
« on: May 03, 2013, 04:51:18 am »
Sonkun, I'm looking at your code and I've got a few questions:
  • Why did you change all the file/folder names (SFML -> sfml)? Actually, only some of them were changed. I'm worried that this change, and the fact that you had this massive commit might make Laurent cringe.
  • What is your preferred way of me communicating with you? I'm used to mailing lists, and as SFML doesn't have one, I just use these forums. Do you have a preferred way of trying to discuss things (issues, goals, milestones, etc.)?


@Laurent: How do you plan on continuing to support 3rd party libraries? Just keep checking in binaries into the repo? Is there a particular reason for you committing 3rd party binaries into the repository as opposed to having the user build them him/herself (with the cmake scripts configuring them)? I'm guessing some of them might require a Unix-like system?

Also, how do you plan on handling licensing issues? I'm guessing you won't include OpenALsoft and libsndfile in Android/iOS builds (and instead just use native APIs)? Their LGPL licences aren't good. iOS can't do dynamic linking (thus requiring you to either open source your application or release your object files so users can relink it). Android can dynamically link, but there are some annoying hoops to jump through to comply with the LGPL.

57
General discussions / Re: SFML on Reddit (/r/sfml)
« on: May 03, 2013, 04:12:13 am »
I also used the new SFML logo as the logo for the subreddit. I'm hoping there is no problem with this?
If by "problems" you mean licensing stuff, I put it in the public domain so people can do anything they want with it.

58
General discussions / Re: A new logo for SFML
« on: May 02, 2013, 11:48:24 pm »
Does anyone have any creative ideas for adding the sub text that doesn't come across as cramped?
One possibility to make it at least a little lighter would be to replace "and" with "&" and use lowercase letters, i.e.:
simple & fast multimedia library
That does make it less wide, but I think vertical height is the main problem (and making the font any smaller makes it pretty hard to read).

59
SFML website / Re: New website
« on: May 02, 2013, 10:44:42 pm »
Also, I think the very first paragraph on the home page should say:

"SFML (Simple and Fast Multimedia Library) provides a simple interface to the various components of your PC..." (the underlined part being the new part)

Just so the full name is easy to see and understand.

60
General discussions / Re: A new logo for SFML
« on: May 02, 2013, 10:42:11 pm »
Now that you shifted "SFML" upwards, the color gradient is not aligned correctly anymore. The arc is interrupted :-\
Oops, I didn't even think about that. Good eye.

I think it looks a little bit cramped now. I guess there's not much space in that green bar. You could try making the text smaller, but then it will probably be hard to read. Anyway, that's just nit-picking...
I had the same thoughts. I didn't want to make "SFML" smaller, but I had to make the sub-text a readable size.

@Laurent (and everyone): I like the idea of the sub text, but I think I prefer the clean, uncramped look and feel the logo has without the sub text. Your thoughts? Does anyone have any creative ideas for adding the sub text that doesn't come across as cramped?

Also Laurent, would you happen to have a copy of the old logo (high resolution if possible)? I'd like a copy for historical purposes, and am also considering putting it on Wikipedia to show the evolution of logos (it'll be interesting to see what SFML 3's logo looks like).

Pages: 1 2 3 [4] 5 6 ... 12