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 - Cuban-Pete

Pages: 1 ... 3 4 [5]
61
SFML website / [Suggestion] Favicon
« on: June 22, 2011, 05:38:50 pm »
Thanks. :)

I put them here:

http://lars.stonerocket.co.uk/images/rest/favicon_sfml_1.ico

http://lars.stonerocket.co.uk/images/rest/favicon_sfml_2.ico

(I can't upload on forum)

Also, it is only 16x16 version. Icon files (as you probably know) can also have 32x32 and higher version. I only put in the 16x16.

62
SFML website / [Suggestion] Favicon
« on: June 22, 2011, 05:24:00 pm »
Hi, see this image below. Do you like the suggestion? I can upload the correct icon file if you like.  :)


63
SFML projects / My Gui library
« on: June 21, 2011, 07:49:00 pm »
age of empires spotted!  :D

WYSIWYG, sounds interesting.

small tip, don't put big frames of purple in your example images, it looks bad  :wink:

64
SFML projects / Map generator (perlin noise)
« on: June 21, 2011, 07:39:22 pm »
It does not work on win7 64bit. I starts, but does not show any window. Under processes (ctrl+alt+del) I can stop it only. //could be ATI bug. never mind then...

Screenshots look nice!

//offtopic:
Does every program you make with sfml, need the "sfml licence.txt" ?

65
Window / Fixed windowsize
« on: June 21, 2011, 07:18:37 pm »
I can pick from:

close
default
FullScreen (did not work for me on win7 64bit)
none
resize
titlebar

I'm using close as style and now it is working good! Thanks!  :)

// I guess I cannot edit the documentation, it is no wiki. else I could add these options.

66
Window / Fixed windowsize
« on: June 21, 2011, 07:04:09 pm »
Now I use:
Code: [Select]

while (window.IsOpened())
{
...
window.SetSize(800,600);
...


but perhaps there is a better way to give my program/window a fixed size?

I could not find anything in here: http://www.sfml-dev.org/documentation/2.0/classsf_1_1Window.php

67
General / Not working...
« on: June 21, 2011, 05:19:11 pm »
Awesome, it works! Thanks you very much for the clear image contadotempo.  :D

68
General / Not working...
« on: June 21, 2011, 05:00:09 pm »
Quote from: "Laurent"
To statically link SFML 2, yuo must define SFML_STATIC in the proeprocessor options of your project.


How do I do that? I googled all over the place "static library visual studio", but got nothing with an answer.

I also have a problem that running my .exe (still with .dll's) on vista pc, it gives an "program did not work" message - after exiting - the program. I read on the forum that recompiling SFML would fix this. I hope that helps.

69
General / Not working...
« on: June 21, 2011, 03:48:14 pm »
Thanks, that fixed it. I copied glu.h and glu32.lib from a different pc with VS2010 and cleaned up the GL folder (contained also freeglut stuff)  :)

Only problem now is that I did a new cmake and compile for the -s libraries, but I did not get an sfml-main-s.lib.  :?

70
General / Not working...
« on: June 21, 2011, 03:12:38 pm »
Thanks for the quick reply. I posted because I want it to work, but hate it not for working...  :roll:

About the 2.0 bugs (some more details):
- download today SFML 2.0 snapshot
- used Cmake with visual studio 2008 compiler
- did BUILD ALL (on release)
- went to the examples and opened (for example) window.vcproj
- set it on release and compiled:

Quote
1>Window.obj : error LNK2019: unresolved external symbol _gluPerspective@32 referenced in function _main
1>C:\Users\Lars\Desktop\sfml\examples\window\Release\window.exe : fatal error LNK1120: 1 unresolved externals


Under linker (additional libraries):
kernel32.lib
user32.lib
gdi32.lib
winspool.lib
shell32.lib
ole32.lib
oleaut32.lib
uuid.lib
comdlg32.lib
advapi32.lib
..\..\lib\Release\sfml-main.lib
..\..\lib\Release\sfml-window.lib
..\..\lib\Release\sfml-system.lib
glu32.lib
opengl32.lib
winmm.lib

Ok. other example I tried to run, win32. It compiles, all went ok. I copy:
sfml-graphics-2.dll
sfml-system-2.dll
sfml-window-2.dll
and start the program. I see a window with grey background... 'woom' and it's gone again. No messages, nothing. Also running from console, no messages. --- wait, revert that. the images were missing. fixed that, the example did run! WOOOO  :D  

I would like to make a program with opengl, so that glu bug is still a problem. Do you guys also have a tutorial on how to statically link 2.0, that would be nice.

71
General / Not working...
« on: June 21, 2011, 02:32:54 pm »
Hi,

I would like to use SFML, but after trying days I give up. My reasons:

- 1.6 has ATI bug
- 2.0 has -gluperspective32 bug, compiler keeps giving error
- 2.0 examples don't even work. what the hell. they close right away after starting or won't compile

I'm on win7 64bit with ATI HD4870.

I wanted to make a program that can be used on all operating systems, but this is just not working...

Pages: 1 ... 3 4 [5]