Hi Martin,

The way to build the bindings is to run the `make` command at the
command-line while in the toplevel monotouch-bindings directory (or the
binding directory of the binding you want).

It looks like you tried to actually run the Makefile file, but it is not a
script - it is meant to be interpreted by the 'make' program.

Hope that helps,

Jeff

On Wed, Jun 13, 2012 at 6:42 AM, ZNNXL <[email protected]> wrote:

> *Hello,
>
> i try to build the binding sample.
>
> In the readme i read:
> To compile the Xcode Project and binding classes execute the >make< command
> from the root directory."
>
> if i use the make file in the main root, i get follow errors:
> *
> "Last login: Wed Jun 13 12:32:39 on ttys000
> /Users/pos/Desktop/BindingSample/Makefile ; exit;
> rtt-admins-macbookpro52:~ pos$ /Users/pos/Desktop/BindingSample/Makefile ;
> exit;/Users/pos/Desktop/BindingSample/Makefile: line 1: all:: command not
> found
> /Users/pos/Desktop/BindingSample/Makefile: line 2: cd: src/binding/: No
> such
> file or directory
> make: *** No targets specified and no makefile found.  Stop.
> /Users/pos/Desktop/BindingSample/Makefile: line 4: clean:: command not
> found
> /Users/pos/Desktop/BindingSample/Makefile: line 5: cd: src/binding: No such
> file or directory
> make: *** No rule to make target `clean'.  Stop.
> logout
>
> [Process completed]"
>
> *I found in the source binding folder a make file. If i use this:
> *
> "Last login: Wed Jun 13 12:41:17 on ttys000
> rtt-admins-macbookpro52:~ pos$
> /Users/pos/Desktop/BindingSample/src/binding/Makefile ; exit;
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 4:
> PROJECT_ROOT:
> command not found
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 9: all::
> command
> not found
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 11:
> libXMBindingLibrarySample-i386.a:: command not found
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 12: PROJECT:
> command not found
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 12: TARGET:
> command not found
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 12: MSBUILD::
> command not found
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 13:
> PROJECT_ROOT: command not found
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 13: TARGET:
> command not found
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 13: -mv:
> command
> not found
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 15:
> libXMBindingLibrarySample-armv6.a:: command not found
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 16: PROJECT:
> command not found
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 16: TARGET:
> command not found
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 16: MSBUILD::
> command not found
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 17:
> PROJECT_ROOT: command not found
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 17: TARGET:
> command not found
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 17: -mv:
> command
> not found
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 19:
> libXMBindingLibrarySample-armv7.a:: command not found
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 20: PROJECT:
> command not found
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 20: TARGET:
> command not found
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 20: MSBUILD::
> command not found
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 21:
> PROJECT_ROOT: command not found
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 21: TARGET:
> command not found
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 21: -mv:
> command
> not found
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 23:
> libXMBindingLibrarySampleUniversal.a:: command not found
> lipo: no input files specified
> lipo: Usage: lipo [input_file] ... [-arch <arch_type> input_file] ...
> [-info] [-detailed_info] [-output output_file] [-create] [-arch_blank
> <arch_type>] [-thin <arch_type>] [-remove <arch_type>] ... [-extract
> <arch_type>] ... [-extract_family <arch_type>] ... [-verify_arch
> <arch_type>
> ...] [-replace <arch_type> <file_name>] ...
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 26:
> XMBindingLibrary.dll:: command not found
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 27: BTOUCH:
> command not found
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 27: -unsafe:
> command not found
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 29: clean::
> command not found
> /Users/pos/Desktop/BindingSample/src/binding/Makefile: line 30: -rm:
> command
> not found
> logout
>
> [Process completed]"
>
> what is my fail?
>
> thanks
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/Binding-Sample-Make-File-tp4655345.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to