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

Author Topic: SFML 2 for OS X comes true!  (Read 104628 times)

0 Members and 2 Guests are viewing this topic.

Leugim

  • Newbie
  • *
  • Posts: 9
    • MSN Messenger - miguel_is_sexy@hotmail.com
    • View Profile
SFML 2 for OS X comes true!
« Reply #180 on: September 25, 2011, 01:55:46 pm »
Why does SFML 2.0 cause a noise whenever I press a key? S:. It's the same noise as if you are not allowed to type somewhere or something.

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
SFML 2 for OS X comes true!
« Reply #181 on: September 25, 2011, 07:15:51 pm »
This was fixed yesterday. Is it not working  :?:
SFML / OS X developer

Leugim

  • Newbie
  • *
  • Posts: 9
    • MSN Messenger - miguel_is_sexy@hotmail.com
    • View Profile
SFML 2 for OS X comes true!
« Reply #182 on: September 26, 2011, 12:37:30 pm »
no SFML 2.0 works perfect for my Mac, except one thing. Whenever I press any key on the keyboard while inside my Application/Game it will make a noise. Sounds like I shouldnt be pressing the keys in the applications if you get what I mean.

Just found out:
If you open up Xcode and go to any project and then press CMD+D, without anything highlighted in the text-editor region, it will make the same sound as if I press a key on the keyboard inside my game.

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
SFML 2 for OS X comes true!
« Reply #183 on: September 26, 2011, 07:17:14 pm »
Quote from: "Leugim"
no SFML 2.0 works perfect for my Mac, except one thing.
I'm confused here... Does it work or not ?
SFML / OS X developer

sbroadfoot90

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
SFML 2 for OS X comes true!
« Reply #184 on: September 27, 2011, 12:46:33 am »
Quote
Whenever I press any key on the keyboard while inside my Application/Game it will make a noise. Sounds like I shouldnt be pressing the keys in the applications if you get what I mean.


has been fixed

https://github.com/SFML/SFML/issues/98

your solution?

download SFML2 source again (the latest commit), and recompile.

Leugim

  • Newbie
  • *
  • Posts: 9
    • MSN Messenger - miguel_is_sexy@hotmail.com
    • View Profile
SFML 2 for OS X comes true!
« Reply #185 on: October 02, 2011, 04:24:22 am »
Seems to crash randomly, whenever I try to close the window or sometimes when I press a button. It will say:

Code: [Select]

Thread 1: Program Received Signal: EXC_BAD_ACCESS


It will say that at either window->PollEvent(event), where I getting the events or whenever I try to close the window... It's really annoying, is there any solution?

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
SFML 2 for OS X comes true!
« Reply #186 on: October 02, 2011, 01:37:51 pm »
Are you mixing headers and binaries versions ? Make sure both are up-to-date. (make clean + make install might be the solution)

If the issue persists, please give a minimal and complete code that reproduce the error and the backtrace when it crashes.
SFML / OS X developer

Leugim

  • Newbie
  • *
  • Posts: 9
    • MSN Messenger - miguel_is_sexy@hotmail.com
    • View Profile
SFML 2 for OS X comes true!
« Reply #187 on: October 03, 2011, 08:39:12 am »
I did it and it still does the same things, I don't know if it's me or just SFML.

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
SFML 2 for OS X comes true!
« Reply #188 on: October 03, 2011, 08:54:50 am »
That's why you're asked to provide a minimal sample code that reproduces the error you got. It'll help at knowing where the problem is.
Want to play movies in your SFML application? Check out sfeMovie!

coral

  • Newbie
  • *
  • Posts: 37
    • View Profile
SFML 2 for OS X comes true!
« Reply #189 on: October 17, 2011, 03:04:40 pm »
I get

Code: [Select]
Command /Developer/usr/bin/clang++ failed with exit code 1

ld: library not found for -lsfml-system-d



I have built SFML2 with the makefile, done sudo make and sudo make install and there are files in /usr/local/lib and include.

I am using the Xcode 4 templates.

Lion 10.7.2 / Xcode 4.2


coral

  • Newbie
  • *
  • Posts: 37
    • View Profile
SFML 2 for OS X comes true!
« Reply #190 on: October 17, 2011, 03:25:42 pm »
OK LOL WUT i renamed them from libsfml-audio.2.0.dylib to libsfml-audio-d.dylib and it worked.

Is this a bug?

coral

  • Newbie
  • *
  • Posts: 37
    • View Profile
SFML 2 for OS X comes true!
« Reply #191 on: October 17, 2011, 03:30:46 pm »
It seems like Cmake ignores when i tick Build Frameworks. No frameworks :(

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
SFML 2 for OS X comes true!
« Reply #192 on: October 17, 2011, 07:35:19 pm »
Quote
I am using the Xcode 4 templates.
Which one ? Not the SFML-ones I assume. At least your project doesn't look like you use them.

Quote
Is this a bug?
Maybe something is buggy in Xcode. I don't know.

Quote
It seems like Cmake ignores when i tick Build Frameworks.
Works fine for me and other people. Did you run cmake before make ?
SFML / OS X developer

sbroadfoot90

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
SFML 2 for OS X comes true!
« Reply #193 on: October 18, 2011, 01:50:34 am »
Quote from: "Hiura"
Quote
I am using the Xcode 4 templates.
Which one ? Not the SFML-ones I assume. At least your project doesn't look like you use them.


Yeah, does not look like he's using the ones you made. Looks like he forgot to install the debug libraries as he has the static ones there alright.

coral

  • Newbie
  • *
  • Posts: 37
    • View Profile
SFML 2 for OS X comes true!
« Reply #194 on: October 18, 2011, 01:38:39 pm »


Made a video to show my problem. Any thoughts?

 

anything