Beijer Electronics (formerly QSI Corporation)

Manufacturer of Mobile Data and Human Machine Interface Terminals.
It is currently Mon Nov 20, 2017 12:51 am

All times are UTC - 7 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Using Qlarify
PostPosted: Mon Feb 14, 2011 1:03 pm 
Offline
User avatar

Joined: Mon Apr 09, 2007 10:50 am
Posts: 48
Location: Dayton, Ohio
I'm trying to automate the build process by using qlarify. However, I can't get it to compile our QLY file to a BFF. There are a bunch of errors generated when I run the qlarify.exe that don't appear when I compile through Foundry (i.e. the same file runs fine in Foundry). Below are the results of running qlarify on our existing source:

Code:
C:\TFSSource\DVAMS 3.0\Release Builds\3.3\Build Output>"C:\Program Files\QSI Corporation\Qlarity Foundry 2.63\qlarify.exe" -o "..\DvamsPagingStationService\PSCode\paging.bff" "..\DvamsPagingStationSer
vice\PSCode\paging.qly"

Compiler version 2.63 for Windows - 1.028 BFF
Processing paging.qly . . .

Errors in "--basic: colorstylemapsupport":
------------------------------------------
  - Alert - in line 204: Dangerous conversion <25> --- Converting "unibyte" to "byte" may result in loss of data

Errors in "--basic: datagridv2":
--------------------------------
  * Error * in line 304: Undefined reference <03> --- Type "aggregate%" not found
  * Error * in line 304: Improper initialization <31> --- No default value specified for type "aggregate%"
  * Error * in line 304: Improper initialization <31> --- No default value specified for type "aggregate%"
  * Error * in line 304: Improper initialization <31> --- No default value specified for type "aggregate%"
  * Error * in line 305: Incompatible types <30> --- Unable to assign an array to a scalar value

Errors in "--basic: dropdownlistv2":
------------------------------------
  * Error * in line 242: Undefined reference <03> --- Type "aggregate%" not found
  * Error * in line 242: Improper initialization <31> --- No default value specified for type "aggregate%"
  * Error * in line 242: Improper initialization <31> --- No default value specified for type "aggregate%"
  * Error * in line 242: Improper initialization <31> --- No default value specified for type "aggregate%"
  * Error * in line 242: Improper initialization <31> --- No default value specified for type "aggregate%"
  * Error * in line 242: Improper initialization <31> --- No default value specified for type "aggregate%"
  * Error * in line 242: Improper initialization <31> --- No default value specified for type "aggregate%"
  * Error * in line 242: Improper initialization <31> --- No default value specified for type "aggregate%"
  * Error * in line 242: Improper initialization <31> --- No default value specified for type "aggregate%"
  * Error * in line 243: Incompatible types <30> --- Unable to assign an array to a scalar value
  - Alert - in line 737: Dangerous conversion <25> --- Converting ""_borderdrawflags"" to "byte" may result in loss of data
  - Alert - in line 740: Dangerous conversion <25> --- Converting ""_borderdrawflags"" to "byte" may result in loss of data

Errors in "--basic: listboxv2":
-------------------------------
  * Error * in line 222: Undefined reference <03> --- Type "aggregate%" not found
  * Error * in line 222: Improper initialization <31> --- No default value specified for type "aggregate%"
  * Error * in line 222: Improper initialization <31> --- No default value specified for type "aggregate%"
  * Error * in line 222: Improper initialization <31> --- No default value specified for type "aggregate%"
  * Error * in line 223: Incompatible types <30> --- Unable to assign an array to a scalar value

Errors in "--basic: screensaverv2":
-----------------------------------
  - Alert - in line 1600: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data
  - Alert - in line 1601: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data
  - Alert - in line 1624: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data
  - Alert - in line 1624: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data

Errors in "--basic: scrollbarsupport":
--------------------------------------
  - Alert - in line 141: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data
  - Alert - in line 142: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data
  - Alert - in line 150: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data
  - Alert - in line 151: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data
  - Alert - in line 220: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data
  - Alert - in line 327: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data
  - Alert - in line 328: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data
  - Alert - in line 363: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data
  - Alert - in line 364: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data

