Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML 1.3 and OS X  (Read 54452 times)

0 Members and 2 Guests are viewing this topic.

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
SFML 1.3 and OS X
« Reply #15 on: June 25, 2008, 12:30:30 am »
Okay, anyway don't worry. You have time as I still have much work to do in order to finish the port.

Still to do for now :
 - event handling (almost done)
 - handle fullscreen mode (not started yet)
 - handle joysticks (not started yet)
 - correct every bugs (huuh...  we'll see :P )
Want to play movies in your SFML application? Check out sfeMovie!

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
SFML 1.3 and OS X
« Reply #16 on: June 27, 2008, 02:10:09 pm »
Some news...

 - Testers told me it does no more crash.
 - Added "Window" menu.
 - Fixed trouble with the "About" panel (couldn't close it).
 - Added individual window event handling (I was using every Cocoa events for the first window :- °).
 - Fixed mistake with mouse coordinate (there was a gap on the Y axis).
 - Added Command, Control, Option and Shift key handling. That means event handling is finished except a problem with languages handling. I made the main keys independant from keyboard layout but there are still some that aren't. There is no trouble with TextEntered events (only with KeyPressed and KeyReleased).

That's all for now :P .
Want to play movies in your SFML application? Check out sfeMovie!

Wizzard

  • Full Member
  • ***
  • Posts: 213
    • View Profile
SFML 1.3 and OS X
« Reply #17 on: June 27, 2008, 05:58:33 pm »
Yay for progress! :D

zarka

  • Jr. Member
  • **
  • Posts: 81
    • View Profile
SFML 1.3 and OS X
« Reply #18 on: June 29, 2008, 09:03:42 pm »
nice :) .. i just synced the code to my mac book (running mac OSX 10.5.2)
I also compiled it with xcode 3.0 and after some automated updates to the xcode file the test target compiled and ran beautifully :)

keep up the good work!! :)
//Zzzarka

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
SFML 1.3 and OS X
« Reply #19 on: June 29, 2008, 09:51:13 pm »
Thanks for your feedback and your encouragement :) .

Some news...

 - Added one missing code for sf::Key::Return
 - Added File menu
 - Updated shorcuts handling (using one is now visible in the menu bar)

That's all for now :P .
Want to play movies in your SFML application? Check out sfeMovie!

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
SFML 1.3 and OS X
« Reply #20 on: July 15, 2008, 01:47:59 pm »
Hum... some bad news now : there are still troubles (that make app crash), but once again, I can't get it to crash on my own computer. So... I'm going to look for someone that knows Cocoa, OpenGL, C++ and Obj-C and that is using an Intel Mac in order to find the mistake.

I can't drop code myself to find it because it never crashes. I dunno if someone here would be able to do this, anyway I'm also going to look for helpers on some other forums.
Want to play movies in your SFML application? Check out sfeMovie!

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
SFML 1.3 and OS X
« Reply #21 on: July 22, 2008, 02:09:25 am »
Till now, I didn't find anybody.
Want to play movies in your SFML application? Check out sfeMovie!

Wizzard

  • Full Member
  • ***
  • Posts: 213
    • View Profile
SFML 1.3 and OS X
« Reply #22 on: July 22, 2008, 06:31:37 am »
That's a shame. I can't help. I really do hope you find someone soon though. :(

lzr

  • Newbie
  • *
  • Posts: 48
    • View Profile
    • http://lzr.cc
SFML 1.3 and OS X
« Reply #23 on: July 28, 2008, 07:58:06 am »
I have a friend that has an Intel mac. I might install Xcode on his computer next I go to his house and see if I can figure it out.

zarka

  • Jr. Member
  • **
  • Posts: 81
    • View Profile
SFML 1.3 and OS X
« Reply #24 on: July 28, 2008, 02:12:53 pm »
i could always take a look at it.. i have an Intel mac.. but absolutely no experience with Obj-c and Cocoa...
//Zzzarka

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
SFML 1.3 and OS X
« Reply #25 on: July 28, 2008, 10:36:12 pm »
As a matter of fact, it seems to work fine. The user (A)who had told me it didn't work tried a test project made by an external developer, and it worked. The user A still can't find out the difference between his own project and Mr. B's one, so we don't know why it wasn't working.
Want to play movies in your SFML application? Check out sfeMovie!

zarka

  • Jr. Member
  • **
  • Posts: 81
    • View Profile
SFML 1.3 and OS X
« Reply #26 on: July 29, 2008, 10:09:20 am »
hmm ok .. sounds weird ... oh well. if that means the port is still moving forward i'm happy :D  i will try to test some myself as soon as possible :)
//Zzzarka

dorkfish

  • Newbie
  • *
  • Posts: 38
    • View Profile
SFML 1.3 and OS X
« Reply #27 on: July 30, 2008, 02:49:11 am »
I'd like to report that an SVN checkout from yesterday is now building on my system, after a couple header file changes and a quick change to SelectorBase::GetSocketReady. I had to remove the const modifier from the function, as apparently fd_set and FD_ISSET can't deal with anything const. The header file changes only dealt with inserting some conditional #includes so that the right header files get included on OSX. After all my changes, I was able to compile everything and was able to run the sfml-testing executable. Now I'm getting ready to generate some patches to submit; how would I go about submitting them? And does anybody have any other test projects I can use to see if everything is working as it should?

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
SFML 1.3 and OS X
« Reply #28 on: July 30, 2008, 03:29:28 am »
Quote from: "dorkfish"
I had to remove the const modifier from the function

I already told Laurent about it, but.... ... ........

Quote from: "dorkfish"
Now I'm getting ready to generate some patches to submit

Even if the provided test program works, the OS X implementation is NOT completely done.

Quote from: "dorkfish"
And does anybody have any other test projects I can use to see if everything is working as it should?

You can try these : http://www.sfml-dev.org/tutorials/1.4/ .
Want to play movies in your SFML application? Check out sfeMovie!

coral

  • Newbie
  • *
  • Posts: 37
    • View Profile
SFML 1.3 and OS X
« Reply #29 on: August 03, 2008, 03:04:19 pm »
Hey, just saw this, amazing!

Will try building the SVN source as fast as possible. SFML on mac will be fantastic!