<div dir="ltr">It sounds like you haven't run the 'utils/update-checkout --clone' script. That pulls down the cmark repository, and so should take care of that error.<div><br></div><div>The Swift README has step-by-step instructions, which I think mention the 'update-checkout' script. You may want to try following those from top to bottom. Keep emailing if you have issues!</div><div><br></div><div>- Brian Gesiak</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 13, 2017 at 12:52 PM, Mohammed Ennabah via swift-dev <span dir="ltr"><<a href="mailto:swift-dev@swift.org" target="_blank">swift-dev@swift.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
> On Nov 13, 2017, at 4:00 PM, Brent Royal-Gordon <<a href="mailto:brent@architechies.com">brent@architechies.com</a>> wrote:<br>
><br>
</span><span class="">>> On Nov 11, 2017, at 2:59 PM, Mohammed Ennabah via swift-dev <<a href="mailto:swift-dev@swift.org">swift-dev@swift.org</a>> wrote:<br>
>><br>
>> • I dug into the codebase as stated in the steps you mentioned, and tried to change one of the errors to see if it really change when I use Swift REPL, but nothing changed. Is it possible that I change something and directly affect the Swift compiler? (maybe I need to do a build first? Or maybe related to xcode-select?)<br>
><br>
> If you just type "swift" at the command line, you'll run the version of Swift built into Xcode. You will need to build Swift first ("utils/build-script" is the easiest way, but not the fastest), and you will also need to run the version of the Swift interpreter you just built. You can do that with a command like:<br>
><br>
> ../build/Ninja-DebugAssert/<wbr>swift-macosx-x86_64/bin/swift<br>
><br>
> (The path will be a little different if you use the "-x" flag to build-script, which generates an Xcode project, albeit one that's a pain to use.)<br>
<br>
</span>I’m not sure what I’m missing when I build "utils/build-scrip”, but I keep getting<br>
"can't find source directory for cmark (tried /Users/Mohammed/swift-source/<wbr>cmark)”<br>
<br>
Just to know: I mkdir “swift-source” and then cloned the project in it, I tried to git pull origin master, but I’m still the same error. Not sure if this is related, but I did also "brew install cmake ninja".<br>
<div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
swift-dev mailing list<br>
<a href="mailto:swift-dev@swift.org">swift-dev@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-dev" rel="noreferrer" target="_blank">https://lists.swift.org/<wbr>mailman/listinfo/swift-dev</a><br>
</div></div></blockquote></div><br></div>