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

Pages: [1]
1
Graphics / how to detect when mouseover an object
« on: January 19, 2010, 08:52:09 am »
You can use the Contains method of the rect.
Code: [Select]

bool Match (float x, float y)
{
   // m_rect is of type sf::FloatRect
   return m_rect.Contains (x,y);
}

2
Graphics / FFMPEG problem when using with SFML
« on: January 18, 2010, 10:28:27 pm »
Maybe someone can help.
I have read the tutorials and posts about using ffmpeg in SFML.
Compiling works fine but when I try to open a video file with
av_open_input_file the function fails with returnvalue -92.
No idea what is wrong. I tried different video formats but nothing seems to work.

I tried to get this to work on Mac OS X Leopard.

3
Graphics / Link problems
« on: January 04, 2010, 02:59:12 am »
I tried to use ffmpeg with my source but the linking fails for the following reason(s):

warning: "In /developer.../usr/local/lib/libabcodec.a, file is not of required architecture"

error: _av_open_input_file
error: _av_find_stream_info
error: _av_register_all

I am using Snow Leopard and have compiled the ffmpeg sources with different --arch configurations, but nothing seems to work.

What is the correct configuration for ffmpeg and xcode to get things running ?

4
General / Creating sf::Event
« on: December 13, 2009, 09:54:38 pm »
That was a fast answer. Unfortunately not the one I want to hear, but ok :-)

5
General / Creating sf::Event
« on: December 13, 2009, 09:28:22 pm »
Is there a possibility to generate an sf::Event and push it into the queue ?

Pages: [1]