Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

I couldn't run a trig application in Appcreator.
trig name is sample1
It gives compilation error as follows :
| MIF file was not created: (tail call):-1: error: Could not open Files\Qualcomm\Brew
Launcher MIF generation failed
Zip file creation failed
Compilation failed for: sample1

Please help me.

Hi Ramu,
Can you please post the versions of the software you are using? It looks like the cifc.exe compiler is failing to generate a MIF file from a source CIF file. Are you using the SAS? What is the version of BREW MP you are using? Also, can you please provide a few more lines from your compile log for contextual reference?
Thanks,
Anand

Hi Ramu,
Can you please post the versions of the software you are using? It looks like the cifc.exe compiler is failing to generate a MIF file from a source CIF file. Are you using the SAS? What is the version of BREW MP you are using? Also, can you please provide a few more lines from your compile log for contextual reference?
Thanks,
Anand

Hello Anandus Thakerius ,
I am using BREW MP 1.0 SDK Rev 4.3
Appcreator version 6.4.0.683002
Brew Version 5.0.1.2
Here is my compile log :
2009-06-29 15:55:29 | Scanning for device packs...
2009-06-29 15:55:29 | Found 4 device packs.
2009-06-29 16:28:46 | Saved Parcel: C:\trig_primer_ex1.par
2009-06-29 16:32:41 | Saved Parcel: C:\trig_primer_ex1.par
2009-06-29 16:39:07 | Saved Parcel: C:\trig_primer_ex1.par
2009-06-29 16:39:26 | Saved Parcel: C:\trig_primer_ex1.par
2009-06-29 16:40:10 | Serializing Trig: sample1
2009-06-29 16:40:10 | XML parse (40): Expected an attribute name: {sample1:startup/default, line 3, column 15}
2009-06-29 16:40:10 | TrigML fragment 'sample1:startup/default' validation failed.
2009-06-29 16:40:10 | Compilation failed for: sample1
Please check and reply.
Ramu

Hello Anandus Thakerius ,
I am using BREW MP 1.0 SDK Rev 4.3
Appcreator version 6.4.0.683002
Brew Version 5.0.1.2
Here is my compile log :
2009-06-29 15:55:29 | Scanning for device packs...
2009-06-29 15:55:29 | Found 4 device packs.
2009-06-29 16:28:46 | Saved Parcel: C:\trig_primer_ex1.par
2009-06-29 16:32:41 | Saved Parcel: C:\trig_primer_ex1.par
2009-06-29 16:39:07 | Saved Parcel: C:\trig_primer_ex1.par
2009-06-29 16:39:26 | Saved Parcel: C:\trig_primer_ex1.par
2009-06-29 16:40:10 | Serializing Trig: sample1
2009-06-29 16:40:10 | XML parse (40): Expected an attribute name: {sample1:startup/default, line 3, column 15}
2009-06-29 16:40:10 | TrigML fragment 'sample1:startup/default' validation failed.
2009-06-29 16:40:10 | Compilation failed for: sample1
Please check and reply.
Ramu

Hi Ramu,
Every Trig requires a 'startup/default' fragment which is the starting point into the application. This is a main() function for a Trig of sorts. From your compilation log, it looks like you have not provided it.
Thanks,
Anand

Hi Ramu,
Every Trig requires a 'startup/default' fragment which is the starting point into the application. This is a main() function for a Trig of sorts. From your compilation log, it looks like you have not provided it.
Thanks,
Anand

Hello Anandus Thakerius ,
Thank you for your valuable help and suggestion.
I created default/main fragment and used code as
as
<?xml version="1.0" encoding="UTF-8"?>
It got compiled and I'm able to run the Trig.
Once again thank you
You are great Mr. Anandus Thakerius

Hello Anandus Thakerius ,
Thank you for your valuable help and suggestion.
I created default/main fragment and used code as
as
<?xml version="1.0" encoding="UTF-8"?>
It got compiled and I'm able to run the Trig.
Once again thank you
You are great Mr. Anandus Thakerius