392 | | My solution is to always clean the project before building it, to make sure that the modified libraries/application gets rebuilt properly. |
| 392 | My standard work flow is to always clean the library/application project containing the modified source before building the whole project, to make sure that the modified libraries/application gets rebuilt properly. |
| 393 | |
| 394 | |
| 395 | === I/O Error: File in Use === |
| 396 | |
| 397 | Sometimes .SIS creation fails with I/O error message in the ''Problems'' pane similar to this message: |
| 398 | |
| 399 | {{{ |
| 400 | file I/O fault |
| 401 | makesis.exe returned with exit value == 1 |
| 402 | The process cannot access the file because it is being used by another process. |
| 403 | }}} |
| 404 | |
| 405 | First check that the build process has completed without errors (a build error will cause the executable not to get built, and this will cause .sis creation to fail). |
| 406 | |
| 407 | If the build process completes successfully but the .SIS creation still complains about file in use, restart Carbide C++. That should fix it. |
| 417 | |
| 418 | === TRK Not Running Error === |
| 419 | |
| 420 | Sometimes I get Carbide complaining about TRK not running: |
| 421 | |
| 422 | {{{ |
| 423 | Launching |
| 424 | |
| 425 | Target request failed: TRKProtocolPlugin: Can't connect to TRK |
| 426 | (TRK may not be running on the phone or mismatch between selected and |
| 427 | connected com port.). |
| 428 | }}} |
| 429 | |
| 430 | Like this dialog: |
| 431 | |
| 432 | [[Image(trk_not_running.JPG)]] |
| 433 | |
| 434 | If you see TRK is running on the phone, it means that your phone is hung now. Restart the phone by disconnecting the USB cable, taking of the battery, put it back on, start the phone, connect the USB cable, and re-run TRK again. |