Intalling in Windows 7 (makefile doesn't support your operating)

Hello,

I’m trying to install the Android enviroment to develop in Windows 7.
I have followed this tutorial.
http://www.multigesture.net/articles/how-to-setup-openframeworks-for-android-on-windows/

I could follow the tutorial. In eleventh step, I have created these files

±–armv5
| libopenFrameworks.a
|
±–armv7
| libopenFrameworks.a
| libopenFrameworksDebug.a
|
±–neon
| libopenFrameworks.a
.
.
instead of

armeabi\libopenFrameworks.a
armeabi\libopenFrameworksDebug.a
armeabi-v7a\libopenFrameworks.a
armeabi-v7a\libopenFrameworks_arm7.a

The problem appeared when I try to compile a example project in the following steps…

…/…/…/libs/openFrameworksCompiled/project/makefileCommon/config.shared.mk:81: *** This makefile does not support your operating system. Stop.

In config.shared.mk, I can see this bifucation…
But I don’t understand why I can’t compile… :frowning:

  
  
# if not defined, construct the default PLATFORM_LIB_SUBPATH  
ifndef PLATFORM_LIB_SUBPATH  
    # determine from the arch  
    ifeq ($(PLATFORM_OS),Linux)  
        ifeq ($(PLATFORM_ARCH),x86_64)  
            PLATFORM_LIB_SUBPATH=linux64  
        else ifeq ($(PLATFORM_ARCH),armv6l)  
            PLATFORM_LIB_SUBPATH=linuxarmv6l  
        else ifeq ($(PLATFORM_ARCH),armv7l)  
            PLATFORM_LIB_SUBPATH=linuxarmv7l  
        else ifeq ($(PLATFORM_ARCH),i386)  
            PLATFORM_LIB_SUBPATH=linux  
        else ifeq ($(PLATFORM_ARCH),i686)  
            PLATFORM_LIB_SUBPATH=linux  
        else  
            $(error This makefile does not support your architecture $(PLATFORM_ARCH))  
        endif  
    else ifeq ($(PLATFORM_OS),Android)  
        PLATFORM_LIB_SUBPATH=android  
    else ifeq ($(PLATFORM_OS),Darwin)  
        PLATFORM_LIB_SUBPATH=osx  
    else  
        $(error This makefile does not support your operating system)  
    endif  
endif  
  

More Infomation:
My OS: Windows 7 (x64)
SDK Android: 32 bits
NDK Android: 32 bits
SDK Java: 32 bits
OF: 0.8.0 version

Hello
I have the same config and same error.
Did you found a solution?

thanks
Paul

i have the same problem with android, i have tried many things, but I think from what I have read it is something with the toolchain I have windows 7 x64 that is what throws me when I build the project openframworks, I have reviewed the routes of the NDK and the SDK and I see no problem apparently, thanks in advance who I can collaborate.

**** Build of configuration Android for project openFrameworks ****

make -C ../openFrameworksCompiled/project all PLATFORM_OS=Android 
make: Entering directory `/d/programas/openframworks/of_v0.8.0_android_release/libs/openFrameworksCompiled/project'
Compiling ../../../libs/openFrameworks/3d/of3dPrimitives.cpp
D:/android-ndk-r9b/toolchains/arm-linux-androideabi-4.8.1/prebuilt/windows/bin/arm-linux-androideabi-g++ -g3 -Wall -nostdlib --sysroot=D:/android-ndk-r9b/platforms/android-14/arch-arm/ -fno-short-enums -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -DANDROID -I"D:/android-ndk-r9b/platforms/android-14/arch-arm/usr/include/" -I"D:/android-ndk-r9b/sources/cxx-stl/gnu-libstdc++/include" -I"D:/android-ndk-r9b/sources/cxx-stl/gnu-libstdc++/4.8.1/include" -I"D:/android-ndk-r9b/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include" -I"D:/android-ndk-r9b/sources/cxx-stl/gnu-libstdc++/4.8.1/libs/armeabi-v7a/include" -I"D:/android-ndk-r9b/sources/crystax/include/" -I"../../../libs/glu/include_android" -I"../../../addons/ofxAndroid/src" -I../../../libs/FreeImage/include -I../../../libs/freetype/include -I../../../libs/freetype/include/freetype2 -I../../../libs/freetype/include/freetype2/freetype -I../../../libs/freetype/include/freetype2/freetype/config -I../../../libs/freetype/include/freetype2/freetype/internal -I../../../libs/freetype/include/freetype2/freetype/internal/services -I../../../libs/glfw/include -I../../../libs/glfw/include/GLFW -I../../../libs/openssl/include -I../../../libs/openssl/include/openssl -I../../../libs/poco/include -I../../../libs/tess2/include -I../../../libs/openFrameworks -I../../../libs/openFrameworks/3d -I../../../libs/openFrameworks/app -I../../../libs/openFrameworks/communication -I../../../libs/openFrameworks/events -I../../../libs/openFrameworks/gl -I../../../libs/openFrameworks/graphics -I../../../libs/openFrameworks/math -I../../../libs/openFrameworks/sound -I../../../libs/openFrameworks/types -I../../../libs/openFrameworks/utils -I../../../libs/openFrameworks/video -DDEBUG  -MMD -MP -MF ../../../libs/openFrameworksCompiled/lib/android/obj/armv7/Debug/libs/openFrameworks/3d/of3dPrimitives.d -MT../../../libs/openFrameworksCompiled/lib/android/obj/armv7/Debug/libs/openFrameworks/3d/of3dPrimitives.o -o ../../../libs/openFrameworksCompiled/lib/android/obj/armv7/Debug/libs/openFrameworks/3d/of3dPrimitives.o -c ../../../libs/openFrameworks/3d/of3dPrimitives.cpp
/bin/sh: D:/android-ndk-r9b/toolchains/arm-linux-androideabi-4.8.1/prebuilt/windows/bin/arm-linux-androideabi-g++: No such file or directory
make[2]: *** [../../../libs/openFrameworksCompiled/lib/android/obj/armv7/Debug/libs/openFrameworks/3d/of3dPrimitives.o] Error 127
make[1]: *** [Debug] Error 2
make: *** [all] Error 2
make: Leaving directory `/d/programas/openframworks/of_v0.8.0_android_release/libs/openFrameworksCompiled/project'

**** Build Finished ****

I’ve also noticed that I have these files as they say in this blog, recommended in the user gui openframeworks

armeabi\libopenFrameworks.a
armeabi\libopenFrameworksDebug.a
armeabi-v7a\libopenFrameworks.a
armeabi-v7a\libopenFrameworks_arm7.a

D:\programas\openframworks\of_v0.8.0_android_release\libs\openFrameworksCompiled\lib\android

the folder is empty.

for this error, i just manually rename the folder D:/android-ndk-r9b/toolchains/arm-linux-androideabi-4.8.1/prebuilt/windows-x86_64 to windows. and it works. now under openFrameworksCompiled\lib\android i have armv5, armv7, neon. under each folder i have libopenFrameworks.a. however, when i try to compile an example, i get an error saying: …/…/…/libs/openFrameworksCompiled/project/makefileCommon/config.shared.mk:81: *** This makefile does not support your operating system.

I’m not sure if I’m talking bs here, but on my system (Win8.1) I can install Apps on my phone with Run -> Run As -> Android Application.
I had the same problem before. Now I can at least get the apps on my phone, altough they’re crashing instantly. ^^