Did you run “src/build/install-build-deps.sh” to prepare your environment?

Thanks,
Halton.
From: Crosswalk-help 
[mailto:[email protected]] On Behalf Of Edward 
Hutchins
Sent: Monday, February 02, 2015 5:12 AM
To: [email protected]
Subject: [Crosswalk-help] Problems building android/arm under OpenSUSE linux

I'm trying to build the android/arm crosswalk on my OpenSUSE 13.2 x64 machine 
and have run into the following issue (which looks like a missing path to the 
C++ headers):

$ ninja -j1 -C out/Release xwalk
ninja: Entering directory `out/Release'
[1/11245] CXX obj.host/v8/src/base/v8_libbase.bits.o
FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF 
obj.host/v8/src/base/v8_libbase.bits.o.d -DV8_DEPRECATION_WARNINGS 
-D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DENABLE_WEBCL=1 
-DCHROMIUM_BUILD -DUSE_LIBJPEG_TURBO=1 -DENABLE_WEBRTC=1 
-DUSE_PROPRIETARY_CODECS -DENABLE_BROWSER_CDMS -DENABLE_CONFIGURATION_POLICY 
-DENABLE_NOTIFICATIONS -DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY 
-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE -DDONT_EMBED_BUILD_METADATA 
-DENABLE_AUTOFILL_DIALOG=1 -DCLD_VERSION=1 -DENABLE_PRINTING=1 
-DENABLE_BASIC_PRINTING=1 -DENABLE_SUPERVISED_USERS=1 -DVIDEO_HOLE=1 
-DV8_USE_EXTERNAL_STARTUP_DATA -DV8_TARGET_ARCH_ARM 
-DCAN_USE_ARMV7_INSTRUCTIONS -DCAN_USE_VFP3_INSTRUCTIONS -DV8_I18N_SUPPORT 
-DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DUSE_OPENSSL_CERTS=1 -DUSE_EABI_HARDFLOAT=0 
-DV8_LIBRT_NOT_AVAILABLE=1 -DNDEBUG -DNO_UNWIND_TABLES -DNVALGRIND 
-DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../../v8 -Igen -fstack-protector 
--param=ssp-buffer-size=4 -pthread -fno-strict-aliasing -Wno-unused-parameter 
-Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-format 
-Wheader-hygiene -Wno-char-subscripts -Wno-unneeded-internal-declaration 
-Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing 
-Wno-deprecated-register -Wno-inconsistent-missing-override -m32 -fno-ident 
-fdata-sections -ffunction-sections -fomit-frame-pointer -fno-unwind-tables 
-fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -O2 
-fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden 
-Wno-deprecated -std=gnu++11  -c ../../v8/src/base/bits.cc -o 
obj.host/v8/src/base/v8_libbase.bits.o
In file included from ../../v8/src/base/bits.cc:5:
In file included from ../../v8/src/base/bits.h:9:
../../v8/src/base/macros.h:11:10: fatal error: 'cstring' file not found
#include <cstring>
         ^
1 error generated.
ninja: build stopped: subcommand failed.

I've set up my environment (following 
https://crosswalk-project.org/contribute/building_crosswalk.html) with:

export XWALK_OS_ANDROID=1
export GYP_GENERATORS='ninja'
. ./xwalk/build/android/envsetup.sh

My chromium.gyp_env looks like:

{ 'GYP_DEFINES': 'OS=android target_arch=arm', }

Any ideas what I've configured wrong?

  - Ed

_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to