01-25-2013 09:10 AM - edited 01-25-2013 12:36 PM
Right now, I met a problem that the simulator can not be used for the Cascade project while it is fine for Native SDK project. The IDE always report an error as “Selected binary and target do not match x86”. In target list, the simulator shows connected. I used auto discover to find the simulator. I have to use device to debug the program now.
I am appreciated someone could help me out?
I found in there is nothing in the folder of "x86/o-g/" of my project while the setting of debug need to use the asset in that folder:
<configuration id="com.qnx.qcc.toolChain.1953561384" name="Simulator-Debug">
<platformArchitecture>x86</platformArchitecture>
<asset path="x86/o-g/xxxxxx" entry="true" type="Qnx/Elf">xxxxxx</asset>
</configuration>
I think that it is the reason. But how can I output the class to the x86/o-g?
Solved! Go to Solution.
01-25-2013 12:36 PM
I have found the solution by searching previous questions.
To run your app on the simulator:
- In the Project Explorer view, double-click on the bar-descriptor.xml file, then click the Set from Debug Token button to set author information for the app.
- Set the correct build configuration for the simulator first by right-clicking your project and selecting Build Configurations > Set Active > 4 Simulator-Debug.
- In the Project Explorer view, right-click the project and select Build Project.
- Right-click the project again and select Run As > BlackBerry C/C++ Application.
01-25-2013 12:38 PM
The first step of "Set from debug token" fixed this issue.
01-25-2013 12:39 PM