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

Pages: [1] 2
1
Added the issue: https://github.com/SFML/SFML/issues/304

I can only provide arguments for raw mouse movement so my issue only relates to that.

2
I did a search and nothing relevant came up. Searching again using the menu search(instead of the search box that I used before) gives me this and this:
Yes, raw input looks like an important feature (not only for mouse, for keyboard too).

Doesn't look like you are against it :)

Why? Unfiltered high precision input is not enough? ;)

3
sf::Mouse uses GetCursorPos that is resolution dependent(i.e low precision) and I assume it also is smoothed since it gets the cursor position and not the HID data, so that's no improvement :)

4
Feature requests / Option for high precision unsmoothed mouse movement
« on: October 17, 2012, 11:59:25 pm »
Sfml uses WM_MOUSEMOVE, there should be a option to switch to/from WM_INPUT.

Msdn explains why:
Quote
WM_MOUSEMOVE applies pointer acceleration (also known as ballistics) to the raw mouse data. //...// WM_MOUSEMOVE is ideal for moving mouse pointers, it is not so good for moving a first-person camera, since the high-definition precision will be lost.

I don't know about the details about other platforms, but I assume there are similar settings to be made.

5
General / sfml2 linker error with code::blocks on ubuntu 10.10
« on: February 03, 2011, 07:28:01 am »
Quote from: "Laurent"
For now, remove main from the list of components and link it manually.
I was lazy and just made a copy :)

6
General / sfml2 linker error with code::blocks on ubuntu 10.10
« on: February 01, 2011, 07:55:28 pm »
Quote from: "Groogy"
well the static complain because: http://www.sfml-dev.org/forum/viewtopic.php?p=26407#26407
Quote from: "Laurent"
On Linux, external libraries are not included in SFML static libs

Dynamic linking on linux it is.
Just wondering... is this "not including externals" out of choice or force(ie not possible)?
I only do static linking on windows b/c of the ati bug, so I guess this problem is not present on linux.

Quote from: "Groogy"
Dependency list can be found here: http://www.sfml-dev.org/tutorials/1.6/start-linux.php at the bottom.
figures... rtfm, fail on me :/

Quote from: "Laurent"
Quote
error while loading shared librarues: libsfml-window.so.2.0: cannot open shared object file: No such file or directory

Is the path where you installed it in the LD_LIBRARY_PATH environment variable?
No it wasn't and I kinda missed the "sudo make install" part too. sorry... rtfm yet again.

Quote from: "Laurent"
Quote
unless there has been a name change in the build I got and the 1783 version of the supplied FindSFML.cmake, it is unable to find sfml-main.lib (because of the missing -s) when requesting the static library.

sfml-main is static, there's no dynamic version. And it's for Windows only, by the way.
Sorry for not being clear... this issue was/is on windows. I guess I should have made another thread about it..

Dynamic linking on windows, looks for sfml-main.lib and finds it. Static linking looks for sfml-main-s.lib and doesn't, since it should look for sfml-main. This is, of course, assuming that this is correct:
Code: [Select]
set(SFML_STATIC_LIBRARIES ON)
find_package(SFML COMPONENTS system window main)

7
General / sfml2 linker error with code::blocks on ubuntu 10.10
« on: February 01, 2011, 07:06:54 am »
didn't help, sorry :(
same error

