appcelerator-archive / titanium_mobile_blackberry

Other
29 stars 26 forks source link

Help Building tibbtest #272

Open abdelbolanosPlastic opened 10 years ago

abdelbolanosPlastic commented 10 years ago

Hi, I was able to do until steps import projects src/tibb and test/native/tibbtest. But I can not build tibbtest here is the log:

17:02:42 \ Incremental Build of configuration Device-Debug for project tibbtest ** make all make -j 1 -Carm -fMakefile all make[1]: Entering directory /Users/abdelbolanos/TitaniumBB/titanium_mobile_blackberry/test/apps/native/tibbtest/arm' make -j 1 -Co.le-v7-g -fMakefile all make[2]: Entering directory/Users/abdelbolanos/TitaniumBB/titanium_mobile_blackberry/test/apps/native/tibbtest/arm/o.le-v7-g' make[2]: * No rule to make target libtibb.a', needed by/Users/abdelbolanos/TitaniumBB/titanium_mobile_blackberry/test/apps/native/tibbtest/arm/o.le-v7-g/tibbtest'. Stop. make[2]: Leaving directory /Users/abdelbolanos/TitaniumBB/titanium_mobile_blackberry/test/apps/native/tibbtest/arm/o.le-v7-g' make[1]: Leaving directory/Users/abdelbolanos/TitaniumBB/titanium_mobile_blackberry/test/apps/native/tibbtest/arm' make[1]: * [all] Error 2 make: *\ [all] Error 2

17:02:42 Build Finished (took 62ms)

I am using Momentics IDE for Blackberry, version: 2.1

Also I dont see how to build tibb after I imported as a new project.

I'm a little rusty doing this stuff.

Thanks

abdelbolanosPlastic commented 10 years ago

I solved my errors by installing the BB NDK on Momentics IDE, Help->Update API Levels

But now I have the issue that when I build libtest

11:19:01 \ Build of configuration Device-Debug for project tibbtest ** make all make -j 1 -Carm -fMakefile all make[1]: Entering directory '/Users/abdelbolanos/TitaniumBB/titanium_mobile_blackberry/test/apps/native/tibbtest/arm' make -j 1 -Co.le-v7-g -fMakefile all make[2]: Entering directory '/Users/abdelbolanos/TitaniumBB/titanium_mobile_blackberry/test/apps/native/tibbtest/arm/o.le-v7-g' /Applications/Momentics.app/host_10_3_0_2702/darwin/x86/usr/bin/qcc -Vgcc_ntoarmv7 -c -Wc,-Wall -fstack-protector-all -D_FORTIFY_SOURCE=2 -I. -I/Users/abdelbolanos/TitaniumBB/titanium_mobile_blackberry/test/apps/native/tibbtest/arm/le.v7 -I/Users/abdelbolanos/TitaniumBB/titanium_mobile_blackberry/test/apps/native/tibbtest/arm/o.le-v7-g -I/Users/abdelbolanos/TitaniumBB/titanium_mobile_blackberry/test/apps/native/tibbtest/arm -I/Users/abdelbolanos/TitaniumBB/titanium_mobile_blackberry/test/apps/native/tibbtest -I/Applications/Momentics.app/target_10_3_0_698/qnx6/usr/include/freetype2 -I/Applications/Momentics.app/target_10_3_0_698/qnx6/../target-override/usr/include -I/Applications/Momentics.app/target_10_3_0_698/qnx6/usr/include/qt4 -I/Applications/Momentics.app/target_10_3_0_698/qnx6/usr/include/qt4/QtCore -I/Users/abdelbolanos/TitaniumBB/titanium_mobile_blackberry/test/apps/native/tibbtest/../../../../runtime/v8/include -I/Users/abdelbolanos/TitaniumBB/titanium_mobile_blackberry/test/apps/native/tibbtest/../../../../src/ticore/include -I/Users/abdelbolanos/TitaniumBB/titanium_mobile_blackberry/test/apps/native/tibbtest/../../../../src/tibb/include -I/Users/penrique/build/1.0/header -I/Applications/Momentics.app/target_10_3_0_698/qnx6/usr/include -EL -g -DVARIANT_le -DVARIANT_v7 -DVARIANT_g -DBUILDENV_qss /Users/abdelbolanos/TitaniumBB/titanium_mobile_blackberry/test/apps/native/tibbtest/main.cpp In file included from /Applications/Momentics.app/target_10_3_0_698/qnx6/usr/include/qt4/QtCore/qobject.h:48:0, from /Applications/Momentics.app/target_10_3_0_698/qnx6/usr/include/qt4/QtCore/qiodevice.h:46, from /Applications/Momentics.app/target_10_3_0_698/qnx6/usr/include/qt4/QtCore/qfile.h:45, from /Applications/Momentics.app/target_10_3_0_698/qnx6/usr/include/qt4/QtCore/QFile:1, from /Users/abdelbolanos/TitaniumBB/titanium_mobile_blackberry/test/apps/native/tibbtest/main.cpp:10: /Applications/Momentics.app/target_10_3_0_698/qnx6/usr/include/qt4/QtCore/qstring.h:174:17: note: the mangling of 'va_list' has changed in GCC 4.4 make[2]: * No rule to make target 'libticore.a', needed by '/Users/abdelbolanos/TitaniumBB/titanium_mobile_blackberry/test/apps/native/tibbtest/arm/o.le-v7-g/tibbtest'. Stop. make[2]: Leaving directory '/Users/abdelbolanos/TitaniumBB/titanium_mobile_blackberry/test/apps/native/tibbtest/arm/o.le-v7-g' make[1]: * [all] Error 2 make: *\ [all] Error 2 recurse.mk:98: recipe for target 'all' failed make[1]: Leaving directory '/Users/abdelbolanos/TitaniumBB/titanium_mobile_blackberry/test/apps/native/tibbtest/arm' recurse.mk:98: recipe for target 'all' failed

11:19:02 Build Finished (took 875ms)

abdelbolanosPlastic commented 10 years ago

Ok, is missed in the documentation that you have to build src/ticore before building the examples.