Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
New Contributor
nod_jp
Posts: 2
Registered: ‎07-20-2012
My Carrier: none

Re: Can't compile using Beta 2

Hi, valkeakolski

 

Can you try open Terminal app, type a following commands,

 

cd /Applications/bbndk

ln -s target_10_0_6_384/ target

 

so,  libQtXml.4.dylib become the path of the correct entity.

and Compile work fine.

 

thanks

 

Please use plain text.
New Developer
valkeakolski
Posts: 10
Registered: ‎09-07-2010
My Carrier: Telkomsel

Re: Can't compile using Beta 2

[ Edited ]

Hi nod_jp,

 

thanks for your answer. so I just type the commands, and the answer is:

ln: target: File exists

 

after that I try to build project again, and the same problem still occurs. 

 

**** Build of configuration Device-Debug for project photobomber ****

 

make Device-Debug 

/Applications/bbndk/host_10_0_6_1/darwin/x86/usr/bin/qmake -spec unsupported/blackberry-armv7le-g++ -o arm/Makefile photobomber.pro CONFIG+=device

WARNING: Failure to find: ../src/*.hpp

WARNING: Failure to find: ../src/*.hpp

/Applications/bbndk/host_10_0_6_1/darwin/x86/usr/bin/qmake -spec unsupported/blackberry-x86-g++ -o x86/Makefile photobomber.pro CONFIG+=simulator

WARNING: Failure to find: ../src/*.hpp

WARNING: Failure to find: ../src/*.hpp

make -C ./translations -f Makefile update release

make[1]: Entering directory `/Users/user/Documents/workspace/ndk/Cascades-Samples/photobomber/translations'

dyld: Library not loaded: libQtXml.4.dylib

/Applications/bbndk/host_10_0_6_1/darwin/x86/usr/bin/lupdate photobomber.pro

  Referenced from: /Applications/bbndk/host_10_0_6_1/darwin/x86/usr/bin/lupdate

  Reason: image not found

make[1]: Leaving directory `/Users/user/Documents/workspace/ndk/Cascades-Samples/photobomber/translations'

make[1]: *** [update] Trace/BPT trap: 5

make: *** [Makefile] Error 2

 

**** Build Finished ****

 

but if I erase some lines on makefile and photobomber.pro that refers to translations folder, error messages dissapear

 

**** Build of configuration Default for project photobomber ****

 

make Device-Debug 

/Applications/bbndk/host_10_0_6_1/darwin/x86/usr/bin/qmake -spec unsupported/blackberry-armv7le-g++ -o arm/Makefile photobomber.pro CONFIG+=device

WARNING: Failure to find: ../src/*.hpp

WARNING: Failure to find: ../src/*.hpp

/Applications/bbndk/host_10_0_6_1/darwin/x86/usr/bin/qmake -spec unsupported/blackberry-x86-g++ -o x86/Makefile photobomber.pro CONFIG+=simulator

WARNING: Failure to find: ../src/*.hpp

WARNING: Failure to find: ../src/*.hpp

make -C ./arm -f Makefile debug

make[1]: Entering directory `/Users/user/Documents/workspace/ndk/Cascades-Samples/photobomber/arm'

make -f Makefile.Debug

make[2]: Entering directory `/Users/user/Documents/workspace/ndk/Cascades-Samples/photobomber/arm'

make[2]: Nothing to be done for `first'.

make[2]: Leaving directory `/Users/user/Documents/workspace/ndk/Cascades-Samples/photobomber/arm'

make[1]: Leaving directory `/Users/user/Documents/workspace/ndk/Cascades-Samples/photobomber/arm'

 

**** Build Finished ****

 

any thoughts?

Please use plain text.
BlackBerry Development Advisor
mgoulet
Posts: 329
Registered: ‎05-07-2012
My Carrier: N/A

Re: Can't compile using Beta 2

Can you make sure you are starting clean? Navigate to your Applications/bbnkd folder, and type the following (to remove the alias):

rm target

 

Then create it again as advised by nod_jp (again in /Applications/bbndk, make sure you copy that exact line, with proper spaces):

ln -s target_10_0_6_384/ target

 

And try again.

A bug request as haready been created to fix this issue:

https://www.blackberry.com/jira/browse/BBTEN-120

 

Cheers,

Martin

Please use plain text.
Contributor
nico411
Posts: 34
Registered: ‎12-20-2010
My Carrier: Orange

Re: Can't compile using Beta 2

This worked for me !
Please use plain text.
BlackBerry Development Advisor
mgoulet
Posts: 329
Registered: ‎05-07-2012
My Carrier: N/A

Re: Can't compile using Beta 2

nice411, glad this worked for you. :smileyhappy:

 

Valkaekolski, are you making any progress?

 

Martin

Please use plain text.