05-07-2012 05:06 PM
When trying to build a sample Cascades app to debug on the PlayBook, I get some errors in the output.
I'm running Windows 7 (64-bit) using the QNX Momentics IDE.
Here is the output:
--------------------------------------------------
**** Build of configuration Device-Debug for project HelloCascades ****
make Device-Debug
C:/SDKs/BB10/host/win32/x86\usr\bin\qmake -spec unsupported\blackberry-armv7le-g++ -o arm\Makefile HelloCascades.pro CONFIG+=device
WARNING: Failure to find: ../src/*.h
WARNING: Failure to find: ../src/*.h
C:/SDKs/BB10/host/win32/x86\usr\bin\qmake -spec unsupported\blackberry-x86-g++ -o x86\Makefile HelloCascades.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 `C:/SDKs/BB10/Apps/translations'
C:/SDKs/BB10/host/win32/x86/usr/bin/lupdate HelloCascades.pro
Updating 'HelloCascades_en_GB.ts'...
Found 0 source text(s) (0 new and 0 already existing)
Updating 'HelloCascades_fr.ts'...
Found 0 source text(s) (0 new and 0 already existing)
Updating 'HelloCascades_it.ts'...
Found 0 source text(s) (0 new and 0 already existing)
Updating 'HelloCascades_de.ts'...
Found 0 source text(s) (0 new and 0 already existing)
Updating 'HelloCascades_es.ts'...
Found 0 source text(s) (0 new and 0 already existing)
Updating 'HelloCascades.ts'...
Found 0 source text(s) (0 new and 0 already existing)
C:/SDKs/BB10/host/win32/x86/usr/bin/lrelease HelloCascades.pro
Could not find qmake configuration directoryThe directory name is invalid.
Updating 'C:/SDKs/BB10/Apps/translations/HelloCascades_en_G
Generated 0 translation(s) (0 finished and 0 unfinished)
Updating 'C:/SDKs/BB10/Apps/translations/HelloCascades_fr.q
Generated 0 translation(s) (0 finished and 0 unfinished)
Updating 'C:/SDKs/BB10/Apps/translations/HelloCascades_it.q
Generated 0 translation(s) (0 finished and 0 unfinished)
Updating 'C:/SDKs/BB10/Apps/translations/HelloCascades_de.q
Generated 0 translation(s) (0 finished and 0 unfinished)
Updating 'C:/SDKs/BB10/Apps/translations/HelloCascades_es.q
Generated 0 translation(s) (0 finished and 0 unfinished)
Updating 'C:/SDKs/BB10/Apps/translations/HelloCascades.qm'.
Generated 0 translation(s) (0 finished and 0 unfinished)
make[1]: Leaving directory `C:/SDKs/BB10/Apps/translations'
make -C ./arm -f Makefile debug
make[1]: Entering directory `C:/SDKs/BB10/Apps/arm'
make -f Makefile.Debug
make[2]: Entering directory `C:/SDKs/BB10/Apps/arm'
Could not find qmake configuration directoryCould not find qmake configuration fileUsing OS scope before setting MAKEFILE_GENERATOR/usr/bin/sh: C:/Users/ROSSL~1/AppData/Local/Temp/make4028-1.sh: No such file or directory
make[2]: *** [o.le-v7-g/HelloCascades] Error 127
make[2]: Leaving directory `C:/SDKs/BB10/Apps/arm'
make[1]: *** [debug] Error 2
make[1]: Leaving directory `C:/SDKs/BB10/Apps/arm'
make: *** [Device-Debug] Error 2
**** Build Finished ****
I've bolded the output where I think the problem might be occuring. Is there a problem with the Makefile, or is there a directory I'm missing, or anything else? I can't seem to find out why there is an error when compling.
Thanks for any help.
Solved! Go to Solution.
05-08-2012 04:13 PM
I have the same Could not find qmake... warnings. But finally, after i was able to setup successfully the simulator target, the sample app run, even with this qmake warnings.
05-09-2012 01:04 AM
I have that problem too.
05-09-2012 01:12 AM - edited 05-09-2012 01:16 AM
Ok, so I set up the Momentics IDE on my windows 7 64-bit desktop instead of my laptop and everything is working flawlessly. It still has the qmake config issues, but at least it compiles and works great. That's all I care about.
A weird issue was that the Momentics IDE on my laptop didn't seem to find the simulator target, only the PlayBook but I didn't think this would be an issue. But the desktop finds the simulator (VMware 4.0.3) no problem, and it works.
So I guess the issue was that the simulator terget needs to be properly setup for it to compile.
I did try to re-install the IDE on the laptop with no success, and create a new sample project too. Guess I'm bound to code on my desktop or through remote desktop for now.
05-10-2012 04:28 AM
Strange thing, sample projects that I've downloaded from https://bdsc.webapps.blackberry.com/cascades/sampl
05-10-2012 09:04 AM
So I took some drastic measures and reinstalled windows 7 on my laptop. Everything is working fine now. Not sure what it was but something was off with my previous windows installation. I still get the qmake configuration warnings, but as what previously stated, those don't matter, but it compiles now without those make errors in the end so I can run the program.
05-11-2012 04:49 AM - edited 05-11-2012 04:49 AM
Answering on my own question.
Fixed by setting next: right click on project -> Build Configuration -> Set Active -> Simulator-Debug
Thank you all for your posts.
06-19-2012 03:41 PM
07-12-2012 10:54 AM
i`ve through the same thing, but it happen when im create project name with space ![]()
07-12-2012 02:11 PM