Markdown sample doesn't build?

When I try to build, from the build output I see:

cp ..../MarkdownViewer/sundown/bin/Debug/libsundown.dylib: No such file or directory

---------------------- Done ----------------------

Custom command failed (exit code: 1)
Build canceled.

So then I try building the libsundown project explicitly, and I get:

Building: libsundown (Debug)

Performing main compilation...

Precompiling headers

Compiling source to object files

gcc -MMD "..../MarkdownViewer/sundown/autolink.c" -g -Wall -Werror -O3 -n -fPIC -Wall -Werror -Wsign-compare -std=c99 -m32

-I"..../MarkdownViewer/sundown/obj/Debug/prec/Debug" -c -o "..../MarkdownViewer/sundown/bin/Debug/autolink.o"

clang: error: argument unused during compilation: '-n'

Build complete -- 1 error, 0 warnings

---------------------- Done ----------------------

Build: 1 error, 0 warnings


  • MikeCodesDotNetMikeCodesDotNet GBXamarin Team Xamurai

    Hi Michael,

    I'm unable to reproduce the issue that you're having. Could you let me know what version of Xamarin Studio you have installed?


  • MichaelBevinMichaelBevin EEMember

    I am using the latest stable always - 4.2.3 right now. Checked again and still gives the same issue.

    Also, in case this helps:

    [email protected]~: gcc --version
    Configured with: --prefix=/Applications/ --with-gxx-include-dir=/Applications/
    Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
    Target: x86_64-apple-darwin13.1.0
    Thread model: posix
  • AshokGelalAshokGelal USMember, Beta ✭✭

    From Terminal, try running make in sundown folder. Do you get any error? It should create a dynamic library named: libsundown.dylib.

Sign In or Register to comment.