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

Pages: [1]
1
Feature requests / Mouse capture/grab
« on: August 02, 2011, 04:19:18 pm »
There clearly is a need for real mouse input, with no clamp to borders hack.
DirectInput on Windows would be the perfect solution and on Linux there is evdev. That's what evQuake uses.

2
General / SFML2, cmake and Windows 64 bits
« on: July 06, 2011, 05:40:54 pm »
I wanted to have my code compatible with visual studio for once, but cross compiling seems much cooler.
In the end I think I'll opt for that, thank you Svenstaro !

3
General / SFML2, cmake and Windows 64 bits
« on: June 30, 2011, 11:24:26 am »
I understood that with Contadotempo's reponse.
It works and I can compile/run my code, but it still feel strange to need the debug version of sfml when I just want to debug my application, not sfml.

4
General / SFML2, cmake and Windows 64 bits
« on: June 29, 2011, 05:26:22 pm »
Indeed by selecting release mode my executables are working.

But I'll not have the courage to recompile sfml whenever I want to switch between release and debug.
I don't see why Visual Studio can't make calls to sfml release lib inside my debug app.
Isn't there a way to use both ?

5
General / SFML2, cmake and Windows 64 bits
« on: June 29, 2011, 03:45:06 pm »
Hi,

As a Linux user I thought it would be a good idea to make my apps Windows compatible, so I installed Microsoft Visual Studio 2008 Express.
Building sfml with cmake was easy following the tutorial (used nmake to compile), and sfml examples are working.

But when I get to a basic app compiled from a visual studio project generated by cmake, the sfml window title is make of a few garbage characters before my app name.
That was my first and last warning : when I tried to load an sf::Image from file I got a unhandled exception (Access violation reading location 0xcccccccc.), inside sf::Image::LoadFromFile.
Copy/pasting the sfml's opengl example gave me the exact same crash, as for using nmake rather than directly Visual Studio.

I don't understand what could cause the crash.
Could it be a x64/x86 problem ? (My windows 7 is x64, but visual studio express only compiles x86 so I'm pretty sure it didn't tried to combine x86 app with x64 dlls).
Or am I just using cmake wrong ? My app's CMakeLists.txt is just a basic cmake file, using this FindSFML.cake.

6
Feature requests / Mouse capture/grab
« on: March 13, 2011, 05:17:43 pm »
I need this feature for X11, so I tried calling XGrabPointer but my sfml window now receives no more mouse event, whatever I put as owner_events and event_mask.
Does anyone managed to make it work ?
And are there any news on some implementation of this ?

Pages: [1]