Android Open Framework in Windows7 - android

I have followed all the instructions mentioned in the following link to setup the Openframeworks for android in windows environment. While building the openFrameworks. I get the following error. Tried everything possible to work with but still not getting it correct. Mentioned the error as follows, please help me out. Thank you in advance.
Build of configuration Android for project openFrameworks **
make android -C../openFrameworksCompiled/project/android
/bin/sh: pkg-config: command not found
/bin/sh: pkg-config: command not found
FIND: Parameter format not correct
File not found - *.cpp
make: Entering directory /c/Development/OF/libs/openFrameworksCompiled/project/android'
make DebugAndroid
FIND: Parameter format not correct
File not found - *.cpp
FIND: Parameter format not correct
File not found - *.cpp
make[1]: Entering directory/c/Development/OF/libs/openFrameworksCompiled/project/android'
make[1]: Nothing to be done for DebugAndroid'.
make[1]: Leaving directory/c/Development/OF/libs/openFrameworksCompiled/project/android'
make ReleaseAndroid
FIND: Parameter format not correct
File not found - *.cpp
FIND: Parameter format not correct
File not found - *.cpp
make[1]: Entering directory /c/Development/OF/libs/openFrameworksCompiled/project/android'
make[1]: Nothing to be done forReleaseAndroid'.
make[1]: Leaving directory /c/Development/OF/libs/openFrameworksCompiled/project/android'
make Release_arm7Android
FIND: Parameter format not correct
File not found - *.cpp
FIND: Parameter format not correct
File not found - *.cpp
make[1]: Entering directory/c/Development/OF/libs/openFrameworksCompiled/project/android'
make[1]: Nothing to be done for Release_arm7Android'.
make[1]: Leaving directory/c/Development/OF/libs/openFrameworksCompiled/project/android'
make Release_neonAndroid
FIND: Parameter format not correct
File not found - *.cpp
FIND: Parameter format not correct
File not found - *.cpp
make[1]: Entering directory /c/Development/OF/libs/openFrameworksCompiled/project/android'
make[1]: Nothing to be done forRelease_neonAndroid'.
make[1]: Leaving directory /c/Development/OF/libs/openFrameworksCompiled/project/android'
make: Leaving directory/c/Development/OF/libs/openFrameworksCompiled/project/android'
Build Finished **

Related

AOSP Build failed: ninja failed with: exit status 1

My AOSP (PixelExperience) build fails with the error message below and I got no idea how to fix it.
Anyone here that got the knowlegde to provide me a possible fix?
make[1]: Leaving directory '/home/lukas/disk/pixelExperience/pixelExperience/out/target/product/cepheus/obj/KERNEL_OBJ'
make: Leaving directory '/home/lukas/disk/pixelExperience/pixelExperience/kernel/xiaomi/cepheus'
make: Entering directory '/home/lukas/disk/pixelExperience/pixelExperience/kernel/xiaomi/cepheus'
make[1]: Entering directory '/home/lukas/disk/pixelExperience/pixelExperience/out/target/product/cepheus/obj/KERNEL_OBJ'
GEN ./Makefile
scripts/kconfig/conf --savedefconfig=defconfig Kconfig
make[1]: Leaving directory '/home/lukas/disk/pixelExperience/pixelExperience/out/target/product/cepheus/obj/KERNEL_OBJ'
make: Leaving directory '/home/lukas/disk/pixelExperience/pixelExperience/kernel/xiaomi/cepheus'
17:39:17 ninja failed with: exit status 1
As I cannot comment yet, I'll leave it here.
Your error is not in the lines you shared. Share a more complete log, with katb.in or pastebin for example, otherwise there is nothing we can do.

error while compiling u-boot

I am trying to build u-boot and getting these error
No private recovery resources for TARGET_DEVICE G0
Building U-boot
make -C u-boot ARCH=arm fio-om3xxx_config
make[1]: Entering directory `/home/mrigendra/GingerBread_2_3_4_FIO/u-boot'
Configuring for fio-om3xxx board...
rm: cannot remove `asm': Is a directory
make[1]: *** [fio-om3xxx_config] Error 1
make[1]: Leaving directory `/home/mrigendra/GingerBread_2_3_4_FIO/u-boot'
make: *** [uboot] Error 2
i don't know why it wants to remove asm directory.
do anybody have idea from where i should start ..

Building Pocketsphinx On Android on Windows

I have been following this Building Pocketsphinx on android for days now and I am very confused what to do now. I will be telling what I have done step by step so you will know what I have done wrong.
I am using Windows 7 64-bit.
First of all I have downloaded PocketSphinx and Sphinxbase and I have unpack it in C:\Sphinx. Then I have downloaded mingw from MINGW DOWNLOAD only that. after I downloaded this stuffs, I started the mingw.exe and as a amateur I am, I tried sudo -i only and that did not do anything so I gone to the next instructions installing swig.
I tried typing apt-get install swig and yum install swig as the same as last time it did not work. Then I have tried mingw-get install swig and the result is mingw-get.exe: *** ERROR *** swig: unknown package. So with that I tried again the next intructions installation of sphinxbase.
In installing sphinxbase, I have gone to sphinxbase directory - C:\Sphinx\sphinxbase and I typed ./autogen.sh. So with that it compiled without problems and I typed ./configure It compiled good as well. the next is make this is where I got a problem, it compiled but it got errors. the error is:
make[3]: *** [pio.lo] Error 1
make[3]: Leaving directory `/c/sphinx/sphinxbase/src/libsphinxbase/util`
make[2]: *** [All-recursive] Error 1
make[2]: Leaving directory `/c/sphinx/sphinxbase/src/libsphinxbase`
make[1]: *** [All-recursive] Error 1
make[1]: Leaving directory `/c/sphinx/sphinxbase/src`
make: *** [all-recursive] Error 1
this is the problem I got until now. Then I have tried downloading pio.lo from pio.lo download. So it fix the error but another error appeared. Second Error:
collect2.exe: error: ld returned 1 exit status
make[2]: *** [sphinx_fe.exe] Error 1
make[2]: Leaving directory `/c/sphinx/sphinxbase/src/sphinx_fe`
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/sphinx/sphinxbase/src`
make: *** [all-recursive] Error 1
This is where I got stuck. I have tried copying sphinx_fe from sphinxbase-0.7-win32.zip after doing that nothing happens. The compilation would only delete the sphinx_fe.exe.
My question is What Should I do now?
If it is not clear feel free to comment and ask. Thank you for the help.
MinGW is not supported for now, try to use Cygwin instead.
Actually you don't need to run autogen.sh and make, it's enough to unpack sources
sudo, yum and other commands are Unix only commands, you need to search for their analog on windows.
For more information about SWIG on windows see
http://www.swig.org/Doc2.0/Android.html

