W3C home > Mailing lists > Public > public-webrtc@w3.org > December 2012

Building For Android: NameError: name 'enable_android_opensl' is not defined . . .

From: Varun Oberoi <qwert2099@gmail.com>
Date: Sat, 8 Dec 2012 19:04:47 +0530
Message-ID: <CAEURWvCL6dBH=p5Hm4Tk+m0+YZqk7STcPiaid5+0djNX1HZE6g@mail.gmail.com>
To: public-webrtc@w3.org
Hello,

I was trying to build a demo for webrtc(video) on android. I got following
error while executing *gclient runhooks*


*$ gclient runhooks*
*
*
*________ running '/usr/bin/python trunk/tools/clang/scripts/update.py
--mac-only' in '/home/varun/Downloads/wrtc'*
*
*
*________ running '/usr/bin/python trunk/build/win/setup_cygwin_mount.py
--win-only' in '/home/varun/Downloads/wrtc'*
*
*
*________ running '/usr/bin/python trunk/build/gyp_chromium --depth=trunk
trunk/peerconnection_all.gyp' in '/home/varun/Downloads/wrtc'*
*Updating projects from gyp files...*
*Traceback (most recent call last):*
*  File "trunk/build/gyp_chromium", line 175, in <module>*
*    sys.exit(gyp.main(args))*
*  File "/home/varun/Downloads/wrtc/trunk/tools/gyp/pylib/gyp/__init__.py",
line 523, in main*
*    return gyp_main(args)*
*  File "/home/varun/Downloads/wrtc/trunk/tools/gyp/pylib/gyp/__init__.py",
line 499, in gyp_main*
*    options.circular_check)*
*  File "/home/varun/Downloads/wrtc/trunk/tools/gyp/pylib/gyp/__init__.py",
line 129, in Load*
*    params['parallel'])*
*  File "/home/varun/Downloads/wrtc/trunk/tools/gyp/pylib/gyp/input.py",
line 2556, in Load*
*    variables, includes, depth, check, True)*
*  File "/home/varun/Downloads/wrtc/trunk/tools/gyp/pylib/gyp/input.py",
line 441, in LoadTargetBuildFile*
*    includes, depth, check, load_dependencies)*
*  File "/home/varun/Downloads/wrtc/trunk/tools/gyp/pylib/gyp/input.py",
line 391, in LoadTargetBuildFile*
*    build_file_data, PHASE_EARLY, variables, build_file_path)*
*  File "/home/varun/Downloads/wrtc/trunk/tools/gyp/pylib/gyp/input.py",
line 1213, in ProcessVariablesAndConditionsInDict*
*    build_file, key)*
*  File "/home/varun/Downloads/wrtc/trunk/tools/gyp/pylib/gyp/input.py",
line 1194, in ProcessVariablesAndConditionsInDict*
*    ProcessConditionsInDict(the_dict, phase, variables, build_file)*
*  File "/home/varun/Downloads/wrtc/trunk/tools/gyp/pylib/gyp/input.py",
line 1071, in ProcessConditionsInDict*
*    variables, build_file)*
*  File "/home/varun/Downloads/wrtc/trunk/tools/gyp/pylib/gyp/input.py",
line 1194, in ProcessVariablesAndConditionsInDict*
*    ProcessConditionsInDict(the_dict, phase, variables, build_file)*
*  File "/home/varun/Downloads/wrtc/trunk/tools/gyp/pylib/gyp/input.py",
line 1052, in ProcessConditionsInDict*
*    if eval(ast_code, {'__builtins__': None}, variables):*
*  File "<string>", line 1, in <module>*
*NameError: name 'enable_android_opensl' is not defined while evaluating
condition 'enable_android_opensl==1' in trunk/peerconnection.gyp while
loading dependencies of trunk/peerconnection_all.gyp while trying to load
trunk/peerconnection_all.gyp*
*Error: Command /usr/bin/python trunk/build/gyp_chromium --depth=trunk
trunk/peerconnection_all.gyp returned non-zero exit status 1 in
/home/varun/Downloads/wrtc*

Before that I successfully installed prerequisites & also build
peerconnection_client & peerconnection_server successfully. Help!


-- 
Regards,
Varun Oberoi
+919971409637
Received on Monday, 10 December 2012 07:20:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 10 December 2012 07:20:28 GMT