8
General / sfml2 linker error with code::blocks on ubuntu 10.10
« on: January 31, 2011, 11:41:44 pm »
I grabbed revision 1783 of the sfml2 from svn, cmake generated a codeblocks/makefile and tried to build it. I had to install libfreetype6-dev, libjpeg8-dev, libopenal-dev, libglew1-5dev and libsndfile1-dev for cmake to generate code::blocks files and libxrandr-dev for it to build(#include <X11/extensions/Xrandr.h> in src/SFML/Window/Linux/VideoModeImpl.cpp). This was easy to solve, but it would be nice to have a list of dependencies(just a hint).

Both shared and not-shared built fine, but I cant get the examples to "run". Static won't build and shared is missing dependencies:

First error when build "window" sample:
Code: [Select]
../../lib/libsfml-window-s.a(VideoModeImpl.cpp.o): In function `sf::priv::VideoModeImpl::GetDesktopMode()':
VideoModeImpl.cpp:(.text+0xdb): undefined reference to `XRRGetScreenInfo'
VideoModeImpl.cpp:(.text+0xf4): undefined reference to `XRRConfigCurrentConfiguration'
VideoModeImpl.cpp:(.text+0x107): undefined reference to `XRRConfigSizes'
VideoModeImpl.cpp:(.text+0x15d): undefined reference to `XRRFreeScreenConfigInfo'

I get FT_ (freetype if I'm not misstaken) errors from other samples. This looks to me that it's missing to link to some libraries so a wild guess is either that the cmake configuration is bad, something is badly installed on my part or that static is not supported.

The dynamic version builds but won't start:
Quote
error while loading shared librarues: libsfml-window.so.2.0: cannot open shared object file: No such file or directory


I guess that the cause is the same, but the dynamic version fails to load since it's missing some dependencies. So anyone got any ideas?

edit: unless there has been a name change in the build I got and the 1783 version of the supplied FindSFML.cmake, it is unable to find sfml-main.lib (because of the missing -s) when requesting the static library.

9
General discussions / SFML2: Error on exit
« on: July 23, 2010, 03:32:43 pm »
ok, thanks for the support.. if you need any ati tests or more information, let me know and I might be able to help :)

hope this also "solves" the problem the OP had, i.e: link statically to avoid crash at axit on ati-cards

10
General discussions / SFML2: Error on exit
« on: July 23, 2010, 02:35:10 pm »
If I understood you correctly, applications with sfml dynamic linking crashes on ati cards is normal (the known bug), and the solution is to link statically, right?

11
General discussions / SFML2: Error on exit
« on: July 23, 2010, 12:45:30 pm »
ok... now I have investigated this issue further:

Updated configurations: I am linking dynamically to sfml... not statically as previously mentioned and the new crash location in atioglxx.dll was my bad(forgot to update the dlls).

With that out of the way, my crash location is the same as OP. And it crashes the third time in the wgl destructor(dynamic atexit destructor for 'referenceContext').
This crashes both for the samples and for my project... however with static linking it doesn't crash.. and from what I can tell, the arguments and wgl members look the same.

Something to watch out for: I had trouble running the dynamically linked version through visual studio, it might be me but vs ran the statically linked version even though I had Debug DLL selected in the solution configuration..

tl;dr: Both samples and my project crashes with dynamic linking in ~WglContext() beloning to referenceContext. Static linking doesn't crash.

12
General discussions / SFML2: Error on exit
« on: July 21, 2010, 03:06:43 pm »
Quote from: "Laurent"
Quote
and my samples doesn't crash.

This is not normal. You may have a different issue, you should do more tests to figure out what happens exactly, and why the samples work.

I sure hope so. The code worked fine on my other nvidia based computer, and this ati based one runs batman, fable and other gl and dx based games, so it _should_ work  :?

Will report back here if I find anything useful

13
General discussions / SFML2: Error on exit
« on: July 21, 2010, 01:51:10 pm »
Quote from: "Laurent"
This is a known bug with ATI cards.
If it is a known bug, do you know if there are known fixes or known workarounds? As the op says his/her code worked in 1.6 and my samples doesn't crash.

Quote from: "Laurent"
Quote
I updated to the latest revision and now it crashes in atioglxx.dll

Do you mean that it worked with a previous revision of SFML 2?
Unfortunately no. The previous revision(don't know the number) had the same crash-location as OP, the latest revision just gave another crash-location :)

14
General discussions / SFML2: Error on exit
« on: July 21, 2010, 01:31:47 pm »
I had the exactly the same error. I updated to the latest revision and now it crashes in atioglxx.dll. I am unable to reproduce this issue with the opengl/window samples so I am not sure it's related to sfml.

revision 1534, statically linked, win7 (x64), vs2008 express, ati mobility radeon 5650

15
Graphics / white sprites in sfml2 samples
« on: September 29, 2009, 07:53:32 am »
ok, thanks for the clarification and support :)

Pages: [1] 2
anything