/bin/sh: scripts/basic/fixdep: cannot execute binary file

I try to build the rt73.ko linux driver for android using cross complile. I have download the android NDK and the Kernel sources of the the target system (Rockchip RK3066) and when I build the driver I am getting the following error:
root#slax:~/2011_0210_RT73_Linux_STA_Drv1.1.0.5/Module# make
CROSS_COMPILE=arm-linux-androideabi- make -C /root/kernel
SUBDIRS=/root/2011_0210_RT73_Linux_STA_Drv1.1.0.5/Module mod-ules
make[1]: Entering directory /root/kernel' CC [M]
/root/2011_0210_RT73_Linux_STA_Drv1.1.0.5/Module/rtmp_main.o
/root/2011_0210_RT73_Linux_STA_Drv1.1.0.5/Module/rtmp_main.c: In
function 'usb_rtusb_probe':
/root/2011_0210_RT73_Linux_STA_Drv1.1.0.5/Module/rtmp_main.c:1152:3:
warning: return makes integer from pointer without a cast [enabled by
default] /root/2011_0210_RT73_Linux_STA_Drv1.1.0.5/Module/rtmp_main.c:
In function 'usb_rtusb_disconnect':
/root/2011_0210_RT73_Linux_STA_Drv1.1.0.5/Module/rtmp_main.c:1315:2:
warning: ISO C90 forbids mixed declarations and code
[-Wdeclaration-after-statement]
/root/2011_0210_RT73_Linux_STA_Drv1.1.0.5/Module/rtmp_main.c: In
function 'usb_rtusb_close':
/root/2011_0210_RT73_Linux_STA_Drv1.1.0.5/Module/rtmp_main.c:655:1:
warning: the frame size of 2128 bytes is larger than 1024 bytes
[-Wframe-larger-than=]
/root/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/as:
/usr/lib/libz.so.1: no version information available (required by
/root/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/as)
/bin/sh: scripts/basic/fixdep: cannot execute binary file make[2]: ***
[/root/2011_0210_RT73_Linux_STA_Drv1.1.0.5/Module/rtmp_main.o] Error
126 make[1]: ***
[_module_/root/2011_0210_RT73_Linux_STA_Drv1.1.0.5/Module] Error 2
make[1]: Leaving directory/root/kernel' make: * [all] Error 2
Could you please help me to overcome the above error?
Although you cross compile, only the kernel can be compiled. scripts/basic/fixdep is userland program.
To overcome this, you need to use http://crosstool-ng.org/ for example.

Build android open source project

I try to build FBReader project(http://code.google.com/p/fbreaderplus/source/checkout). How to add libraries which described in README.build? When I make project with cygwin got such messages:
make[2]: Entering directory `/cygdrive/c/Users/Argentum/Desktop/fbreader/zlibrar
y/text/src/model'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/cygdrive/c/Users/Argentum/Desktop/fbreader/zlibrary
/text/src/model'
make[2]: Entering directory `/cygdrive/c/Users/Argentum/Desktop/fbreader/zlibrar
y/text/src/area'
Compiling ZLTextParagraphBuilder.o ...In file included from ZLTextParagraphBuild
er.cpp:30:0:
ZLTextParagraphBuilder.h:26:29: fatal error: fribidi/fribidi.h: No such file or
directory
compilation terminated.
/cygdrive/c/Users/Argentum/Desktop/fbreader/zlibrary/text/../../makefiles/subdir
.mk:14: recipe for target `ZLTextParagraphBuilder.o' failed
make[2]: *** [ZLTextParagraphBuilder.o] Error 1
make[2]: Leaving directory `/cygdrive/c/Users/Argentum/Desktop/fbreader/zlibrary
/text/src/area'
Makefile:25: recipe for target `.objects' failed
make[1]: *** [.objects] Error 1
make[1]: Leaving directory `/cygdrive/c/Users/Argentum/Desktop/fbreader/zlibrary
/text'
Makefile:9: recipe for target `all' failed
make: *** [all] Error 1
This error ZLTextParagraphBuilder.h:26:29: fatal error: fribidi/fribidi.h: No such file or
directory tells you that it's missing fribidi, http://www.fribidi.org/
I don't know how you could get past the configure stage -- isn't it supposed to check the presence of libraries?
Anyway install fribidi and try again.
HTH

Categories

Resources