This project has moved. For the latest updates, please go here.
1

Closed

I cant run it for first time.

description

Here is the error msg.

http://prntscr.com/bfyhjq
Closed Jun 12 at 7:53 PM by tinysun

comments

tinysun wrote Jun 15, 2016 at 3:09 AM

  • Starting in Swift 2, println() is no longer used. You can use print().
  • To compile and link, you should install VS2015 or Windows SDK because the compiler needs the LINK.exe and some import libraries.
  • If you installed only VS2015 redistributable, you can only use the Interpreter mode.
  • Try this under the Command Prompt.
cd C:/SwiftForWindows/Swift/bin
swift  c:\temp\hello.swift

dnetbandit wrote Jul 8, 2016 at 1:24 PM

I am also having this problem.. I have Visual Studio 2015, the professional version installed, and when i attempt to compile or run, i keep getting this message regardless.. Any other solutions??

Doug

vineetchoudhary wrote Aug 1, 2016 at 4:19 PM

** Closed by vineetchoudhary 08/01/2016 9:19AM

frickaline wrote Sep 6, 2016 at 6:59 PM

I got past this issue. Here is my post on this if it helps:
https://swiftforwindows.codeplex.com/discussions/655309