Errors in "--basic: spinnerv2":
-------------------------------
  - Alert - in line 430: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data
  - Alert - in line 538: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data
  - Alert - in line 710: Dangerous conversion <25> --- Converting ""_borderdrawflags"" to "byte" may result in loss of data
  - Alert - in line 713: Dangerous conversion <25> --- Converting ""_borderdrawflags"" to "byte" may result in loss of data
  - Alert - in line 718: Dangerous conversion <25> --- Converting ""_borderdrawflags"" to "byte" may result in loss of data
  - Alert - in line 721: Dangerous conversion <25> --- Converting ""_borderdrawflags"" to "byte" may result in loss of data

Errors in "--core: coreeditbox":
--------------------------------
  - Alert - in line 1595: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data
  - Alert - in line 1598: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data
  - Alert - in line 1598: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data

Errors in "--core: coreqwertykeypad":
-------------------------------------
  - Alert - in line 156: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data
  - Alert - in line 157: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data
  - Alert - in line 193: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data
  - Alert - in line 198: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data
  - Alert - in line 908: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data

Errors in "--dataproc: ftpserverv2":
------------------------------------
  * Error * in line 169: Undefined reference <03> --- Type "aggregate%" not found
  * Error * in line 169: Improper initialization <31> --- No default value specified for type "aggregate%"
  * Error * in line 170: Incompatible types <30> --- Unable to assign an array to a scalar value

Errors in "--standard: aggregatesupport":
-----------------------------------------
  * Error * in line 14: Undefined reference <03> --- Type reference to "aggregate%" not found
  * Error * in line 23: Incompatible types <30> --- Unable to promote reference to "aggregate%" to string
  * Error * in line 30: Illegal array usage <17> --- Symbol "aggregatevar" is not an array
  * Error * in line 44: Incompatible types <30> --- Unable to promote scalar reference to "aggregate%" to any type of array
  * Error * in line 44: Function call error <15> --- Function call doesn't return a value

Errors in "--standard: ipsupport":
----------------------------------
  - Alert - in line 57: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data

Errors in "--virtualqlarity: vqwebserver":
------------------------------------------
  - Alert - in line 457: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data
  - Alert - in line 458: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data
  - Alert - in line 465: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data
  - Alert - in line 466: Dangerous conversion <25> --- Converting "float" to "integer" may result in loss of data

Errors in "c:\program files\qsi corporation\qlarity foundry 2.63\helvr08.bdf":
------------------------------------------------------------------------------
  - Alert - in line 0: Font definition error <19> --- This font contains characters without encodings - these characters were ignored

Errors in "c:\program files\qsi corporation\qlarity foundry 2.63\helvr14.bdf":
------------------------------------------------------------------------------
  - Alert - in line 0: Font definition error <19> --- This font contains characters without encodings - these characters were ignored

Errors in "c:\tfssource\dvams 3.0\release builds\3.3\dvamspagingstationservice\pscode\paging.qly":
--------------------------------------------------------------------------------------------------
  - Alert - in line 3355: Missing statements <23> --- Function body has no statements
  - Alert - in line 3429: Missing statements <23> --- Function body has no statements
  * Error * in line 3627: Incompatible types <30> --- Unable to assign an array to a scalar value
  * Error * in line 3643: Incompatible types <30> --- Unable to assign an array to a scalar value
  * Error * in line 3659: Incompatible types <30> --- Unable to assign an array to a scalar value
  * Error * in line 3674: Incompatible types <30> --- Unable to assign an array to a scalar value
  * Error * in line 3689: Incompatible types <30> --- Unable to assign an array to a scalar value
  * Error * in line 3704: Incompatible types <30> --- Unable to assign an array to a scalar value
  * Error * in line 3719: Incompatible types <30> --- Unable to assign an array to a scalar value
  * Error * in line 3765: Incompatible types <30> --- Unable to assign an array to a scalar value
  - Alert - in line 3852: Missing statements <23> --- Function body has no statements
  * Error * in line 3864: Incompatible types <30> --- Unable to assign an array to a scalar value
  * Error * in line 3876: Incompatible types <30> --- Unable to assign an array to a scalar value
  * Error * in line 3898: Incompatible types <30> --- Unable to assign an array to a scalar value
  * Error * in line 3960: Incompatible types <30> --- Unable to assign an array to a scalar value
  * Error * in line 4998: Incompatible types <30> --- Unable to assign an array to a scalar value
  - Alert - in line 5119: Missing statements <23> --- Function body has no statements
  - Alert - in line 5171: Missing statements <23> --- Function body has no statements
  - Alert - in line 5262: Missing statements <23> --- Function body has no statements
  - Alert - in line 5576: Parse error <01> --- Elseif clause has no statements

