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

zagirie picture zagirie · Oct 1, 2013 · Viewed 8.4k times · Source

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

Answer

Paul Croarkin picture Paul Croarkin · Jan 15, 2014

Select your project and right click Properties->Builders.

Select the offending builder and remove it.