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

Author Topic: Uninstalling 2.0 on OS X  (Read 3211 times)

0 Members and 1 Guest are viewing this topic.

dotty

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
Uninstalling 2.0 on OS X
« on: January 15, 2012, 12:29:45 pm »
Hay, I'm having difficulties getting 2.0 to work, so I wish to uninsall it and revert back to 1.6 untill 2.0 gets an official released. Can anyone share some information on doing this? Also, when 2.0 get's released we we have templates for XCODE 3 like we did for 1.6?

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Uninstalling 2.0 on OS X
« Reply #1 on: January 15, 2012, 12:32:22 pm »
I think that's a bad idea. A big part of the API and functionality changed from 1.6 to 2.0, so you will need to adapt a lot of code...

What doesn't work with SFML 2? Have you read the installation tutorial?
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

dotty

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
Uninstalling 2.0 on OS X
« Reply #2 on: January 15, 2012, 12:51:12 pm »
Ok, it's working now! I did write a big post here about the steps I went through and it's not working. I must had done something wrong along the way.

I'm kind of new to this so bare with me! My application is saying that "RenderWindow" doesn't have a member called "GetEvent". What has this ben replaced with?

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Uninstalling 2.0 on OS X
« Reply #3 on: January 15, 2012, 12:54:32 pm »
PollEvent().

There's a thread with the most important API changes. The documentation is also your friend.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

dotty

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
Uninstalling 2.0 on OS X
« Reply #4 on: January 15, 2012, 12:56:34 pm »
Thank you VERY much, I actually just stumbled across that thread.

Thanks for the help.

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Uninstalling 2.0 on OS X
« Reply #5 on: January 15, 2012, 08:19:27 pm »
Code: [Select]
Also, when 2.0 get's released we we have templates for XCODE 3 like we did for 1.6?Nope. At least not from me. Only Xcode 4 is supported.
SFML / OS X developer

dotty

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
Uninstalling 2.0 on OS X
« Reply #6 on: January 17, 2012, 09:52:11 am »
That sucks, as I'm on OS X 10.5.8 (Snow Leopard) and xcode 4 isn't available for it. How much work is it to make xcode3 templates? Or would it be easier to just update to lion?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Uninstalling 2.0 on OS X
« Reply #7 on: January 17, 2012, 10:05:03 am »
How difficult is it to use SFML in XCode without the templates? Are they mandatory or just for beginners?
Laurent Gomila - SFML developer

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Uninstalling 2.0 on OS X
« Reply #8 on: January 17, 2012, 10:42:24 am »
Quote from: "dotty"
That sucks, as I'm on OS X 10.5.8 (Snow Leopard) and xcode 4 isn't available for it. How much work is it to make xcode3 templates? Or would it be easier to just update to lion?
You mean "Leopard", right ?
Anyway, it would be very inconvenient for me to provide Xcode 3 templates because :
- I need to install Xcode 3 again
- which implies to remove Xcode 4
- so I have to reinstall my OS to make sure everything is Ok
- moreover I won't be able to install Xcode 4 otherwise I won't be able to test Xcode 3 templates anymore if I have to
- but if I don't install Xcode 4 I won't be able to test Xcode 4 templates anymore
- so I'm stuck
- and it would take me a HUGE amount of time for nothing because Xcode 3 is dead (Apple don't want to maintain it anymore)

;-)


Quote from: "Laurent"
How difficult is it to use SFML in XCode without the templates? Are they mandatory or just for beginners?

It's very easy in fact. Everything is explained here.
SFML / OS X developer

dotty

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
Uninstalling 2.0 on OS X
« Reply #9 on: January 17, 2012, 10:50:47 am »
Looks like it's time to update to Lion....

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Uninstalling 2.0 on OS X
« Reply #10 on: January 17, 2012, 10:54:17 am »
Don't update to Lion only for the templates! Update to Lion if you really want to. ;-)
Using Xcode 3 without the templates is easy.
SFML / OS X developer

dotty

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
Uninstalling 2.0 on OS X
« Reply #11 on: January 17, 2012, 02:36:12 pm »
I'm using xcode 3, I have to make a command line project, then add the libraries. How would I make an application file from this? I had an issue with load images with Texture.LoadFromFile() because where I was working wasn't the project directory or something like that. When I opened the xcode templates for 1.6 everything worked well and I could export as an application and everything fine.