07-20-2012 03:12 AM
When I read that the beta2 is out, I immediately had to download, install and try it yesterday. Unfortunately I can't compile anymore ![]()
I always get the error:
dyld: Library not loaded: libQtXml.4.dylib
/Applications/bbndk-10.0.6-beta/host_10_0_6_1/darw
Referenced from: /Applications/bbndk-10.0.6-beta/host_10_0_6_1/darw
Reason: image not found
make[1]: Leaving directory `.../source/bb10/translations'
make[1]: *** [update] Trace/BPT trap: 5
make: *** [Makefile] Error 2
I found a file called libQtXml.4.dylib so I don't understand why it can't find it...
Solved! Go to Solution.
07-20-2012 10:38 AM
Are you on MAC?
Can you post your full link line?
Can you also check the file size of the library.
Stuart
07-20-2012 10:49 AM - edited 07-20-2012 10:51 AM
Sorry, forgot to include my OS. Yes, I am on MacOS X Lion and that's how the build console output looks like:
**** Build of configuration Default for project OpenCachingBB10 **** make Device-Debug /Applications/bbndk-10.0.6-beta/host_10_0_6_1/darwin/x86/usr/bin/qmake -spec unsupported/blackberry-armv7le-g++ -o arm/Makefile OpenCachingBB10.pro CONFIG+=device WARNING: Failure to find: ../src/*.h WARNING: Failure to find: ../src/*.h /Applications/bbndk-10.0.6-beta/host_10_0_6_1/darw in/x86/usr/bin/qmake -spec unsupported/blackberry-x86-g++ -o x86/Makefile OpenCachingBB10.pro CONFIG+=simulator WARNING: Failure to find: ../src/*.h WARNING: Failure to find: ../src/*.h make -C ./translations -f Makefile update release make[1]: Entering directory `/Users/dustin/Development/00Projects/OpenCaching/ source/bb10/translations' /Applications/bbndk-10.0.6-beta/host_10_0_6_1/darw in/x86/usr/bin/lupdate OpenCachingBB10.pro dyld: Library not loaded: libQtXml.4.dylib Referenced from: /Applications/bbndk-10.0.6-beta/host_10_0_6_1/darw in/x86/usr/bin/lupdate Reason: image not found make[1]: Leaving directory `/Users/dustin/Development/00Projects/OpenCaching/ source/bb10/translations' make[1]: *** [update] Trace/BPT trap: 5 make: *** [Makefile] Error 2 **** Build Finished ****
07-20-2012 11:33 AM
Hi there,
What is it you are trying to compile? Have you tried a new standalone HelloWorld project using Beta2?
Martin
07-20-2012 11:34 AM
07-20-2012 01:34 PM - edited 07-20-2012 01:40 PM
Hi alopix, we were able to reproduce the issue on one machine and are currently investigating;
In your bbndk folder, which version is your target directory showing?
(e.g. target_10_0_6_384) - This folder is found in your Applications/bbndk folder
07-20-2012 01:45 PM
07-20-2012 10:45 PM
07-21-2012 01:49 AM
07-21-2012 11:46 PM
Hi,
I have the same problem, but unfortunately I still don't understand the solution. I also use Mac OS X Lion and got the exactly same problem when building the project.
You guys said that the libQtXml.4.dylib path is wrong, can someone tell me how I can fix the problem?
where should I change the path of
host_10_0_6_1/darwin/x86/usr/lib/libQtXml.4.dylib -> ../../../../../target_10_0_6_384/darwin/x86/usr/lib/qt4/lib/libQtXml.4.8.0.dylib?
I'm still new at native development so I'm still a bit confused ![]()
thanks