Got "Error running Integrated External Tool Builder" while setting up SWIG Builder for PocketSphinxAndroidDemo

StackOverflow https://stackoverflow.com/questions/19112326

Pregunta

Im setting up the PocketSphinxAndroidDemo in my Eclipse. I followed the instruction here: https://sites.google.com/site/opiatefuchs/home/pocketsphinxandroiddemo. In step 9, in the SWIG part its says there that "Don´t change anything in the "Main"-Tab" but an error message pop out of my eclipse "The file does not exist for the external tool named SWIG". So i change the path to C:\Users\beautifulJeazel\Documents\Project\CMUSphinx\PocketSphinxAndroidDemo.externalToolBuilders\SWIG.Launch.

After applying the changes I got this error :

Errors occurred during the build. Errors running builder 'Integrated External Tool Builder' on project 'PocketSphinxDemo'. Exception occurred executing command line. Cannot run program "C:\Users\beautifulJeazel\Documents\Project\CMUSphinx\PocketSphinxAndroidDemo.externalToolBuilders\SWIG.launch" (in directory "C:\Users\beautifulJeazel\Documents\Project\CMUSphinx\PocketSphinxAndroidDemo\jni"): CreateProcess error=193, %1 is not a valid Win32 application Exception occurred executing command line. Cannot run program "C:\Users\beautifulJeazel\Documents\Project\CMUSphinx\PocketSphinxAndroidDemo.externalToolBuilders\SWIG.launch" (in directory "C:\Users\beautifulJeazel\Documents\Project\CMUSphinx\PocketSphinxAndroidDemo\jni"): CreateProcess error=193, %1 is not a valid Win32 application

I dont know, what seems to be the problem. I path the swig in the Environment Variables just what the tutorial says but i can't seem to make it work. I tried googling it but i can't find a definite answer for my problem.. I hope u can help with this.

im using swig-1.3.34, eclipse juno and android ndk r9

¿Fue útil?

Solución 2

For easiest build you can just check precompiled version from

https://svn.code.sf.net/p/cmusphinx/code/trunk/pocketsphinx-android-demo

It is new updated version with new features which doesn't require SWIG and works just with importing the project.

For information about it please see the updated tutorial

http://cmusphinx.sourceforge.net/wiki/tutorialandroid

Otros consejos

Select your project and right click Properties->Builders.

Select the offending builder and remove it.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top