Beiträge von Oceansoul

    Hallo,


    nachdem ich nun das NDK endlich erfolgreich installiert habe, stehe ich vor dem nächsten Problem.


    Ich versuche die Beispiel-Programme zu bauen (make APP=hello-jni), allerdings geht jedesmal ein lustiges Windows Fenster auf mit der Nachricht ''make.exe funktioniert nicht mehr'. Das ganze passiert übrigens auch, wenn ich einfach nur den befehl 'make' eingebe.


    Das ist der Debug output dazu:


    C:\Users\zwatschek\Stuff\Android\android-ndk-1.6_r1>gmake -d
    GNU Make 3.81
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
    PARTICULAR PURPOSE.


    This program built for Windows32
    Reading makefiles...
    Reading makefile `GNUmakefile'...
    Reading makefile `build/core/main.mk' (search path) (no ~ expansion)...
    Reading makefile `build/core/definitions.mk' (search path) (no ~ expansion)...
    Reading makefile `build/core/../gmsl/gmsl' (search path) (no ~ expansion)...
    Reading makefile `build/core/../gmsl/__gmsl' (search path) (no ~ expansion)...
    Reading makefile `out/host/config.mk' (search path) (no ~ expansion)...
    Reading makefile `build/core/add-toolchain.mk' (search path) (no ~ expansion)...


    Reading makefile `build/toolchains/arm-eabi-4.2.1/config.mk' (search path) (no ~
    expansion)...
    Reading makefile `build/core/add-platform.mk' (search path) (no ~ expansion)...
    Reading makefile `build/core/add-platform.mk' (search path) (no ~ expansion)...
    Reading makefile `build/core/add-application.mk' (search path) (no ~ expansion).
    ..
    Reading makefile `apps/hello-jni/Application.mk' (search path) (no ~ expansion).
    ..
    Creating temporary batch file C:\Users\ZWATSC~1\AppData\Local\Temp\make3480-1.ba
    t
    CreateProcess(C:\Users\ZWATSC~1\AppData\Local\Temp\make3480-1.bat,C:\Users\ZWATS
    C~1\AppData\Local\Temp\make3480-1.bat,...)


    Kennt das jemand oder kann jemand helfen?


    Grüße


    Oceansoul

    Okay, I solved it.


    If anybody is interested, I just had to rename the a.m. exe-file into make.exe. That was it.


    Then I came across a different problem, where arm-eabi-4.2.1 prebuilt binaries could not be found.
    -> The solution to this was that in the environment variables one has to use slashes ("/") instead of backslashes ("\").


    That´s it.


    Cheers


    Oceansoul

    Thanks for the answer. But my problem is that I don´t know what file NDK is actually looking for. I would guess it´s gmake.exe. But in the installation folder of GNU Make 3.81 there is no such thing. There is a 'make_msvc_net2003.vcproj' which I can compile, of course. Then I get a 'make_msvc.net2003.exe' which doesn´t seem to be what NDK is looking for.


    So the actual question is, what file(s) does NDK need and where do I find them (how do I build them).


    Thanks.


    Oceansoul

    Hallo zusammen,


    ich bin komplett neu in der Android Ecke. Jetzt versuche ich gerade, die NDK zu installieren und hake da ein wenig. Was wohl auch damit zusammen hängt, daß ich von GNU keine Ahnung hab. Ach ja, ich entwickle unter Windows (momentan Vista).


    Das Problem: Ausführung des Shellskripts host-setup.sh scheitert. Neben Cygwin (ist installiert) benötigt man noch Gnu Make 3.81. Habe ich mir besorgt. Was allerdings mache ich damit, sobald ich es extrahiert habe?


    Momentan bekomme ich folgende Fehlermeldung:

    Zitat

    Checking host development environment.
    NDK Root : c:\Users\zwatschek\Stuff\Android\android-ndk-1.6_r1\
    (...)
    ERROR: Could not find a valid GNU Make executable.
    Please ensure GNU Make 3.81 or later is installed.
    Use the --no-make-check option to ignore this message.


    Kann mir da jemand weiterhelfen?


    Danke,


    Oceansoul