apiaryio/snowcrash

'markdown.h' file not found

Closed this issue · 6 comments

following the build instructions in the readme, am I missing a step?

$ make test
/Library/Developer/CommandLineTools/usr/bin/make -C ./build V=1 test-libsnowcrash
  c++ '-DBUILDING_SNOWCRASH=1' '-D_DARWIN_USE_64_BIT_INODE=1' -I../ext/markdown-parser/src -I../ext/markdown-parser/ext/sundown/src  -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++0x -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF out/Release/.deps/out/Release/obj.target/libsnowcrash/src/HTTP.o.d.raw   -c -o out/Release/obj.target/libsnowcrash/src/HTTP.o ../src/HTTP.cc
In file included from ../src/HTTP.cc:9:
In file included from ../src/HTTP.h:13:
In file included from ../src/Blueprint.h:17:
In file included from ../src/MSON.h:19:
../ext/markdown-parser/src/MarkdownParser.h:14:10: fatal error: 'markdown.h' file not found
#include "markdown.h"
         ^
1 error generated.
make[1]: *** [out/Release/obj.target/libsnowcrash/src/HTTP.o] Error 1
make: *** [test-libsnowcrash] Error 2

@anentropic You need to do git submodule update --init first.

I've done that, same error

here is the output from ./configure

$ ./configure
creating ./config.gypi
creating ./config.mk
creating makefiles
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

xcrun: error: unable to lookup item 'PlatformPath' from command line tools installation
xcrun: error: unable to lookup item 'PlatformPath' in SDK '/'

All OK.

I'm unclear if the errors are significant or if it's "All OK"

ah, from #68 I needed git submodule update --init --recursive

kylef commented

This should actually be covered in the README instructions with the recursive clone.

@anentropic did you run the recursive clone when you followed the README or use some other method?

$ git clone --recursive git://github.com/apiaryio/snowcrash.git

I'd like to update the README if this wasn't working for you.

no I missed the --recursive when doing the initial clone and then tried
to do submodules to catch up afterwards

On 22 September 2016 at 17:47, Kyle Fuller notifications@github.com wrote:

This should actually be covered in the README instructions with the
recursive clone.

@anentropic https://github.com/anentropic did you run the recursive
clone when you followed the README or use some other method?

$ git clone --recursive git://github.com/apiaryio/snowcrash.git

I'd like to update the README if this wasn't working for you.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#408 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJBgBPuXYyQey2zIRAxc9HHEEaMyG69ks5qsrEagaJpZM4KEFld
.