------------------------Compile complete - errors exist------------------------


Is there something I'm doing wrong or otherwise need to do to get this to behave?


Top
 Profile  
 
 Post subject: Re: Using Qlarify
PostPosted: Mon Feb 14, 2011 1:13 pm 
Offline
QSI Support
QSI Support
User avatar

Joined: Wed Mar 08, 2006 12:25 pm
Posts: 881
Location: Salt Lake City, Utah
A typical call to the compiler to compile an application developed in Qlarity Foundry might look like this:

qlarify -t keypaddef! charstr -t aggregate! string -s 19 -s 25 -a -o <output_file_name> <file_name>

You can find full documentation of the command line compiler in appendix C of the Qlarity Programmer's Reference.

_________________
Jeremy
http://www.beijerinc.com


Top
 Profile  
 
 Post subject: Re: Using Qlarify
PostPosted: Mon Feb 14, 2011 1:23 pm 
Offline
User avatar

Joined: Mon Apr 09, 2007 10:50 am
Posts: 48
Location: Dayton, Ohio
App C is where I started, but there's little detail about any of the arguments you specify above in it, it only details -o, -e, -h. The -h switch provided more help, but not enough for me to get to the command you describe above (although it did allow me to somewhat decipher what your command was doing). Is there another appendix C somewhere that has a full reference?

And thanks for the example as it properly compiles the bff just fine! :)


Top
 Profile  
 
 Post subject: Re: Using Qlarify
PostPosted: Mon Feb 14, 2011 1:54 pm 
Offline
QSI Support
QSI Support
User avatar

Joined: Wed Mar 08, 2006 12:25 pm
Posts: 881
Location: Salt Lake City, Utah
I pulled my example directly from appendix C (version 2.61). While it doesn't go into detail about every parameter, it does detail most of them (specifically -o, -e, -c, -h, -v, -a, -u, -t, -s, -p and the more situational -uh*, -nc and -r* options). I am not certain if all of those have always been documented, so you may want to grab the latest manual.

Of the options listed, the only ones that I could see Qlarity customers frequently changing would be -u and -a to match their Qlarity Foundry settings on their compiler tab.

_________________
Jeremy
http://www.beijerinc.com


Top
 Profile  
 
 Post subject: Re: Using Qlarify
PostPosted: Mon Feb 14, 2011 2:05 pm 
Offline
User avatar

Joined: Mon Apr 09, 2007 10:50 am
Posts: 48
Location: Dayton, Ohio
Thanks Jeremy.

I have been using the Programmers Reference that is linked out of Foundry itself:

QSI Corporation\Qlarity Foundry 2.63\AppHelp\proghelp\wwhelp\wwhimpl\js\html\wwhelp.htm

When I started perusing the install folder I found a PDF version of the Programmer's Reference that contains additional information in appendix C. They do appear very similar although I didn't spend a lot of time comparing. But the wwhelp is definitely missing a bunch of detail on the Qlarify exe that the PDF has.

Thanks again for your time & help.

Doug


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 7 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group