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

Author Topic: SFML Xcode create .exe?  (Read 2007 times)

0 Members and 1 Guest are viewing this topic.

bluevideogame

  • Newbie
  • *
  • Posts: 4
    • View Profile
SFML Xcode create .exe?
« on: February 19, 2015, 06:26:48 am »
Can I create a .exe in xcode, or how can I get my program c++ SFML to run on pc? I can make a .app already.
Thanks

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
Re: SFML Xcode create .exe?
« Reply #1 on: February 19, 2015, 06:52:22 am »
Short answer: No.
Slightly longer answer: Although cross-compiling is a thing it's seriously not worth spending time on for this. Even if you could get it working without problems (unlikely) you would have no way to debug and you would also be precluded from using the Visual Studio compiler (should you wish to). Don't waste time going that route. So realistically, still no.

If you want to create Windows executables you have three realistic options:
1) buy a second machine running Windows and do your builds there.
2) buy a copy of Windows and install it in a virtual machine and do your builds there.
3) buy a copy of Windows and install it as a dual-boot option on your Mac.
« Last Edit: February 19, 2015, 07:59:28 am by Jesper Juhl »

StormWingDelta

  • Sr. Member
  • ****
  • Posts: 365
    • View Profile
Re: SFML Xcode create .exe?
« Reply #2 on: February 19, 2015, 07:15:32 pm »
The cheapest solution is using a virtual machine(s) to do things like this. :)  The main problem is the dang things tend to eat through RAM when in use so the more you have the better.


https://www.virtualbox.org/
http://www.vmware.com/
http://www.digitaltrends.com/computing/best-virtual-machine-apps-for-mac-linux-and-windows-pcs/

and the search:
https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=Free+Virtual+Machine+software

Figured these might be useful if you want to go the virtual machine route. :)  It isn't all that is out there but a nice sample of what is.  Both my CIT classes and Networking ones use virtual machines when needed so finding the stuff is easy enough. 
I have many ideas but need the help of others to find way to make use of them.

bluevideogame

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: SFML Xcode create .exe?
« Reply #3 on: February 19, 2015, 10:55:16 pm »
thank you

 

anything