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 - spackle

Pages: [1]
1
General / Single instance of a class
« on: February 10, 2009, 04:52:07 am »
Then after you look up singleton, forget you looked it up. If you only want one instance of a class then only create one instance. Its just that easy. See http://scientificninja.com/advice/performant-singletons for more information.

2
Window / Window creation crashes
« on: November 25, 2008, 07:44:07 am »
Perhaps I was not the only person who didn't  know what was going on here? ;)

But I'm happy to say I do now. The SFML libraries were being compiled with SSE2 support enabled which my old processor doesn't support (see Configuration Properties -> C/C++ -> Code Generation -> Enable Enhanced Instruction Set in your project properties (for VS users only obviously.))

Just thought I'd update this post with the solution in case anyone else has this problem some time in the future.

We now return you to your regularly scheduled programming (pun intended.)

3
Window / Window creation crashes
« on: November 23, 2008, 05:19:01 am »
I'm using VS2008 and WinXP SP3 and all SFML programs crash when trying to create the window (this includes the samples.) For some reason this only happens in release builds. The things I've already tried:

* Checked and double-checked to make sure it's linking against the right versions of the libs and all is well in that regard.
* Recompiling the whole thing but that had no effect.
* Tried using both the static and dynamic libs.

I get the following warning when compiling the static Window library which may or may not be an issue:

winmm.lib(WINMM.dll) : warning LNK4006: __NULL_IMPORT_DESCRIPTOR already defined in opengl32.lib(OPENGL32.dll); second definition ignored
winmm.lib(WINMM.dll) : warning LNK4221: no public symbols found; archive member will be inaccessible

Anyone got any idea what's going on?

Thanks.

Pages: [1]
anything