Markdown sample doesn't build?

MichaelBevinMichaelBevin Michael BevinEEMember

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

Posts

  • MikeCodesDotNetMikeCodesDotNet Michael James 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?

    Cheers,
    Mike

  • MichaelBevinMichaelBevin Michael Bevin 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:

    michaelbevin@~: gcc --version
    Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1
    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 Ashok Gelal 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.