Page 1 of 1

Can not compile

Posted: Mon Apr 30, 2012 12:25 pm
by myval
..........................................................................................................................................................................
Return code = -1073741819
Flowcode was unable to assemble the ASM file due to the following errors:
FINISHED

I just recompile the project and that is what I got, I did not even change anything and following errors: does not help!

Re: Can not compile

Posted: Mon Apr 30, 2012 12:44 pm
by myval
Just checked even with new empty project the same story!

Re: Can not compile

Posted: Mon Apr 30, 2012 2:44 pm
by DavidA
Hello,

have you tried reinstalling Flowcode? You should not need to enter any licence information in (this is stored in windows registry even after uninstall), so you can just defer the entering of any cd keys.

The latest patch of Flowcode for your version can be downloaded by entering the last 12 characters of your licence key into the Flowcode Downloads section on the Flowcode main page: http://www.matrixmultimedia.com/flowcode.php

Also if you are using your .hex file in a schematic design in Proteus, this may cause an issue, this can be solved by closing Proteus.

Re: Can not compile

Posted: Tue May 01, 2012 12:35 pm
by myval
I reinstalled it and it got bit more interesting:
Flowcode1.c
Starting preprocessor: c:\PROGRA~1\MATRIX~1\FLOWCO~2\boostc\pp.exe Flowcode1.c -i c:\PROGRA~1\MATRIX~1\FLOWCO~2\boostc\include -d _PIC16F1823 -la -c2 -o Flowcode1.pp -v -d _BOOSTC -d _PIC16 -d _PIC16x -d _CHAR_INDEX

Flowcode1.c(53:2): error: unknown identifier 'ansela'
Flowcode1.c(53:2): error: invalid operand 'ansela'
Flowcode1.c(53:9): error: failed to generate expression
Flowcode1.c(54:1): error: unknown identifier 'anselc'
Flowcode1.c(54:1): error: invalid operand 'anselc'
Flowcode1.c(54:8): error: failed to generate expression
Flowcode1.c(58:2): error: unknown identifier 'option_reg'
Flowcode1.c(58:2): error: invalid operand 'option_reg'
Flowcode1.c(58:13): error: failed to generate expression
Flowcode1.c success

failure

..
Return code = 1

Flowcode was unable to compile the flowchart's C code due to the following errors:


If your flowchart contains C code, please review this carefully. If your flowchart contains no C-code or you have thoroughly reviewed the code, contact Technical Support.

FINISHED

I don't use proteus at all.

I would be so happy if you had linux version, this software is the only reason why I keep windows. :-(

Re: Can not compile

Posted: Tue May 01, 2012 12:36 pm
by myval
I forgot to mention I compiled empty flow chart with the errors above.

Re: Can not compile

Posted: Tue May 01, 2012 1:15 pm
by dazz
Hi try a forum search on ansela there are a few posts dont know how old your V4 is but a post by medelec here http://www.matrixmultimedia.com/mmforum ... %27#p22802 points towards using a different compiler as early boostc dint support the chip you are using, does compiling to say a pic 628a give the same result, hth

Re: Can not compile

Posted: Tue May 01, 2012 1:38 pm
by myval
Flowcode1.c
Starting preprocessor: c:\PROGRA~1\MATRIX~1\FLOWCO~2\boostc\pp.exe Flowcode1.c -i c:\PROGRA~1\MATRIX~1\FLOWCO~2\boostc\include -d _PIC16F84 -la -c2 -o Flowcode1.pp -v -d _BOOSTC -d _PIC16 -d _CHAR_INDEX

Flowcode1.c success

success

.......
Return code = 0

Launching the linker/assembler...
c:\program files\matrix multimedia\flowcode v4\boostc\boostlink_pic.exe -ld "C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\lib" libc.pic16.lib flowcode.pic16.lib rand.pic16.lib float.pic16.lib "Flowcode1.obj" -t PIC16F84 -d "C:\Documents and Settings\Administrator\My Documents\Flowcode\test" -p "Flowcode1"

Return code = -1073741819

Flowcode was unable to assemble the ASM file due to the following errors:


FINISHED

Re: Can not compile

Posted: Tue May 01, 2012 2:30 pm
by DavidA
Hello are you using Flowcode v4.5? You can check this in the Help >> About section of Flowcode.

Re: Can not compile

Posted: Tue May 01, 2012 2:51 pm
by myval
Should be the latest, I think.
Flowcode
Professional Version
Flowcode v4.5.18.74

Re: Can not compile

Posted: Tue May 01, 2012 2:54 pm
by DavidA
Have you tried Flowcode in your Windows safe mode?

Re: Can not compile

Posted: Wed May 02, 2012 7:49 am
by myval
Yep, seems to be working fine in safe mode but but when I boot normal no go.

Re: Can not compile

Posted: Wed May 02, 2012 8:23 am
by Steve
There are a few posts in this forum with this error code:
http://www.matrixmultimedia.com/mmforum ... 1073741819

There's also a post on the FAQ site:
http://www.matrixmultimedia.com/support ... 1819#p1147

Re: Can not compile

Posted: Wed May 02, 2012 10:35 am
by myval
It did not help entirely but put me on right tracks, thanks.
all the updates and MS fixes I already had so I could not do much there, instead I limited number of processors/ cores my windows run on and that seems to fix it which actually make sense now it happened after I updated Virtualbox.
I wish flowcode was Linux application ;-)

Re: Can not compile

Posted: Wed May 02, 2012 11:30 am
by myval
Spoke too soon When I add While loop (unmodified empty while loop) it comes up with:

Internal Error: Unable to resolve label ID:268444239 - 0x1000224F


failure

Return code = -2

Flowcode was unable to assemble the ASM file due to the following errors:


FINISHED