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 - CBenni::O

Pages: [1] 2 3 4
1
DotNet / SFML.Text memory leak (?)
« on: June 06, 2013, 12:17:02 am »
I called the following code segment once per frame:

Text txt = new Text("sometext", font);
txt.Position = new Vector2f(0, 30);
window.Draw(txt);

And I received a massive memory leak (~600kb/sec at 60 fps) that didnt get cleaned up by the garbage collector. Commenting the code out or moving the creation of txt outside of the loop resolved the memory usage increase. I think there might be some problem with the constructor (as the memory obviously doesnt get cleaned up afterwards). You might want to look into this?

bye, CBenni

2
General / MSVC++ 2010 64 bit libraries
« on: September 29, 2010, 06:05:51 pm »
For everyone triing to compile themselves: how did you get it to work?

bye, CBenni::O

3
General / Here are compiled SFML 2.0 lib for Visual Studio 2010
« on: September 28, 2010, 08:57:54 pm »
omg I totally forgot about this..
sorry  :oops:

bye, CBenni::O

4
General / Here are compiled SFML 2.0 lib for Visual Studio 2010
« on: September 28, 2010, 01:36:53 pm »
I thought that the most recent libs were called sfml2-window.lib?

I'm confused now...

bye, CBenni::O

5
General / Linker doesn't create libs
« on: September 27, 2010, 09:54:44 pm »
Using cmake, i was able to create the libs ;)

But please fix it anyway :D

bye, CBenni::O

6
General / Linker doesn't create libs
« on: September 27, 2010, 01:46:41 pm »
I'm sorry for the push, but the problem persists...

I have retried it again and again, but nothing I changed helped anything...
Is there any solution for this?

bye, CBenni::O

7
General / Linker doesn't create libs
« on: September 25, 2010, 10:36:19 am »
Hy,

Wanting to update my SFML-2.0 build, I updated using the branch-repository.
Compiling with Visual Studio 2010 worked, but the linker threw the warning MSB8012 if I built the DLLs, followed by a weird Text.

In addition it didn't build the .lib files (e.g. sfml2-system(-d).lib), eventhough the Incremental Linker Files (.ilk) and the DLLs were generated.

Part of the Build Log:
Code: [Select]
C:\Programme\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\Programme\SFML\SFML-2.0 Data\build\vc2008\..\..\Temp\vc2008\sfml-system\Debug DLL\sfml-system.dll) does not match the Linker's OutputFile property value (C:\Programme\SFML\SFML-2.0 Data\lib\vc2008\sfml2-system-d.dll). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).

C:\Programme\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5): warning MSB8012: TargetName(sfml-system) does not match the Linker's OutputFile property value (sfml2-system-d). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).

Link:
Creating library C:\Programme\SFML\SFML-2.0 Data\build\vc2008\..\..\Temp\vc2008\sfml-system\Debug DLL\sfml-system.lib and object C:\Programme\SFML\SFML-2.0 Data\build\vc2008\..\..\Temp\vc2008\sfml-system\Debug DLL\sfml-system.exp

LinkEmbedManifest:
Creating library C:\Programme\SFML\SFML-2.0 Data\build\vc2008\..\..\Temp\vc2008\sfml-system\Debug DLL\sfml-system.lib and object C:\Programme\SFML\SFML-2.0 Data\build\vc2008\..\..\Temp\vc2008\sfml-system\Debug DLL\sfml-system.exp

sfml-system.vcxproj -> C:\Programme\SFML\SFML-2.0 Data\build\vc2008\..\..\Temp\vc2008\sfml-system\Debug DLL\sfml-system.dll

FinalizeBuildStatus:
Deleting file "C:\Programme\SFML\SFML-2.0 Data\build\vc2008\..\..\Temp\vc2008\sfml-system\Debug DLL\sfml-system.unsuccessfulbuild".

Touching "C:\Programme\SFML\SFML-2.0 Data\build\vc2008\..\..\Temp\vc2008\sfml-system\Debug DLL\sfml-system.lastbuildstate".

Build succeeded.

Time Elapsed 00:00:03.31
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========


Hope you can do something with this information ;)

What can I do? Is this an Error of SFML or me?
I have compiled SFML in VS2010 before and never had problems, how come this revision doesn't work?

thanks for your help,
CBenni::O

8
Graphics / A slight problem with drawing sprites
« on: July 22, 2010, 04:04:15 pm »
Or, if you need random access, use std::vector<sf::Image*> (I know this isn't perfect Code, remember that you have to release all pointers manually, or use boost::ptr_vector or std::vector< shared_ptr<sf::Image> >.

bye, CBenni::O

9
Feature requests / Manually setting Z-order
« on: July 20, 2010, 10:21:31 pm »
Or you can use a Z-Buffer if you have lots of Sprites ;)

OGL should suport this...

bye, CBenni::O

10
Graphics / Changes in sf::Renderwindow?
« on: July 20, 2010, 05:06:05 pm »
Thank you very much!

Youre so fast at fixing ;) Wish I'd be that good -.-

bye,
CBenni::O

11
Graphics / Changes in sf::Renderwindow?
« on: July 19, 2010, 10:34:21 pm »
Yes, sorry, I worte Renderwindow  :oops:

12
Graphics / Changes in sf::Renderwindow?
« on: July 19, 2010, 10:03:40 pm »
Hy

After Laurent built the new Revision of SFML 2.0, including the Text-bug-fix, I tried to recompile my Project, and suddenly the code (using sf::Renderimage for the GUI-Elems) which had worked for weeks producing this:
Working Program

looks like this:
Not Working Program
 :shock:

What happened here? I didn't change my Code at all :?
Is it an Error in my Code or an SFML Bug?

bye,
CBenni::O

13
Graphics / Problems with sf::Text
« on: July 19, 2010, 11:07:26 am »
Great! Thank you  :wink:

bye,
CBenni::O

14
Network / [Solved] FTP progressbar
« on: July 18, 2010, 05:47:02 pm »
He wrote that he solved his Problem...

I didn't know if he wanted to notice us that he will wait for the SFML 2.0 release or solved his Problem otherways as a temporary fix.

bye,
CBenni::O

15
General / Visual Studio 2010 Libs
« on: July 18, 2010, 05:43:41 pm »
Quote from: "ftb"
hmm do you have the also the libs of the latest stable version 1.6?


No, I'm sorry, I have never worked with anything < 2.0 exept in the very beginning ;)

bye,
CBenni::O

Pages: [1] 2 3 4